Missions

查询我的任务集。List my missions.

查询用户在指定组织下有权限查看的所有任务集。 Query all missions that the user has permission to see under the specific organization. 访问令牌调用此接口需包含以下权限。Required permissions for access token. group-resource:r

get/{slug}/-/missions

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/{slug}/-/missions
  • Auth: API key in header Authorization

Path parameters

slugstring required

组织 slug。Organization slug.

Query parameters

pageinteger

页码。Page number.

page_sizeinteger

每页数量。Number of items per page.

filter_type'private' | 'public'

任务集类型。Mission type.

order_by'created_at' | 'name'

排序类型,默认created_at。Sort order, default created_at.

descboolean

排序顺序。Sort order.

descendant'all' | 'sub' | 'grand'

查询范围:全部/当前组织/子组织仓库。Query scope: all/current org/sub-org repos.

searchstring

搜索关键字。Search keyword.

Response

OK

Changes

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