tencent cloud

APIs

DescribeContentIdentifiers

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-11-25 17:00:07

1. API Description

Domain name for API request: teo.intl.tencentcloudapi.com.

This API is used to query content identifiers in batches. They can be filtered by ID, description, status, or tags. Deleted content identifiers queried by status are only retained for three months. This feature is only open in the allowlist.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeContentIdentifiers.
Version Yes String Common Params. The value used for this API: 2022-09-01.
Region No String Common Params. This parameter is not required.
Offset No Integer The offset of paginated query. Default value: 0.
Limit No Integer Number limit of paginated query. Default value: 20. Maximum value: 100.
Filters.N No Array of AdvancedFilter Filter criteria. The maximum number of Filters is 20, and the maximum number of Filters.Values is 20. If this parameter is left empty, the content identifiers authorized under the current AppId are returned by default. The detailed filter criteria are as follows:
  • description: filter by content identifier description in batches. For example: test;
  • content-id: filter by content identifier ID in batches. For example: eocontent-2noz78a8ev6k;
  • tag-key: filter by tag key;
  • tag-value: filter by tag value;
  • status: filter by content identifier status. Valid values: active: active; deleted: deleted.
  • Fuzzy query is supported only for description. Precise query is required for other fields.

    3. Output Parameters

    Parameter Name Type Description
    TotalCount Integer Total number of unique identifiers of content that meet filtering criteria.
    ContentIdentifiers Array of ContentIdentifier Content identifier detailed content list.
    RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

    4. Example

    Example1 Query content identifier information

    Query the content identifier by the specified ID.

    Input Example

    POST / HTTP/1.1
    Host: teo.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeContentIdentifiers
    <Common request parameters>
    
    {
        "Filters": [
            {
                "Name": "content-id",
                "Values": [
                    "eocontent-27q0p0sali16"
                ],
                "Fuzzy": false
            }
        ]
    }

    Output Example

    {
        "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"
                }
            ]
        }
    }

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

    Bantuan dan Dukungan

    Apakah halaman ini membantu?

    masukan