Skip to main content
POST
cURL

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
form
enum<string>
必填
可用选项:
banner,
toast,
modal,
sidebar-card
level
enum<string>
必填
可用选项:
info,
warning,
critical,
success
title
object
必填
message
object
必填
audience
object
必填
startTime
string<date-time>
必填
endTime
string<date-time>
必填
options
object

响应

201 - application/json

The published announcement

id
string
必填
form
enum<string>
必填
可用选项:
banner,
toast,
modal,
sidebar-card
level
enum<string>
必填
可用选项:
info,
warning,
critical,
success
title
object
必填
message
object
必填
options
object | null
必填
startTime
string
必填
endTime
string
必填
audience
object
必填
status
enum<string>
必填
可用选项:
scheduled,
active,
expired,
withdrawn
withdrawnTime
string | null
必填
createdBy
object
必填
createdTime
string
必填
最后修改于 2026年9月15日