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
- https://api.vercel.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
hash |
String | Yes |
The artifact hash |
Request headers
Name | Type | Required | Description |
---|---|---|---|
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-client-ci |
String | No |
The continuous integration or delivery environment where this artifact was generated. |
x-artifact-client-interactive |
Integer | No |
1 if the client is an interactive shell. Otherwise 0 |
Content-Length |
Number | Yes |
The artifact size in bytes |
x-artifact-duration |
Number | No |
The time taken to generate the uploaded artifact in milliseconds. |
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
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.