Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
openapi: Rearrange users/{user_id}/subscriptions/{stream_id} docs.
sahil8399c3341ad950d
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 9f6eeaa679a..ab9b0738bfe 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -4966,34 +4966,6 @@ paths:application/json:schema:$ref: "#/components/schemas/NonExistingStreamError"- /users/{user_id}/subscriptions/{stream_id}:- get:- operationId: get_subscription_status- tags: ["streams"]- description: |- Check whether a user is subscribed to a stream.-- `GET {{ api_url }}/v1/users/{user_id}/subscriptions/{stream_id}`-- **Changes**: New in Zulip 3.0 (feature level 11).- parameters:- - $ref: "#/components/parameters/UserId"- - $ref: "#/components/parameters/StreamIdInPath"- responses:- "200":- description: Success- content:- application/json:- schema:- allOf:- - $ref: "#/components/schemas/JsonSuccess"- - properties:- is_subscribed:- type: boolean- description: |- Whether the user is subscribed to the stream.- - example:- {"msg": "", "result": "success", "is_subscribed": false}/users/me/subscriptions/muted_topics:patch:operationId: mute_topic@@ -5063,6 +5035,34 @@ paths:- $ref: "#/components/schemas/JsonError"- example:{"msg": "Topic is not muted", "result": "error"}+ /users/{user_id}/subscriptions/{stream_id}:+ get:+ operationId: get_subscription_status+ tags: ["streams"]+ description: |+ Check whether a user is subscribed to a stream.++ `GET {{ api_url }}/v1/users/{user_id}/subscriptions/{stream_id}`++ **Changes**: New in Zulip 3.0 (feature level 11).+ parameters:+ - $ref: "#/components/parameters/UserId"+ - $ref: "#/components/parameters/StreamIdInPath"+ responses:+ "200":+ description: Success+ content:+ application/json:+ schema:+ allOf:+ - $ref: "#/components/schemas/JsonSuccess"+ - properties:+ is_subscribed:+ type: boolean+ description: |+ Whether the user is subscribed to the stream.+ - example:+ {"msg": "", "result": "success", "is_subscribed": false}/realm/emoji/{emoji_name}:post:operationId: upload_custom_emoji