v1

latestOpenAPI 3.0.2Apache 2.02026-07-136548173.9 KB
Metadata

Update artifact metadata

Updates 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 body

namestring
descriptionstring
labelsstring[]
propertiesProperties

User-defined name-value pairs. Name and value must be strings.

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.