Badge

获取徽章列表。Get badge list.

获取指定仓库下所有徽章的列表数据。 Get the list of all badges under the specified repository. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-commit-status:r

get/{repo}/-/badge/list

Request

  • Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
  • URL: https://api.cnb.cool/{repo}/-/badge/list
  • Auth: API key in header Authorization

Path parameters

repostring required

仓库完整路径。Full repository path.

Request body

DtoListBadgeReq required

Response

OK

Changes

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