Saltar al contenido principal
POST
Build an additional target for a cut release

Autorizaciones

Authorization
string
header
requerido

A workspace-scoped Cloud JWT. A missing or invalid token is 401 UNAUTHORIZED in the Error body.

Parámetros de ruta

id
string
requerido

Cuerpo

application/json
target
object
requerido

Respuesta

Accepted; poll statusUrl.

artifactId
string
requerido
status
enum<string>
requerido

Closed enum for a release's build lifecycle: queued (nothing started), building (a target is in flight), stopping (a target is stopping), stopped (all targets are terminal and some stopped), complete (all targets are terminal and none stopped). It says only whether the build is DONE, not whether it succeeded or is deployable. A complete release may have built all, some, or none of its targets; see artifactCounts and deployable. Adding or retrying a target reopens it to building.

Opciones disponibles:
queued,
building,
complete,
stopping,
stopped
statusUrl
string
requerido