ArtifactService

UpdateArtifact

Add a version to an artifact, changing only the fields named in update_mask.

patch/api/v1/artifacts/{artifactId}

Request

  • Base URL: https://api.siftstack.com
  • URL: https://api.siftstack.com/api/v1/artifacts/{artifactId}
  • Auth: HTTP bearer

Path parameters

artifactIdstring required

Request body

updateMaskstring 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.

Response

A successful response.

Changes

No recorded changes to this operation across all 1 revision of this API.