v1

latestOpenAPI 3.0.2Apache 2.02026-07-136548173.9 KB
Versions

Update a comment

Updates the value of a single comment in an artifact version. Only the owner of the comment can modify it. The artifactId, unique version number, and commentId must be provided.

This operation can fail for the following reasons:

  • No artifact with this artifactId exists (HTTP error 404)
  • No version with this version exists (HTTP error 404)
  • No comment with this commentId exists (HTTP error 404)
  • A server error occurred (HTTP error 500)
put/groups/{groupId}/artifacts/{artifactId}/versions/{version}/comments/{commentId}

Request body

valuestring required

Example request

{
  "value": "This is a new comment on an existing artifact version."
}

Response

The value of the comment was successfully changed.