API Reference
Log In
API Reference

List the repositories the PR Health exclusion picker offers

The caller's repositories holding open pull requests, with their open count, sorted by name and capped at 2000; the team's cutoff, exclusions and automation patterns are deliberately NOT applied, so a hidden repository is still listed. Every excluded repository is then added even past the cap or with no open pull request left (openPrs 0), so an exclusion can always be undone. excluded is computed case-insensitively against the team's excludedRepos; drive checkboxes from it, not from comparing spellings. repoName is the spelling the pull-request rows carry.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

VCS source: github or gitlab

string

Team to read or write, as the team's hashid (the same id as /v2/api/teams/{id}). The caller must belong to it or be able to read it: 403 otherwise, 404 when no such team exists. An API key may only name its own organization. Omit it for the API key's organization, or for a signed-in user the first organization they belong to.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*