mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +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
|
Clients should use the `max_channel_folder_name_length` returned
|
||||||
by the [`POST /register`](/api/register-queue) endpoint to determine
|
by the [`POST /register`](/api/register-queue) endpoint to determine
|
||||||
the maximum channel folder name length.
|
the maximum channel folder name length.
|
||||||
|
|
||||||
|
Value cannot be an empty string.
|
||||||
type: string
|
type: string
|
||||||
example: marketing
|
example: marketing
|
||||||
description:
|
description:
|
||||||
@@ -24859,6 +24861,8 @@ paths:
|
|||||||
to determine the maximum channel folder description length.
|
to determine the maximum channel folder description length.
|
||||||
type: string
|
type: string
|
||||||
example: Channels for marketing.
|
example: Channels for marketing.
|
||||||
|
required:
|
||||||
|
- name
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: |
|
description: |
|
||||||
@@ -25055,6 +25059,8 @@ paths:
|
|||||||
Clients should use the `max_channel_folder_name_length` returned
|
Clients should use the `max_channel_folder_name_length` returned
|
||||||
by the [`POST /register`](/api/register-queue) endpoint to determine
|
by the [`POST /register`](/api/register-queue) endpoint to determine
|
||||||
the maximum channel folder name length.
|
the maximum channel folder name length.
|
||||||
|
|
||||||
|
Value cannot be an empty string.
|
||||||
type: string
|
type: string
|
||||||
example: backend
|
example: backend
|
||||||
description:
|
description:
|
||||||
|
|||||||
Reference in New Issue
Block a user