You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/functions.md
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@ POST https://cloud.appwrite.io/v1/functions
48
48
| templateOwner | string | The name of the owner of the template. ||
49
49
| templateRootDirectory | string | Path to function code in the template repo. ||
50
50
| templateVersion | string | Version (tag) for the repo linked to the function template. ||
51
+
| specification | string | Runtime specification for the function and builds. | s-0.5vcpu-512mb |
51
52
52
53
## List runtimes
53
54
@@ -57,6 +58,15 @@ GET https://cloud.appwrite.io/v1/functions/runtimes
57
58
58
59
** Get a list of all runtimes that are currently active on your instance. **
59
60
61
+
## List available function runtime specifications
62
+
63
+
```http request
64
+
GET https://cloud.appwrite.io/v1/functions/specifications
65
+
```
66
+
67
+
** List allowed function specifications for this instance.
68
+
**
69
+
60
70
## List function templates
61
71
62
72
```http request
@@ -131,6 +141,7 @@ PUT https://cloud.appwrite.io/v1/functions/{functionId}
131
141
| providerBranch | string | Production branch for the repo linked to the function ||
132
142
| providerSilentMode | boolean | Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests. ||
133
143
| providerRootDirectory | string | Path to function code in the linked repo. ||
144
+
| specification | string | Runtime specification for the function and builds. | s-0.5vcpu-512mb |
0 commit comments