Merge branch 'feat-sites' into chore-ssr-log-tests

This commit is contained in:
Matej Bačo 2025-03-03 15:52:22 +01:00
commit 60f34ced91
5 changed files with 5 additions and 1 deletions

View file

@ -962,7 +962,7 @@ services:
hostname: exc1 hostname: exc1
<<: *x-logging <<: *x-logging
stop_signal: SIGINT stop_signal: SIGINT
image: openruntimes/executor:0.7.5 image: openruntimes/executor:0.7.6
restart: unless-stopped restart: unless-stopped
networks: networks:
- appwrite - appwrite

View file

@ -30,6 +30,7 @@ class Get extends Base
->setHttpPath('/v1/functions/templates/:templateId') ->setHttpPath('/v1/functions/templates/:templateId')
->desc('Get function template') ->desc('Get function template')
->label('scope', 'public') ->label('scope', 'public')
->groups(['api', 'functions'])
->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('resourceType', RESOURCE_TYPE_FUNCTIONS)
->label('sdk', new Method( ->label('sdk', new Method(
namespace: 'functions', namespace: 'functions',

View file

@ -31,6 +31,7 @@ class XList extends Base
->setHttpPath('/v1/functions/templates') ->setHttpPath('/v1/functions/templates')
->desc('List function templates') ->desc('List function templates')
->label('scope', 'public') ->label('scope', 'public')
->groups(['api', 'functions'])
->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('resourceType', RESOURCE_TYPE_FUNCTIONS)
->label('sdk', new Method( ->label('sdk', new Method(
namespace: 'functions', namespace: 'functions',

View file

@ -30,6 +30,7 @@ class Get extends Base
->setHttpPath('/v1/sites/templates/:templateId') ->setHttpPath('/v1/sites/templates/:templateId')
->desc('Get site template') ->desc('Get site template')
->label('scope', 'public') ->label('scope', 'public')
->groups(['api', 'sites'])
->label('sdk', new Method( ->label('sdk', new Method(
namespace: 'sites', namespace: 'sites',
name: 'getTemplate', name: 'getTemplate',

View file

@ -31,6 +31,7 @@ class XList extends Base
->setHttpPath('/v1/sites/templates') ->setHttpPath('/v1/sites/templates')
->desc('List templates') ->desc('List templates')
->label('scope', 'public') ->label('scope', 'public')
->groups(['api', 'sites'])
->label('sdk', new Method( ->label('sdk', new Method(
namespace: 'sites', namespace: 'sites',
name: 'listTemplates', name: 'listTemplates',