Skip to main content
POST
Create a BuildSpec

Authorizations

Authorization
string
header
required

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

Body

application/json
sources
object[]
required
Minimum array length: 1
destination
object
required
code
object
required

Response

The created BuildSpec.

id
string<uuid>
required
owner
string
required

Username of the BuildSpec's owner.

version
integer
required
sources
object[]
required
destination
object
required
code
object
required
createdAt
string
required
updatedAt
string
required