tencent cloud

14天试用边缘安全加速平台 EO 限时免费

Feedback

Tencent Cloud AI Digital Human

Obtaining the Temporary Upload Token

Last updated: 2024-07-18 17:57:37
Before calling the Customized API, upload the material files to the specified cloud storage. First, obtain the temporary upload token and the specified upload path through this API, then upload the corresponding files to the cloud storage using the Upload Materials to Tencent Cloud COS API.

Calling Protocol

HTTPS + JSON
POST /v2/ivh/assetmanager/customservice/getuploadcredentials
Header Content-Type: application/json;charset=utf-8

Request Parameters

No

Response Parameter

Parameters
Type
Mandatory
Description
Credentials
object
Yes
Temporary Credential Information
Credentials.Token
string
Yes
Temporary Credential Token
Credentials.TmpSecretId
string
Yes
Temporary Certificate Key ID
Credentials.TmpSecretKey
object
Yes
Temporary Certificate Key
ExpiredTime
int
Yes
The validity period of the temporary certificate, returned as a Unix timestamp in seconds.
PathPrefix
string
Yes
Prefix for the upload path on COS

Response Sample

{
"Header": {
"Code": 0,
"DialogID": "",
"Message": "",
"RequestID": "123"
},
"Payload": {
"Credentials": {
"Token": "XXX",
"TmpSecretId": "XXX",
"TmpSecretKey": "XXX"
},
"ExpiredTime": 1547696355,
"PathPrefix": "domain name/customer-pipeline/{digit}/{uuid}/"
}
}


Catalog

In The Article

Obtaining the Temporary Upload Token

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
中国香港
+852 800 906 020 (免费)
美国
+1 844 606 0804 (免费)
英国
+44 808 196 4551 (免费)
加拿大
+1 888 605 7930 (免费)
澳大利亚
+61 1300 986 386 (免费)
EdgeOne 热线
+852 300 80699
更多本地服务热线陆续新增中