Skip to main content
GET
Get pull requests for branches

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

app_id
string
required

ID of the app.

Query Parameters

branch
string[]

Name of a branch in the repository. Repeat it for each branch, up to 50.

branch_id
string

ID of the branch to work on, as returned by List branches. Omit it to work on the app's main branch.

Response

The named branches' pull requests.

items
Items · object
required

Each branch's pull request, keyed by branch name. Branches with no pull request are left out.

Example: