Snippets
Create a comment on a snippet
Changed onCreates a new comment.
The only required field in the body is content.raw.
To create a threaded reply to an existing comment, include parent.id.
post/snippets/{workspace}/{encoded_id}/comments
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/snippets/{workspace}/{encoded_id}/comments
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: snippet
- or HTTP basic
- or API key in header Authorization
Request body
Response
The newly created comment.
Changes
- warning
removed the request property
///// - warning
removed the request property
///// - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status
- warning