Upload job artifacts
POST
/api/v4/jobs/{id}/artifacts
Uploads artifacts for a specified job.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
Job’s ID
Request Bodyrequired
Section titled “Request Bodyrequired”Media typemultipart/form-data
object
file
required
The artifact file to store (generated by Multipart middleware)
string format: binary
token
Job’s authentication token
string
expire_in
Specify when artifact should expire
string
artifact_type
The type of artifact
string
artifact_format
The format of artifact
string
metadata
The artifact metadata to store (generated by Multipart middleware)
string format: binary
accessibility
Specify accessibility level of artifact private/public
string
Responses
Section titled “Responses”Created
Bad request
Forbidden
Not Found
Artifacts support not enabled
File too large
Too Many Requests