List repositories
Code Mode: praxis.ticket.repositories.list
HTTP: GET /ticket/v1/repositories
List repositories within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
签名
praxis.ticket.repositories.list(args?:{query?:{/** Page size. */ page_size?:number;/** Opaque cursor. */ page_token?:string}}):Promise<{/** Selected repositories records. */ repositories:Array<{/** Opaque identifier returned by this resource's create or list operation. */ id:string;/** Owning organization id. */ organization_id:string;/** Repository path name; tickets is the default. */ name:string;/** Whether omission selects this repository. */ is_default:boolean;/** Open ticket count. */ open_tickets:number;/** Closed ticket count. */ closed_tickets:number;/** Creation timestamp. e.g. "2026-12-01T00:00:00Z" */ create_time:string;/** Last update timestamp. e.g. "2026-12-01T00:00:00Z" */ update_time:string}>;/** Opaque cursor for the next page; empty when exhausted. */ next_page_token:string}>;参数
| 名称 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
| page_size | query | number | 否 | Records per page; defaults to 30, maximum 100. |
| page_token | query | string | 否 | Cursor returned as next_page_token; omit for the first page. |
响应
| 状态码 | 内容类型 | 说明 |
|---|---|---|
| 200 | application/json | The operation succeeded; the body contains the requested resource or page. |
| 400 | Invalid native input or unsupported GitHub API version; correct the request before retrying. | |
| 401 | Credentials are absent or invalid; supply a valid API key or signed browser session. | |
| 403 | Machine token, application, insufficient organization role or locked conversation; use an authorized human credential. GitHub rate limiting also uses 403 with retry-after and x-ratelimit headers. | |
| 404 | Resource or repository is absent from this organization; a different owner has the identical missing-resource response. | |
| 410 | Ticket is gone; refresh the repository’s ticket list. | |
| 422 | Invalid GitHub input, duplicate name, dependency cycle or child/assignee limit; correct the reported fields or relationships. | |
| 429 | Native rate limit; wait for retry-after before retrying. |