mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
api_docs: Deprecate 'remove-fcm-token' & 'remove-apns-token'.
Endpoints marked deprecated: * `DELETE /users/me/apns_device_token` * `DELETE /users/me/android_gcm_reg_id` These endpoints were for non-E2EE push notification case. Fixes #35213.
This commit is contained in:
committed by
Tim Abbott
parent
6a81aba20e
commit
e64be0c48b
@@ -13188,11 +13188,19 @@ paths:
|
|||||||
description: |
|
description: |
|
||||||
A typical failed JSON response for when the APNs token is invalid:
|
A typical failed JSON response for when the APNs token is invalid:
|
||||||
delete:
|
delete:
|
||||||
|
deprecated: true
|
||||||
operationId: remove-apns-token
|
operationId: remove-apns-token
|
||||||
summary: Remove an APNs device token
|
summary: Remove an APNs device token
|
||||||
tags: ["users"]
|
tags: ["users"]
|
||||||
description: |
|
description: |
|
||||||
This endpoint removes an APNs device token for iOS push notifications.
|
This endpoint removes an APNs device token for iOS push notifications.
|
||||||
|
|
||||||
|
**Changes**: Deprecated in Zulip 11.0 (feature level 406) and will be
|
||||||
|
removed in a future release. Clients connecting to newer servers and
|
||||||
|
with E2EE push notifications support should delete the account record
|
||||||
|
in their local accounts table that corresponds to the `push_account_id`
|
||||||
|
supplied when registering via the [Register E2EE push device](/api/register-push-device)
|
||||||
|
endpoint, to stop displaying notifications for that registration.
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
@@ -13284,11 +13292,19 @@ paths:
|
|||||||
"code": "BAD_REQUEST",
|
"code": "BAD_REQUEST",
|
||||||
}
|
}
|
||||||
delete:
|
delete:
|
||||||
|
deprecated: true
|
||||||
operationId: remove-fcm-token
|
operationId: remove-fcm-token
|
||||||
summary: Remove an FCM registration token
|
summary: Remove an FCM registration token
|
||||||
tags: ["users"]
|
tags: ["users"]
|
||||||
description: |
|
description: |
|
||||||
This endpoint removes an FCM registration token for push notifications.
|
This endpoint removes an FCM registration token for push notifications.
|
||||||
|
|
||||||
|
**Changes**: Deprecated in Zulip 11.0 (feature level 406) and will be
|
||||||
|
removed in a future release. Clients connecting to newer servers and
|
||||||
|
with E2EE push notifications support should delete the account record
|
||||||
|
in their local accounts table that corresponds to the `push_account_id`
|
||||||
|
supplied when registering via the [Register E2EE push device](/api/register-push-device)
|
||||||
|
endpoint, to stop displaying notifications for that registration.
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
|
|||||||
Reference in New Issue
Block a user