Liftbay
API referenceBuilds

Download an artifact

GET
/v1/orgs/{org}/projects/{project}/builds/{number}/artifacts/{artifactId}/download

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

project*string

Project slug

number*integer

Build number within the project

Range0 < value
artifactId*string

Query Parameters

redirect?string

false returns the signed URL as JSON instead of redirecting

Value in"true""false"

Response Body

Signed URL (redirect=false)

application/json
  1. response
url*string
expiresIn*number
curl -X GET "https://example.com/v1/orgs/string/projects/string/builds/1/artifacts/string/download"
{  "url": "string",  "expiresIn": 0}