Pull requests
Authorization
bearerAuth In: header
Query Parameters
Repository owner query value.
1 <= lengthRepository name query value.
1 <= lengthPull request state filter forwarded to git-gateway (open, closed, all).
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/pull-requests?owner=aa&repo=aa&state=abc123&page=2&per_page=2&cursor=abc123""abc123"Authorization
bearerAuth In: header
Query Parameters
Pull request state filter forwarded to git-gateway.
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/pulls/mine?state=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 <= 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/pulls" \ -H "Content-Type: application/json" \ -d '{ "assignees": [ "abc123" ], "base": "aa", "body": "abc123", "draft": false, "head": "aa", "labels": [ "abc123" ], "reviewers": [ "abc123" ], "teamReviewers": [ "abc123" ], "team_reviewers": [ "abc123" ], "title": "aa" }'"abc123"Return check-run snapshots for a bounded set of pull requests in one repository.
Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthQuery Parameters
Repeated pull request numbers (maximum 25).
1 <= items <= 25Response Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/pulls/checks?numbers=1&numbers=1""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthResponse Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/pulls/stack-events""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueResponse Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/pulls/2""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/v1/repositories/aa/aa/pulls/2" \ -H "Content-Type: application/json" \ -d '{ "assignees": [ "abc123" ], "body": "abc123", "draft": false, "ready_for_review": false, "state": "abc123", "title": "abc123" }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPull request number.
int641 <= valueQuery Parameters
Head commit SHA filter; omit for all heads.
AI model identifier (e.g. claude-sonnet-5).
1 <= lengthResponse Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/pulls/2/changelog?head_sha=abc123&model=aa""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPull request number.
int641 <= valueHeader Parameters
Immutable repository identity captured by the authorized changelog read.
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/v1/repositories/aa/aa/pulls/2/changelog" \ -H "X-Trylle-Expected-Repository-ID: aa" \ -H "Content-Type: application/json" \ -d '{ "data": "abc123", "file_sha": "abc123", "head_sha": "abc123", "model": "aa" }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueRequest 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/pulls/2/merge" \ -H "Content-Type: application/json" \ -d '{ "Do": "aa", "MergeMessageField": "abc123", "MergeTitleField": "abc123", "delete_branch_after_merge": false, "force_merge": false, "head_commit_id": "abc123" }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueRequest 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/pulls/2/requested-reviewers" \ -H "Content-Type: application/json" \ -d '{ "reviewers": [ "abc123" ], "teamReviewers": [ "abc123" ], "team_reviewers": [ "abc123" ] }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X DELETE "https://example.com/v1/repositories/aa/aa/pulls/2/requested-reviewers" \ -H "Content-Type: application/json" \ -d '{ "reviewers": [ "abc123" ], "teamReviewers": [ "abc123" ], "team_reviewers": [ "abc123" ] }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueResponse Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/pulls/2/review-bundle""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueResponse Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/pulls/2/review-comments""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valuePositive issue, pull, review, or comment number.
int641 <= valueResponse Body
application/json
curl -X DELETE "https://example.com/v1/repositories/aa/aa/pulls/2/review-comments/2""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valuePositive issue, pull, review, or comment number.
int641 <= valueRequest 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/pulls/2/review-comments/2/reply" \ -H "Content-Type: application/json" \ -d '{ "body": "aa" }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valuePositive issue, pull, review, or comment number.
int641 <= valueRequest 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/pulls/2/review-comments/2/resolution" \ -H "Content-Type: application/json" \ -d '{ "resolved": false }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueRequest 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/pulls/2/reviews" \ -H "Content-Type: application/json" \ -d '{ "body": "abc123", "comments": [ { "body": "abc123", "new_position": 1, "old_position": 1, "path": "abc123" } ], "commit_id": "abc123", "event": "abc123" }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valuePositive issue, pull, review, or comment number.
int641 <= valueRequest 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/pulls/2/reviews/2/dismiss" \ -H "Content-Type: application/json" \ -d '{ "message": "abc123", "priors": false }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/v1/repositories/aa/aa/pulls/2/stack-parent" \ -H "Content-Type: application/json" \ -d '{ "parentNumber": 1 }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueRequest 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/pulls/2/stack-sync-children" \ -H "Content-Type: application/json" \ -d '{ "parentNumber": 1 }'"abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueResponse Body
application/json
curl -X GET "https://example.com/v1/repositories/aa/aa/pulls/2/status""abc123"Authorization
bearerAuth In: header
Path Parameters
Repository owner namespace.
1 <= lengthRepository name from the {name} path segment.
1 <= lengthPositive issue, pull, review, or comment number.
int641 <= valueQuery Parameters
Update style. Defaults to merge.
"merge"Response Body
application/json
curl -X POST "https://example.com/v1/repositories/aa/aa/pulls/2/update?style=abc123""abc123"