tencent cloud

Tencent Cloud AI Digital Human

Related Agreement
Privacy Policy
DSA(Data Sharing Agreement)
DocumentaçãoTencent Cloud AI Digital Human

Obtaining the Temporary Upload Token

Modo Foco
Tamanho da Fonte
Última atualização: 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}/"
}
}


Ajuda e Suporte

Esta página foi útil?

comentários