mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
channel_folders: Check max length restrictions while updating.
This commit updates code to make sure we check maximum allowed length for name and description for channel folders when updating them.
This commit is contained in:
@@ -24465,11 +24465,19 @@ paths:
|
||||
name:
|
||||
description: |
|
||||
The new name of the channel folder.
|
||||
|
||||
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.
|
||||
type: string
|
||||
example: backend
|
||||
description:
|
||||
description: |
|
||||
The new description of the channel folder.
|
||||
|
||||
Clients should use the `max_channel_folder_description_length`
|
||||
returned by the [`POST /register`](/api/register-queue) endpoint
|
||||
to determine the maximum channel folder description length.
|
||||
type: string
|
||||
example: Backend channels.
|
||||
is_archived:
|
||||
|
Reference in New Issue
Block a user