List pull requests
Changed onReturns 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.
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pullrequests
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: pullrequest
- or HTTP basic
- or API key in header Authorization
Query parameters
Only return pull requests that are in this state. This parameter can be repeated.
Response
All pull requests on the specified repository.
Changes
- info
added the optional property
////to the response with the status
- info
- warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
//////////////////from the response with the status - warning
removed the optional property
///////////////from the response with the status - warning
removed the optional property
////////from the response with the status - warning
removed the optional property
//////////////from the response with the status - warning
removed the optional property
////////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////////////////from the response with the status - warning
removed the optional property
///////////////from the response with the status - warning
removed the optional property
////////from the response with the status - warning
removed the optional property
//////////////from the response with the status - warning
added the new
rebase_fast_forwardenum value to the//////response property for the response status - warning
added the new
rebase_fast_forwardenum value to the/////////response property for the response status - warning
added the new
rebase_fast_forwardenum value to the//////response property for the response status - warning
added the new
rebase_fast_forwardenum value to the/////////response property for the response status - warning
added the new
rebase_mergeenum value to the//////response property for the response status - warning
added the new
rebase_mergeenum value to the/////////response property for the response status - warning
added the new
rebase_mergeenum value to the//////response property for the response status - warning
added the new
rebase_mergeenum value to the/////////response property for the response status - warning
added the new
squash_fast_forwardenum value to the//////response property for the response status - warning
added the new
squash_fast_forwardenum value to the/////////response property for the response status - warning
added the new
squash_fast_forwardenum value to the//////response property for the response status - warning
added the new
squash_fast_forwardenum value to the/////////response property for the response status - info
added the optional property
//////////////to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
//////////////to the response with the status
- warning