news

Set News Banner

设置新闻banner状态与顺序 需要管理员权限 更新后清除缓存

post/api/v1/news/banner/{news_uuid}

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/banner/{news_uuid}
  • Auth: OAuth 2 (password, token URL /api/v1/users/login)

Path parameters

news_uuidstring uuid required

Request body

banner_orderinteger 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.