Issues

查询我的 Issue 列表。List my issues.

跨仓库查询当前认证用户相关的 Issue 列表。通过 filter 参数筛选"我创建的"或"分配给我的" Issue。 Search across repositories for issues relevant to the authenticated user. Supports filtering by filter parameter to show "created" or "assigned" issues. 支持按状态、优先级、标签、时间范围等条件进一步过滤。 Supports further filtering by status, priority, label, time range, etc. 排序参数中 -updated_at 在内部会映射为 -last_acted_at(最后活跃时间)进行排序。 Note: The -updated_at sort parameter is internally mapped to -last_acted_at (last active time) for sorting. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-issue:r

get/user/issues

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/user/issues
  • Auth: API key in header Authorization

Query parameters

pageinteger

分页页码,输入值小于1,则调整为1。Page number. Values less than 1 are adjusted to 1.

page_sizeinteger

分页大小,<0为10,>100为100. Page size, clamped to 10 if <0 or 100 if >100.

filterstring

Issue筛选类型。可选值:created(我创建的)、assigned(分配给我的)

statestring

Issue状态过滤。可选值:open、closed

prioritystring

Issue优先级过滤。示例:-2P,-1P,P0,P1,P2,P3

labelsstring

Issue标签过滤。示例:git,bug,feature

labels_operatorstring

标签过滤操作符。可选值:contains_any,contains_all

updated_time_beginstring

Issue更新时间范围开始。示例:2022-01-31

updated_time_endstring

Issue更新时间范围结束。示例:2022-02-16

close_time_beginstring

Issue关闭时间范围开始。示例:2022-01-31

close_time_endstring

Issue关闭时间范围结束。示例:2022-02-16

created_time_beginstring

Issue创建时间范围开始。示例:2022-01-31

created_time_endstring

Issue创建时间范围结束。示例:2022-02-16

order_bystring

Issue排序字段,-前缀表示倒序。可选值:created_at,-created_at,-updated_at

Response

OK

Changes

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