Artifacts
Upload a cache artifact
Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`.
Authorization
AuthorizationRequiredBearer <token>Default authentication mechanism
In: header
Request Body
application/octet-streamOptionalbodystringFormat:
"binary"Path Parameters
hashRequiredstringThe artifact hash
Query Parameters
teamIdstringThe Team identifier to perform the request on behalf of.
slugstringThe Team slug to perform the request on behalf of.
Header Parameters
Content-LengthRequirednumberThe artifact size in bytes
x-artifact-durationnumberThe time taken to generate the uploaded artifact in milliseconds.
x-artifact-client-cistringThe continuous integration or delivery environment where this artifact was generated.
Maximum length:
50x-artifact-client-interactiveinteger1 if the client is an interactive shell. Otherwise 0
Minimum:
0Maximum: 1x-artifact-tagstringThe base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header x-artifact-tag
Maximum length:
600File successfully uploaded