mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Merge branch 'feat-sites' into chore-ssr-log-tests
This commit is contained in:
commit
60f34ced91
5 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue