Versions
Add new comment
Adds a new comment to the artifact version. Both the artifactId and the unique version number 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)
- A server error occurred (HTTP error 500)
post/groups/{groupId}/artifacts/{artifactId}/versions/{versionExpression}/comments
Request body
Example request
{
"value": "This is a new comment on an existing artifact version."
}Response
The comment was successfully created.
Example response
{
"commentId": "12345",
"value": "This is a comment on an artifact version.",
"owner": "bwayne",
"createdOn": "2023-07-01T15:22:01Z"
}