List the Pack listings accessible to a user.
开发环境
开发环境
GET
/packs/listings
Packs
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/packs/listings'
响应示例响应示例
200 - 示例 1
{
"nextPageToken": "eyJsaW1pd",
"items": [
{
"minimumFeatureSet": "Basic",
"unrestrictedFeatureSet": "Basic",
"standardPackPlan": {
"packPlanId": "string",
"packId": 0,
"createdAt": "2018-04-11T00:18:57.946Z",
"pricing": {
"type": "Free"
}
},
"bundledPackPlan": {
"pricing": {
"minimumFeatureSet": "Pro",
"type": "BundledWithTier"
},
"packPlanId": "string",
"packId": 0,
"createdAt": "2018-04-11T00:18:57.946Z"
},
"sourceCodeVisibility": "private",
"packId": 1003,
"packVersion": "1.0.3",
"releaseId": 2,
"lastReleasedAt": "2018-04-11T00:18:57.946Z",
"logoUrl": "string",
"coverUrl": "string",
"exampleImages": [
{
"filename": "string",
"imageUrl": "string",
"assetId": "string",
"altText": "string",
"mimeType": "image/jpeg"
}
],
"name": "Cool Geometry Formulas",
"description": "This Pack allows users to calculate the surface area and volume of a few common 3D shapes, like cubes and pyramids.",
"shortDescription": "Calculate cool geometric formulas like surface area.",
"supportEmail": "user@email.com",
"termsOfServiceUrl": "string",
"privacyPolicyUrl": "string",
"categories": [
{
"categoryId": "aBCdEFg",
"categoryName": "Project management",
"categorySlug": "project-management"
}
],
"makers": [
{
"name": "John Doe",
"pictureLink": "https://cdn.coda.io/avatars/default_avatar.png",
"slug": "string",
"jobTitle": "string",
"employer": "string",
"description": "string"
}
],
"certified": true,
"externalMetadataUrl": "https://codahosted.io/packs/12345/1.2.3/metadata/0c892064aa5cb.json",
"sdkVersion": "1.5.1"
}
],
"nextPageLink": "https://coda.io/apis/v1/packs/listings?pageToken=xyz"
}
请求参数
Query 参数
packAccessTypes
array[string]
可选
枚举值:
viewtesteditadmin
packIds
array[integer]
可选
onlyWorkspaceId
string
可选
parentWorkspaceIds
array[string]
可选
excludePublicPacks
boolean
可选
excludeWorkspaceAcls
boolean
可选
excludeIndividualAcls
boolean
可选
sortBy
enum<string>
可选
枚举值:
packIdnamepackVersionpackVersionModifiedAt
orderBy
enum<string>
可选
枚举值:
packIdnamepackVersionpackVersionModifiedAt
direction
enum<string>
可选
枚举值:
ascendingdescending
limit
integer
可选
>= 1
默认值:
25
示例值:
10
pageToken
string
可选
示例值:
eyJsaW1pd
返回响应
修改于 2024-03-20 08:13:15