v1

latestOpenAPI 3.0.12026-07-17235160320.7 KB
Artifacts

Modifies an Artifact resource

put/api/v1/artifacts/{id}

Path parameters

idinteger required

ID for the Artifact resource.

Headers

X-Fieldsstring mask

An optional fields mask

Request body

descriptionstring

Description of the Artifact resource.

pluginSnapshotIdinteger

The Snapshot ID of the plugin containing the plugin file that performs serializing/deserializing of this Artifact.

taskIdinteger

The id of the plugin artifact task that performs theserializing/deserializing of this Artifact.

Response

Success

idinteger

ID for the Artifact resource.

snapshotinteger

ID for the underlying Artifact snapshot.

createdOnstring date-time

Timestamp when the Artifact resource was created.

snapshotCreatedOnstring date-time

Timestamp when the Artifact resource snapshot was created.

lastModifiedOnstring date-time

Timestamp when the Artifact resource was last modified.

latestSnapshotboolean

Whether or not the Artifact resource is the latest version.

hasDraftboolean

Whether a draft exists for the Artifact resource.

descriptionstring

Description of the Artifact resource.

isDirboolean

Whether the file denotes a directory or not.

fileSizeinteger

The size in bytes of the file.

fileUrlstring

URL for accessing the contents of the Artifact.

artifactUristring

URL pointing to the location of the Artifact resource.

jobinteger required

id of the job that produced this Artifact