Upload a job artifact
POST
/api/v4/jobs/{id}/artifacts
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” id
required
integer
Job’s ID
Request Body required
Section titled “ Request Body required ” Media type multipart/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