Metadata
Update artifact metadata
Changed onUpdates the editable parts of the artifact's metadata. Not all metadata fields can be updated. For example, createdOn and createdBy are both read-only properties.
This operation can fail for the following reasons:
- No artifact with the artifactId exists (HTTP error 404)
- A server error occurred (HTTP error 500)
put/groups/{groupId}/artifacts/{artifactId}/meta
Request
- The document declares no server URL.
- Authnone declared
Request body
Example request
{
"name": "Artifact Name",
"description": "The description of the artifact.",
"labels": [
"regional",
"global"
],
"properties": {
"custom-1": "foo",
"custom-2": "bar"
}
}Response
The artifact's metadata was updated.
Changes
- breaking
removed the media type
*/*from the request body - info
added the media type
application/jsonto the request body
- breaking