Versions
Update artifact version content
Updates the content of a single version of an artifact.
NOTE: the artifact must be in DRAFT status.
Both the artifactId and the unique version number must be provided to identify the version to update.
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)
- Artifact version not in DRAFT status (HTTP error 409)
- A server error occurred (HTTP error 500)
put/groups/{groupId}/artifacts/{artifactId}/versions/{versionExpression}/content
Request body
Example request
{
"references": [
{
"groupId": "mygroup",
"artifactId": "13842090-2ce3-11ec-8d3d-0242ac130003",
"version": "2",
"name": "foo.bar.Open"
}
]
}Response
The artifact version content was successfully updated.