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: Add admin only notes for channel folder endpoints.

Lauryn Menard4b7e0be1abf6
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 7b014d21c35..d2c7108d5f7 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -24828,13 +24828,11 @@ paths:
operationId: create-channel-folder
summary: Create a channel folder
tags: ["channels"]
+ x-requires-administrator: true
description: |
Create a new channel folder, that will be used to organize
channels in left sidebar.
- Only organization administrators can create a new channel
- folder.
-
**Changes**: New in Zulip 11.0 (feature level 389).
requestBody:
required: true
@@ -24979,6 +24977,7 @@ paths:
operationId: patch-channel-folders
summary: Reorder channel folders
tags: ["channels"]
+ x-requires-administrator: true
description: |
Given an array of channel folder IDs, this method will set the `order`
property of all of the channel folders in the organization according to
@@ -25030,15 +25029,13 @@ paths:
operationId: update-channel-folder
summary: Update a channel folder
tags: ["channels"]
+ x-requires-administrator: true
description: |
Update the name or description of a channel folder.
This endpoint is also used to archive and unarchive
a channel folder.
- Only organization administrators can update a
- channel folder.
-
**Changes**: New in Zulip 11.0 (feature level 389).
parameters:
- $ref: "#/components/parameters/ChannelFolderId"