runnerPutArtifact
PUT
/api/runner/v1/task-runs/{taskRunId}/artifacts/{name}
const url = 'https://example.com/api/runner/v1/task-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/artifacts/example';const options = { method: 'PUT', headers: {'Content-Type': 'application/octet-stream'}, body: 'binary'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/runner/v1/task-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/artifacts/example \ --header 'Content-Type: application/octet-stream' \ --data binaryParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”taskRunId
required
string format: uuid
name
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/octet-stream
string format: binary
Responses
Section titled “ Responses ”Stored.