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/account.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -469,7 +469,7 @@ A user is limited to 10 active sessions at a time by default. [Learn more about
469
469
POST https://cloud.appwrite.io/v1/account/tokens/magic-url
470
470
```
471
471
472
-
** Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST /v1/account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default.
472
+
** Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST /v1/account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.
473
473
474
474
A user is limited to 10 active sessions at a time by default. [Learn more about session limits](https://appwrite.io/docs/authentication-security#limits).
Copy file name to clipboardExpand all lines: docs/functions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +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
+
| specification | string | Runtime specification for the function and builds. | s-1vcpu-512mb |
52
52
53
53
## List runtimes
54
54
@@ -110,7 +110,7 @@ PUT https://cloud.appwrite.io/v1/functions/{functionId}
110
110
| providerBranch | string | Production branch for the repo linked to the function ||
111
111
| 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. ||
112
112
| providerRootDirectory | string | Path to function code in the linked repo. ||
113
-
| specification | string | Runtime specification for the function and builds. | s-0.5vcpu-512mb |
113
+
| specification | string | Runtime specification for the function and builds. | s-1vcpu-512mb |
114
114
115
115
## Delete function
116
116
@@ -280,7 +280,7 @@ POST https://cloud.appwrite.io/v1/functions/{functionId}/executions
280
280
| Field Name | Type | Description | Default |
281
281
| --- | --- | --- | --- |
282
282
| functionId | string |**Required** Function ID. ||
283
-
| body |payload| HTTP body of execution. Default value is empty string. ||
283
+
| body |string| HTTP body of execution. Default value is empty string. ||
284
284
| async | boolean | Execute code in the background. Default value is false. ||
285
285
| path | string | HTTP path of execution. Path can include query params. Default value is / | / |
286
286
| method | string | HTTP method of execution. Default value is GET. | POST |
Copy file name to clipboardExpand all lines: docs/messaging.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,16 +84,19 @@ POST https://cloud.appwrite.io/v1/messaging/messages/push
84
84
| topics | array | List of Topic IDs. |[]|
85
85
| users | array | List of User IDs. |[]|
86
86
| targets | array | List of Targets IDs. |[]|
87
-
| data | object | Additional Data for push notification. | {} |
87
+
| data | object | Additional key-value pair data for push notification. | {} |
88
88
| action | string | Action for push notification. ||
89
89
| image | string | Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>. ||
90
90
| icon | string | Icon for push notification. Available only for Android and Web Platform. ||
91
-
| sound | string | Sound for push notification. Available only for Android and IOS Platform. ||
91
+
| sound | string | Sound for push notification. Available only for Android and iOS Platform. ||
92
92
| color | string | Color for push notification. Available only for Android Platform. ||
93
93
| tag | string | Tag for push notification. Available only for Android Platform. ||
94
-
| badge |string| Badge for push notification. Available only for IOS Platform. ||
94
+
| badge |integer| Badge for push notification. Available only for iOS Platform. |-1|
95
95
| draft | boolean | Is message a draft ||
96
96
| scheduledAt | string | Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future. ||
97
+
| contentAvailable | boolean | If set to true, the notification will be delivered in the background. Available only for iOS Platform. ||
98
+
| critical | boolean | If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform. ||
99
+
| priority | string | Set the notification priority. "normal" will consider device state and may not deliver notifications immediately. "high" will always attempt to immediately deliver the notification. | high |
| badge | integer | Badge for push notification. Available only for iOS platforms. ||
125
128
| draft | boolean | Is message a draft ||
126
129
| scheduledAt | string | Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future. ||
130
+
| contentAvailable | boolean | If set to true, the notification will be delivered in the background. Available only for iOS Platform. ||
131
+
| critical | boolean | If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform. ||
132
+
| priority | string | Set the notification priority. "normal" will consider device battery state and may send notifications later. "high" will always attempt to immediately deliver the notification. ||
0 commit comments