Stasis
Artifacts

Upload artifact

Upload an artifact for a job

POST
/api/v1/jobs/{job_id}/artifacts
X-API-Key<token>

In: header

Path Parameters

job_id*string

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/artifacts"
{
  "name": "string",
  "size": 0,
  "content_type": "string",
  "created_at": "2019-08-24T14:15:22Z"
}