Update a comment on a snippet
Updates a comment.
The only required field in the body is content.raw.
Comments can only be updated by their author.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The id of the comment.
The snippet id.
This can either be the workspace ID (slug) or the workspace UUID
surrounded by curly-braces, for example: {workspace UUID}.
Request Body required
Section titled “ Request Body required ”The contents to update the comment to.
object
object
A link to a resource related to this object.
object
A link to a resource related to this object.
object
object
The DVCS used to store the snippet.
object
Links related to an Account.
object
A link to a resource related to this object.
object
object
Links related to an Account.
object
A link to a resource related to this object.
object
Responses
Section titled “ Responses ”The updated comment object.
object
object
A link to a resource related to this object.
object
A link to a resource related to this object.
object
object
The DVCS used to store the snippet.
object
Links related to an Account.
object
A link to a resource related to this object.
object
object
Links related to an Account.
object
A link to a resource related to this object.
object
Example
{ "snippet": { "scm": "git" }}If the authenticated user does not have access to the snippet.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}If the comment or snippet does not exist.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}