Added patch channel API doc for channel banner (#32100)
* Added patch channel API doc for channel banner * Fixed typo
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5e76a1091c
Коммит
bfbfff276d
@@ -641,6 +641,8 @@
|
|||||||
type: string
|
type: string
|
||||||
description: Markdown-formatted text to display in the header of the
|
description: Markdown-formatted text to display in the header of the
|
||||||
channel
|
channel
|
||||||
|
banner_info:
|
||||||
|
$ref: "#/components/schemas/ChannelBanner"
|
||||||
description: Channel object to be updated
|
description: Channel object to be updated
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
|
|||||||
@@ -4233,6 +4233,18 @@ components:
|
|||||||
value_type:
|
value_type:
|
||||||
type: string
|
type: string
|
||||||
description: The value type.
|
description: The value type.
|
||||||
|
ChannelBanner:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
enabled:
|
||||||
|
type: boolean
|
||||||
|
description: enabled indicates whether the channel banner is enabled or not
|
||||||
|
text:
|
||||||
|
type: string
|
||||||
|
description: text is the actual text that renders in the channel banner. Markdown is supported.
|
||||||
|
background_color:
|
||||||
|
type: string
|
||||||
|
description: background_color is the HEX color code for the banner's backgroubd
|
||||||
externalDocs:
|
externalDocs:
|
||||||
description: Find out more about Mattermost
|
description: Find out more about Mattermost
|
||||||
url: 'https://about.mattermost.com'
|
url: 'https://about.mattermost.com'
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user