v2
latestOpenAPI 3.0.02026-08-013312111.4 MBPullrequests
List pull requests
Returns all pull requests on the specified repository.
By default only open pull requests are returned. This can be controlled using the state query parameter. To retrieve pull requests that are in one of multiple states, repeat the state parameter for each individual state.
This endpoint also supports filtering and sorting of the results. See filtering and sorting for more details.
get/repositories/{workspace}/{repo_slug}/pullrequests
Query parameters
state'OPEN' | 'MERGED' | 'DECLINED' | 'SUPERSEDED'
Only return pull requests that are in this state. This parameter can be repeated.
Response
All pull requests on the specified repository.