Domain name for API request: teo.intl.tencentcloudapi.com.
This API is used to create a content identifier. You can set the description, tag, and other information. At the same time, you need to bind an enterprise package for billing data statistics. A content identifier can only be bound to one billing package, while a billing package can bind multiple content identifiers. This functionality is only available to allowlisted users.
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 limited to 20 characters. |
| PlanId | Yes | String | Target bundle ID to be bound. Enterprise edition only. |
| Tags.N | No | Array of Tag | Tag. This parameter is used for authority control over content identifiers. Go to the tag console (https://console.tencentcloud.com/tag/taglist) first to create tags before you can input the corresponding tag key and tag value here. |
| Parameter Name | Type | Description |
|---|---|---|
| ContentId | String | ID of the generated content. After creation is completed, 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 a content identifier and bind tags simultaneously.
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateContentIdentifier
<Common request parameters>
{
"Tags": [
{
"TagKey": "testkey",
"TagValue": "testvalue"
}
],
"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.
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários