news

Create News

添加新闻 需要管理员权限 创建后清除缓存

post/api/v1/news/

Request

  • Base URL: https://opencloudos.org (the document declares no server; this is the origin it was published from)
  • URL: https://opencloudos.org/api/v1/news/
  • Auth: OAuth 2 (password, token URL /api/v1/users/login)

Request body

titlestring required
img_urlstring nullable
descstring nullable
redirect_uristring nullable
authorstring required

Response

Successful Response

uuidstring uuid required
titlestring required
img_urlstring nullable
descstring nullable
redirect_uristring nullable
authorstring nullable
is_displayboolean required
display_orderinteger nullable
is_bannerboolean required
banner_orderinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.