接口请求域名: teo.intl.tencentcloudapi.com 。
批量查询内容标识符,可以根据 ID、描述、状态或者标签过滤。按照状态查询被删除的内容标识符仅保留三个月。该功能仅白名单开放。
默认接口请求频率限制:20次/秒。
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Action | 是 | String | 公共参数,本接口取值:DescribeContentIdentifiers。 |
| Version | 是 | String | 公共参数,本接口取值:2022-09-01。 |
| Region | 否 | String | 公共参数,此参数为可选参数。 |
| Offset | 否 | Integer | 分页查询偏移量。默认值:0。 |
| Limit | 否 | Integer | 分页查询限制数目。默认值:20,最大值:100。 |
| Filters.N | 否 | Array of AdvancedFilter | 过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 AppId 下有权限的内容标识符。详细的过滤条件如下: |
| 参数名称 | 类型 | 描述 |
|---|---|---|
| TotalCount | Integer | 符合过滤条件的内容标识符总数。 |
| ContentIdentifiers | Array of ContentIdentifier | 内容标识符详细内容列表。 |
| RequestId | String | 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 |
指定 ID 查询内容标识符
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeContentIdentifiers
<公共请求参数>
{
"Filters": [
{
"Name": "content-id",
"Values": [
"eocontent-27q0p0sali16"
],
"Fuzzy": false
}
]
}
{
"Response": {
"TotalCount": 1,
"RequestId": "3c140219-cfe9-470e-b341-907877d6fb03",
"ContentIdentifiers": [
{
"ContentId": "eocontent-27q0p0sali16",
"Description": "content-test",
"PlanId": "edgeone-2ycvs8ml4zpq",
"ReferenceCount": 10,
"Tags": [
{
"TagKey": "testkey",
"TagValue": "ct"
}
],
"CreatedOn": "2023-10-05T15:30:45Z",
"ModifiedOn": "2023-10-05T15:30:45Z",
"DeletedOn": null,
"Status": "active"
}
]
}
}
云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。
该接口暂无业务逻辑相关的错误码,其他错误码详见 公共错误码。
文档反馈