Authorization: Bearer ********************
{
"ticket": "string",
"commonAccountInfo": {
"accountType": 0
},
"path": "string",
"cloudID": "string",
"cloudType": 0,
"catalogType": 0,
"fileCount": 0,
"totalSize": 0,
"uploadContentList": [
{
"comlexFlag": "string",
"contentDesc": "string",
"contentName": "string",
"contentSize": 0,
"fileEtag": 0,
"fileVersion": 0,
"manualRename": "string",
"seqNo": "string"
}
]
}
curl --location --request POST 'http://api.sikey.com.cn/app-api/mcdisk/wristwatch/familyCloud/getFileUploadURL' \
--header 'accessToken;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ticket": "string",
"commonAccountInfo": {
"accountType": 0
},
"path": "string",
"cloudID": "string",
"cloudType": 0,
"catalogType": 0,
"fileCount": 0,
"totalSize": 0,
"uploadContentList": [
{
"comlexFlag": "string",
"contentDesc": "string",
"contentName": "string",
"contentSize": 0,
"fileEtag": 0,
"fileVersion": 0,
"manualRename": "string",
"seqNo": "string"
}
]
}'
{
"code": 0,
"data": {
"uploadResult": {
"uploadTaskID": "string",
"redirectionUrl": "string",
"newContentIDList": [
{
"overridenFlag": 0,
"contentID": "string",
"isNeedUpload": "string",
"contentName": "string"
}
]
}
},
"msg": "string"
}