Download Artifact
GET
/v1/artifacts/{artifact_id}
const url = 'http://localhost:8080/v1/artifacts/example?expires=1&tenant=example&token=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8080/v1/artifacts/example?expires=1&tenant=example&token=example'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” artifact_id
required
Artifact Id
string
Query Parameters
Section titled “Query Parameters ” expires
required
Expires
integer
tenant
required
Tenant
string
token
required
Token
string
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
exampleValidation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}