メインコンテンツへスキップ
POST
Cut and build a release

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

ボディ

application/json
targets
object[]

Defaults to a single linux/nvidia target when omitted.

レスポンス

Accepted; poll statusUrl.

releaseId
string
必須
status
enum<string>
必須

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.

利用可能なオプション:
queued,
building,
complete,
stopping,
stopped
statusUrl
string
必須
queuePosition
integer

Not sent: a new release at the running-build cap is refused with 429 (CONCURRENCY_LIMIT) rather than queued.