REST API
Infra APIBuild

Get a download URL for a build artifact

GET/api/v1/build/jobs/{id}/artifact

Returns a short-lived signed GET URL for the artifact a passing build captured. 404 if the build captured no artifact.

Authorization

BearerAuth
AuthorizationBearer <token>

Hydra JWT Bearer token

In: header

Path Parameters

id*string

Build job id

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/build/jobs/string/artifact"
{  "artifact_url": "string",  "download_url": "string",  "expires_at": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}