Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api_docs: Deprecate the non-E2EE register push device endpoints.

Prakhar Pratyushe8c9f4a81128
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 97c176c05de..5a0720df952 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -13118,11 +13118,17 @@ paths:
An example JSON response for when the user is not previously muted:
/users/me/apns_device_token:
post:
+ deprecated: true
operationId: add-apns-token
summary: Add an APNs device token
tags: ["users"]
description: |
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:
required: true
content:
@@ -13230,11 +13236,17 @@ paths:
A typical failed JSON response for when the token does not exist:
/users/me/android_gcm_reg_id:
post:
+ deprecated: true
operationId: add-fcm-token
summary: Add an FCM registration token
tags: ["users"]
description: |
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:
required: true
content: