mission-resources

查询任务集资源列表。Query mission resources.

根据筛选条件查询任务集中的 Issue 或 PR 资源列表,支持游标分页。 Query Issue or PR resources in the mission by filter criteria. Supports cursor-based pagination. 访问令牌调用此接口需包含以下权限。Required permissions for access token. mission-manage:r

post/{mission}/-/mission-resource/resources

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/{mission}/-/mission-resource/resources
  • Auth: API key in header Authorization

Path parameters

missionstring required

任务集路径。Mission slug.

Query parameters

cursorstring

游标分页:传 next_cursor 拉下一页;首页传空。Cursor: next_cursor for next page; empty for 1st.

Request body

fieldsstring[]

Fields 指定需要返回的字段(基于响应中 issue/pull_request 的 JSON key), 传空或不传则返回全量字段;传入时核心字段(id、repo_slug、number)始终会被返回。

Response

OK

Changes

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