Authorize artifacts upload
POST
/api/v4/jobs/{id}/artifacts/authorize
Authorizes uploading 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 Body
Section titled “Request Body”Media typeapplication/json
object
token
Job’s authentication token
string
filesize
Size of artifact file
integer
artifact_type
The type of artifact
string
Responses
Section titled “Responses”Upload allowed
Bad Request
Forbidden
Not Found
Artifacts support not enabled
File too large
Too Many Requests