Skip to main content
POST
Bind a Source Version into a Project as a Project Asset

Authorizations

Authorization
string
header
required

An Agent credential (nits_…), or a person token (nitp_…) on a deployment that enables them. GET /api/v1/session names the principal a credential proves.

Path Parameters

id
string
required

The Project's projectId.

Required string length: 1 - 200

Body

application/json
bindings
object[]
required
Required array length: 1 - 8 elements
branchId
string
required
Required string length: 1 - 200
idempotencyKey
string
required
Required string length: 1 - 200
label
string
required

The raw label must contain 1 to 200 characters. Leading and trailing whitespace is trimmed; a whitespace-only label is refused.

Required string length: 1 - 200

Response

Bind a Source Version into a Project as a Project Asset

asset
object
required
commit
object
required