Get a webhook for a repository
Changed onReturns the webhook with the specified id installed on the specified repository.
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/hooks/{uid}
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: webhook
- or HTTP basic
- or API key in header Authorization
Path parameters
This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
The webhook's id.
Response
The webhook subscription object.
Changes
- breaking
added the new path request parameter
repo_slug - breaking
added the new path request parameter
uid - breaking
added the new path request parameter
workspace - info
api operation id
get_repository_hookwas added - info
added the optional property
/to the response with the status - info
the response optional property
/became read-only for the status - info
the response optional property
/became read-only for the status - info
the response optional property
/became read-only for the status - info
the response optional property
/became read-only for the status
- breaking
- warning
added the new
pipeline:span_createdenum value to the//response property for the response status - warning
added the new
pullrequest:pushenum value to the//response property for the response status
- warning