Authorize uploading job artifact
POST
/api/v4/jobs/{id}/artifacts/authorize
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 type application/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