GET/repos/{owner}/{repo}/stacks/{stack_number}

Get a pull request stack

Gets a pull request stack by providing its stack number.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
stack_numberintegerrequired
The number that identifies the pull request stack.

2 status codes
200Response
idintegerrequired
numberintegerrequired
node_idstringrequired
urlstringrequired
baseobjectrequired
openbooleanrequired
Whether the stack has any open pull request. False when all pull requests are merged or closed.
created_atstringrequired
pull_requestsarray<PullRequestStackPullRequest>required
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned: Resource not found.

Was this helpful?