调用协议
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 |
StartTime | int | 是 | 临时证书有效起始时间,返回 Unix 时间戳,精确到秒 |
ExpiredTime | int | 是 | 临时证书有效截止时间,返回 Unix 时间戳,精确到秒 |
PathPrefix | string | 是 | 上传到 COS 上的路径前缀 |
返回示例
{"Header": {"RequestID": "c18aeee4e49d89e408231c5b3ceea23c","SessionID": "gzfa9105ca17310669340273673","Code": 0,"Message": "ok"},"Payload": {"Credentials": {"TmpSecretId": "AKID************************************************ib","TmpSecretKey": "DVki***********************************k0=","Token": "8oz1l****************************************************49esQlGO940LX2tacXiCv4YS2qdBsiQ"},"ExpiredTime": 1731074134,"PathPrefix": "https://cos-test.ap-guangzhou.myqcloud.com/customer-pipeline/123/4506c29b-2904-45e2-b7d7-3052fe2493c2/","StartTime": 1731066934}}