v2

Swagger 2.02026-08-01331211921.0 KB
Commits

Update a commit comment

Used to update the contents of a comment. Only the content of the comment can be updated.

$ curl https://api.bitbucket.org/2.0/repositories/atlassian/prlinks/commit/7f71b5/comments/5728901 \
  -X PUT -u evzijst \
  -H 'Content-Type: application/json' \
  -d '{"content": {"raw": "One more thing!"}'
put/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}

Request body

typestring required
idinteger
created_onstring date-time
updated_onstring date-time
deletedboolean

Response

The newly updated comment.