Domain name for API request: teo.intl.tencentcloudapi.com.
This API is used to create content identifiers, where you can set descriptions, tags, and other information. It is also necessary to bind an enterprise edition package for billing data statistics. A content identifier can only bind one billing package, while a billing package can bind multiple content identifiers. This feature is only available to the allowlist.
A maximum of 20 requests can be initiated per second for this API.
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: CreateContentIdentifier. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
Region | No | String | Common Params. This parameter is not required. |
Description | Yes | String | Description of the content identifier, length limit of up to 20 characters. |
PlanId | Yes | String | Target plan id to be bound, available only for the enterprise edition. |
Tags.N | No | Array of Tag | Tags of the content identifier. this parameter is used for authority control. to create tags, go to the tag console. |
Parameter Name | Type | Description |
---|---|---|
ContentId | String | Generated content identifier id. after creation, you can go to the rule engine to "set the content identifier" under certain match conditions. |
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. |
Create content identifiers and bind tags.
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateContentIdentifier
<Common request parameters>
{
"Tags": [
{
"TagKey": "test",
"TagValue": "abc"
}
],
"PlanId": "edgeone-37q0w7qali10",
"Description": "content-test"
}
{
"Response": {
"ContentId": "eocontent-27q0p1bali16",
"RequestId": "3c140219-cff9-470e-b241-907877d6fb03"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.