Repository Git data
Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
One-indexed page. Handler clamps values below 1 to 1.
int641 <= value1Items per page. Handler defaults to 30 and clamps above 100.
int641 <= value <= 10030Base64 cursor encoding page and per_page; overrides page/per_page when valid.
Response Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/branches?page=2&per_page=2&cursor=abc123""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthBranch name.
1 <= lengthResponse Body
application/json
curl -X DELETE "https://example.com/v1/repositories/aa/aa/branches/aa""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthCommit SHA or ref.
1 <= lengthResponse Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/commits/aa""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
Base ref.
1 <= lengthHead ref.
1 <= lengthResponse Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/compare?base=aa&head=aa""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
Git ref.
Repository path.
Response Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/contents?ref=abc123&path=abc123""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
Git ref.
Repository file path.
Requested encoding.
Response Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/file?ref=abc123&path=abc123&encoding=abc123""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/repositories/aa/aa/file" \ -H "Content-Type: application/json" \ -d '{ "branch": "abc123", "content": "abc123", "message": "abc123", "path": "aa" }'"abc123"Distinct commit authors for a git ref. Powers commit-list author pickers without walking ref-commits pages. Response shape is { "authors": [{ "login": string, "name": string, "avatarUrl": string, "commitCount": number }], "totalCount": number }; login is empty for unmatched git authors, and commitCount is used to sort the picker.
Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
Git ref (branch, tag, or SHA). Defaults to the repository default branch when omitted.
Optional substring filter on login or display name.
When true, omit authors whose login ends with [bot]. Defaults to false.
Maximum authors to return. Handler defaults to 100 and clamps above 500.
int64Response Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/ref-authors?ref=abc123&q=abc123&exclude_bots=false&limit=1""abc123"Paginated commits for a git ref. Optional author and q filters are applied before pagination so page counts stay correct.
Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
Git ref.
Substring filter on commit message, SHA, or author login/name.
One-indexed page. Handler clamps values below 1 to 1.
int641 <= value1Items per page. Handler defaults to 30 and clamps above 100.
int641 <= value <= 10030Base64 cursor encoding page and per_page; overrides page/per_page when valid.
Response Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/ref-commits?ref=abc123&author=abc123&q=abc123&page=2&per_page=2&cursor=abc123""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
Git ref.
Response Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/ref-head-commit?ref=abc123""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
Branch name.
Response Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/ref-state?branch=abc123""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
Git ref.
Directory path.
Repeated entry query values.
Response Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/tree-commits?ref=abc123&dir=abc123&entry=abc123""abc123"