tencent cloud

Obtaining the Temporary Upload Token
Terakhir diperbarui:2024-07-18 17:52:18
Obtaining the Temporary Upload Token
Terakhir diperbarui: 2024-07-18 17:52:18
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}/"
}
}

Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
Ya
Tidak

masukan