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

Changes

Changed in 2 of the 2 revisions of this API.189

  • a73101579c5c18See the full diff
    • removed the required property from the response with the status

      response-required-property-removed

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 9a36b904337981See the full diff
    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • added the required property to the response with the status

      response-required-property-added

    This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog