List the versions for a Pack.
开发环境
开发环境
GET
/packs/{packId}/versions
Packs
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/packs/123/versions'
响应示例响应示例
200 - 示例 1
{
"nextPageToken": "eyJsaW1pd",
"items": [
{
"source": "web",
"packId": 1003,
"buildNotes": "Adding a new formula.",
"createdAt": "2018-04-11T00:18:57.946Z",
"creationUserLoginId": "api@coda.io",
"releaseId": 2,
"packVersion": "1.0.3",
"sdkVersion": "1.5.1"
}
],
"creationUsers": [
{
"name": "John Doe",
"loginId": "user@example.com",
"pictureLink": "https://cdn.coda.io/avatars/default_avatar.png",
"type": "user"
}
],
"nextPageLink": "https://coda.io/apis/v1/packs/1/versions?pageToken=xyz"
}
请求参数
Path 参数
packId
integer
必需
>= 1
示例值:
123
Query 参数
limit
integer
可选
>= 1
默认值:
25
示例值:
10
pageToken
string
可选
示例值:
eyJsaW1pd