mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
api-docs: Mark "name" required for new channel folder.
Also, note that an empty string for the "name" parameter, when creating or updating a channel folder, is not a valid value.
This commit is contained in:
committed by
Tim Abbott
parent
4b0a9e484a
commit
451e64b3e6
@@ -24848,6 +24848,8 @@ paths:
|
||||
Clients should use the `max_channel_folder_name_length` returned
|
||||
by the [`POST /register`](/api/register-queue) endpoint to determine
|
||||
the maximum channel folder name length.
|
||||
|
||||
Value cannot be an empty string.
|
||||
type: string
|
||||
example: marketing
|
||||
description:
|
||||
@@ -24859,6 +24861,8 @@ paths:
|
||||
to determine the maximum channel folder description length.
|
||||
type: string
|
||||
example: Channels for marketing.
|
||||
required:
|
||||
- name
|
||||
responses:
|
||||
"200":
|
||||
description: |
|
||||
@@ -25055,6 +25059,8 @@ paths:
|
||||
Clients should use the `max_channel_folder_name_length` returned
|
||||
by the [`POST /register`](/api/register-queue) endpoint to determine
|
||||
the maximum channel folder name length.
|
||||
|
||||
Value cannot be an empty string.
|
||||
type: string
|
||||
example: backend
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user