diff --git a/docker-compose.yml b/docker-compose.yml index 394505aeb4..8349c14ccb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -962,7 +962,7 @@ services: hostname: exc1 <<: *x-logging stop_signal: SIGINT - image: openruntimes/executor:0.7.5 + image: openruntimes/executor:0.7.6 restart: unless-stopped networks: - appwrite diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Templates/Get.php b/src/Appwrite/Platform/Modules/Functions/Http/Templates/Get.php index e624b26de6..6819f6693c 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Templates/Get.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Templates/Get.php @@ -30,6 +30,7 @@ class Get extends Base ->setHttpPath('/v1/functions/templates/:templateId') ->desc('Get function template') ->label('scope', 'public') + ->groups(['api', 'functions']) ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Templates/XList.php b/src/Appwrite/Platform/Modules/Functions/Http/Templates/XList.php index 310ed89fdf..3250874ac5 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Templates/XList.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Templates/XList.php @@ -31,6 +31,7 @@ class XList extends Base ->setHttpPath('/v1/functions/templates') ->desc('List function templates') ->label('scope', 'public') + ->groups(['api', 'functions']) ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Templates/Get.php b/src/Appwrite/Platform/Modules/Sites/Http/Templates/Get.php index 9d2991bce9..b994dd2172 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Templates/Get.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Templates/Get.php @@ -30,6 +30,7 @@ class Get extends Base ->setHttpPath('/v1/sites/templates/:templateId') ->desc('Get site template') ->label('scope', 'public') + ->groups(['api', 'sites']) ->label('sdk', new Method( namespace: 'sites', name: 'getTemplate', diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Templates/XList.php b/src/Appwrite/Platform/Modules/Sites/Http/Templates/XList.php index 3c27b75578..00ece7f68b 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Templates/XList.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Templates/XList.php @@ -31,6 +31,7 @@ class XList extends Base ->setHttpPath('/v1/sites/templates') ->desc('List templates') ->label('scope', 'public') + ->groups(['api', 'sites']) ->label('sdk', new Method( namespace: 'sites', name: 'listTemplates',