跳转到主要内容
GET
列出计划
列表项是摘要,而非完整计划metadata 和 phases 仅由检索计划返回,此列表 endpoint 不返回。如果您需要在列表中为每个计划获取这两项中的任意一项,请针对每一项调用检索计划。

授权

public-api-key
string
header
默认值:<Your public-api-key>
必填
private-secret-key
string
header
默认值:<Your private-secret-key>
必填

请求头

X-Account-Code
string

在 Yuno Dashboard 中找到的 account_id(UUID)。除非通过查询参数提供 account_id,否则必填;两者都没有时,调用会返回 400 BAD_REQUEST(“Invalid x-account-code header.”)。

查询参数

account_id
string

将列表限定为某一个账户。可替代 X-Account-Code 标头,二者必须提供其一。

limit
integer

返回的计划数量上限。默认为 20。

offset
integer

要跳过的计划数量。默认为 0。

响应

200

data
object[]
pagination
object