Skip to main content
GET
Get a BuildSpec

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

buildSpecId
string<uuid>
required

Response

The BuildSpec.

id
string<uuid>
required
owner
string
required

Username of the BuildSpec's owner.

version
integer
required
sources
object[]
required
destinations
object[]
required
code
object
required
codeSource
enum<string>
required

The spec's transform source. A GitPipeline spec's code is empty; edit its transform through the pipeline files API rather than this field.

Available options:
CodeBlob,
GitPipeline
createdAt
string<date-time>
required

Timestamp of the BuildSpec creation.

Example:

"2005-04-02T19:37:00.000Z"

updatedAt
string<date-time>
required

Timestamp of the BuildSpec last update.

Example:

"2005-04-02T19:37:00.000Z"