查询 NPC push 记录。List NPC commit pushes.
查询当前仓库内由 NPC 触发的 push 事件。仅仓库成员(Reporter 及以上)可访问。 Query push events triggered by NPCs in the repository. Only repository members (Reporter+) can access. 时间窗 start_time/end_time 默认最近 7 天,跨度 ≤ 90 天;page_size 默认 20,最大 100;仅 page=1 返回 total,翻页 total=0。 Time window defaults to last 7 days with span ≤ 90 days; page_size default 20, max 100; total returned only when page=1. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-cnb-history:r 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-cnb-history:r
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}/-/npc-observability/commits
- Auth: API key in header Authorization
Path parameters
仓库路径。Repo path.
Query parameters
结束时间,ISO8601 格式,默认当前;与 start_time 跨度 ≤ 90 天。End time in ISO8601, default now. Range <= 90 days.
NPC 角色名。NPC role name.
NPC 仓库 slug。NPC repo slug.
分页页码,默认 1;仅 page=1 返回 total,翻页 total=0。Pagination page number, default(1); total only returned when page=1.
分页页大小,默认 20,最大 100。Pagination page size, default(20), max(100).
起始时间,ISO8601 格式,默认 7 天前。Start time in ISO8601, default 7 days ago.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.