Skip to main content
PATCH
UpdateArtifact

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

artifactId
string
required

Body

application/json
updateMask
string
required

The fields to write. Available paths are artifact_version.title, artifact_version.summary, artifact_version.payload, artifact_version.metadata, artifact_version.remote_file_id, and links. A path the service does not know is rejected.

artifact_version.remote_file_id is a declaration, not a value: it says the caller is about to upload new bytes for the returned version, so the previous version's remote_files rows are not carried forward. The current version stays unchanged until the upload commits. The request value is ignored. Leave the path out to keep the existing bytes.

artifact
object

An artifact and one of its versions: the one artifact_version_id pinned, or the latest.

Links written at the new version, when update_mask names links. The previous version's ATTACHED_TO rows carry forward and these are added to them.

Response

A successful response.

artifact
object

An artifact and one of its versions: the one artifact_version_id pinned, or the latest.