From 86aaf8e735233a27d9885ca93251d3df7b62b2b3 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 5 Jul 2026 02:12:29 +0000 Subject: [PATCH 1/2] fix(sdk): register notifications service in SDK config The Notifications module (list/update/getLogo) is registered in Appwrite.php with routes under the 'notifications' SDK namespace, but app/config/services.php had no matching entry. Specs generation builds the spec's top-level services/tags list solely from config/services.php, so the notifications service tag was never emitted and SDK generators produced no notifications service class. Add the notifications service entry so it is included in the generated client, server, and console SDKs. --- app/config/services.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/config/services.php b/app/config/services.php index 73acd50861..3cb18021b0 100644 --- a/app/config/services.php +++ b/app/config/services.php @@ -323,6 +323,20 @@ return [ 'icon' => '/images/services/messaging.png', 'platforms' => ['client', 'server', 'console'], ], + 'notifications' => [ + 'key' => 'notifications', + 'name' => 'Notifications', + 'subtitle' => 'The Notifications service allows you to read and manage your Appwrite Console notifications.', + 'description' => '', + 'controller' => '', // Uses modules + 'sdk' => true, + 'docs' => true, + 'docsUrl' => '', + 'tests' => true, + 'optional' => false, + 'icon' => '', + 'platforms' => ['client', 'server', 'console'], + ], 'advisor' => [ 'key' => 'advisor', 'name' => 'Advisor', From 1a0075e509d064b186c70520921b795278d0629a Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 5 Jul 2026 02:15:42 +0000 Subject: [PATCH 2/2] docs(notifications): add service description --- app/config/services.php | 2 +- docs/services/notifications.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 docs/services/notifications.md diff --git a/app/config/services.php b/app/config/services.php index 3cb18021b0..16a0bd6901 100644 --- a/app/config/services.php +++ b/app/config/services.php @@ -327,7 +327,7 @@ return [ 'key' => 'notifications', 'name' => 'Notifications', 'subtitle' => 'The Notifications service allows you to read and manage your Appwrite Console notifications.', - 'description' => '', + 'description' => '/docs/services/notifications.md', 'controller' => '', // Uses modules 'sdk' => true, 'docs' => true, diff --git a/docs/services/notifications.md b/docs/services/notifications.md new file mode 100644 index 0000000000..2f637333b4 --- /dev/null +++ b/docs/services/notifications.md @@ -0,0 +1,3 @@ +The Notifications service allows you to read and manage the notifications shown in your Appwrite Console. Use it to list the notifications delivered to the currently logged-in user, mark a notification as read, and retrieve the Appwrite logo used when rendering notifications. + +Notifications keep you informed about important events and updates related to your account and projects. This service operates in the scope of the current Console user and is intended for Console integrations.