跳转到主要内容
GET
List a build's releases

授权

Authorization
string
header
必填

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

路径参数

id
string
必填

查询参数

limit
integer
默认值:20
必填范围: 1 <= x <= 100
cursor
string

Opaque pagination cursor from a previous response's nextCursor.

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

响应

OK

releases
object[]
必填
nextCursor
string