PUT /v8/artifacts/{hash}

Uploads a cache artifact identified by the hash specified on the path. The cache artifact can then be downloaded with the provided hash.

Servers

Path parameters

Name Type Required Description
hash String Yes

The artifact hash

Request headers

Name Type Required Description
'content-Length' Number No

The artifact size in bytes

'x-Artifact-Duration' Number No

The time taken to generate the uploaded artifact in milliseconds.

'x-Artifact-Client-Interactive' Integer No

1 if the client is an interactive shell. Otherwise 0

'x-Artifact-Tag' String No

The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header x-artifact-tag

'x-Artifact-Client-Ci' String No

The continuous integration or delivery environment where this artifact was generated.

'x-Artifact-Dirty-Hash' String No

A hash representing uncommitted changes in the working directory when this artifact was generated.

'x-Artifact-Sha' String No

The SHA of the source control revision that generated this artifact.

Query parameters

Name Type Required Description
teamId String No

The Team identifier to perform the request on behalf of.

slug String No

The Team slug to perform the request on behalf of.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.