mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
api_docs: Deprecate the non-E2EE register push device endpoints.
Endpoints marked deprecated: * /users/me/apns_device_token * /users/me/android_gcm_reg_id The older endpoints were for non-E2EE push notification case. Fixes part of #35213.
This commit is contained in:
committed by
Tim Abbott
parent
b157b14d76
commit
e8c9f4a811
@@ -13118,11 +13118,17 @@ paths:
|
|||||||
An example JSON response for when the user is not previously muted:
|
An example JSON response for when the user is not previously muted:
|
||||||
/users/me/apns_device_token:
|
/users/me/apns_device_token:
|
||||||
post:
|
post:
|
||||||
|
deprecated: true
|
||||||
operationId: add-apns-token
|
operationId: add-apns-token
|
||||||
summary: Add an APNs device token
|
summary: Add an APNs device token
|
||||||
tags: ["users"]
|
tags: ["users"]
|
||||||
description: |
|
description: |
|
||||||
This endpoint adds an APNs device token to register for iOS push notifications.
|
This endpoint adds an APNs device token to register for iOS push notifications.
|
||||||
|
|
||||||
|
**Changes**: Deprecated in Zulip 11.0 (feature level 406). Clients connecting
|
||||||
|
to newer servers and with E2EE push notifications support should use the
|
||||||
|
[Register E2EE push device](/api/register-push-device) endpoint, as this
|
||||||
|
endpoint will be removed in a future release.
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
@@ -13230,11 +13236,17 @@ paths:
|
|||||||
A typical failed JSON response for when the token does not exist:
|
A typical failed JSON response for when the token does not exist:
|
||||||
/users/me/android_gcm_reg_id:
|
/users/me/android_gcm_reg_id:
|
||||||
post:
|
post:
|
||||||
|
deprecated: true
|
||||||
operationId: add-fcm-token
|
operationId: add-fcm-token
|
||||||
summary: Add an FCM registration token
|
summary: Add an FCM registration token
|
||||||
tags: ["users"]
|
tags: ["users"]
|
||||||
description: |
|
description: |
|
||||||
This endpoint adds an FCM registration token for push notifications.
|
This endpoint adds an FCM registration token for push notifications.
|
||||||
|
|
||||||
|
**Changes**: Deprecated in Zulip 11.0 (feature level 406). Clients connecting
|
||||||
|
to newer servers and with E2EE push notifications support should use the
|
||||||
|
[Register E2EE push device](/api/register-push-device) endpoint, as this
|
||||||
|
endpoint will be removed in a future release.
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
|
Reference in New Issue
Block a user