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
POST https://cloud.appwrite.io/v1/account/mfa/authenticators/{type}
113
113
```
114
114
115
-
** Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](/docs/references/cloud/client-web/account#verifyAuthenticator) method. **
115
+
** Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](/docs/references/cloud/client-web/account#updateMfaAuthenticator) method. **
116
116
117
117
### Parameters
118
118
@@ -126,7 +126,7 @@ POST https://cloud.appwrite.io/v1/account/mfa/authenticators/{type}
126
126
PUT https://cloud.appwrite.io/v1/account/mfa/authenticators/{type}
127
127
```
128
128
129
-
** Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#addAuthenticator) method. **
129
+
** Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator) method. add **
Copy file name to clipboardExpand all lines: docs/messaging.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ POST https://cloud.appwrite.io/v1/messaging/messages/email
35
35
| targets | array | List of Targets IDs. |[]|
36
36
| cc | array | Array of target IDs to be added as CC. |[]|
37
37
| bcc | array | Array of target IDs to be added as BCC. |[]|
38
-
| attachments | array | Array of compound bucket IDs to file IDs to be attached to the email. |[]|
38
+
| attachments | array | Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>. |[]|
39
39
| draft | boolean | Is message a draft ||
40
40
| html | boolean | Is content of type HTML ||
41
41
| 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. ||
| cc | array | Array of target IDs to be added as CC. ||
65
65
| bcc | array | Array of target IDs to be added as BCC. ||
66
66
| 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. ||
67
+
| attachments | array | Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>. ||
67
68
68
69
## Create push notification
69
70
@@ -85,7 +86,7 @@ POST https://cloud.appwrite.io/v1/messaging/messages/push
85
86
| targets | array | List of Targets IDs. |[]|
86
87
| data | object | Additional Data for push notification. | {} |
87
88
| action | string | Action for push notification. ||
88
-
| 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. ||
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>. ||
89
90
| icon | string | Icon for push notification. Available only for Android and Web Platform. ||
90
91
| sound | string | Sound for push notification. Available only for Android and IOS Platform. ||
91
92
| color | string | Color for push notification. Available only for Android Platform. ||
| data | object | Additional Data for push notification. | {} |
117
118
| action | string | Action for push notification. ||
118
-
| 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. ||
119
+
| 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>. ||
119
120
| icon | string | Icon for push notification. Available only for Android and Web platforms. ||
120
121
| sound | string | Sound for push notification. Available only for Android and iOS platforms. ||
121
122
| color | string | Color for push notification. Available only for Android platforms. ||
POST https://cloud.appwrite.io/v1/users/{userId}/tokens
602
602
```
603
603
604
-
** Returns a token with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [PUT /account/sessions/custom](https://appwrite.io/docs/references/cloud/client-web/account#updateCustomSession) endpoint to complete the login process. **
604
+
** Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT /account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process.
0 commit comments