调用协议
HTTPS + JSON
POST /v2/ivh/assetmanager/customservice/getuploadcredentials
Header Content-Type: application/json;charset=utf-8
请求参数
无
返回参数
参数 | 类型 | 必须 | 说明 |
Credentials | object | 是 | 临时密钥信息 |
Credentials.Token | string | 是 | 临时密钥令牌 |
Credentials.TmpSecretId | string | 是 | 临时证书密钥ID |
Credentials.TmpSecretKey | object | 是 | 临时证书密钥Key |
ExpiredTime | int | 是 | 临时证书有效的时间,返回 Unix 时间戳,精确到秒 |
PathPrefix | string | 是 | 上传到cos上的路径前缀 |
返回示例
{"Header": {"Code": 0,"DialogID": "","Message": "","RequestID": "123"},"Payload": {"Credentials": {"Token": "XXX","TmpSecretId": "XXX","TmpSecretKey": "XXX"},"ExpiredTime": 1547696355,"PathPrefix": "域名/customer-pipline/{数字}/{uuid}/"}}