PutUploadContentParts
endpoint.{
"userAppId": {
"userId": "string",
"appId": "string"
},
"inputsUploads": [
{
"inputsAddJobId": "string",
"appPat": "string",
"upload": {
"id": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"status": {
"code": {},
"description": "string",
"details": "string",
"stackTrace": [
"string"
],
"percentCompleted": 0,
"timeRemaining": 0,
"reqId": "string",
"internalDetails": "string",
"redirectInfo": {
"url": "string",
"resourceType": "string",
"oldResourceId": "string",
"newResourceId": "string"
}
},
"contentName": "string",
"contentLength": "string",
"contentUrl": "string"
},
"inputIdConflictResolution": "INPUT_ID_CONFLICT_RESOLUTION_NOT_SET"
}
]
}
curl --location --request POST 'http://dev-cn.your-api-server.com/v2/inputs/uploads' \
--header 'Content-Type: application/json' \
--data-raw '{
"userAppId": {
"userId": "string",
"appId": "string"
},
"inputsUploads": [
{
"inputsAddJobId": "string",
"appPat": "string",
"upload": {
"id": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"status": {
"code": {},
"description": "string",
"details": "string",
"stackTrace": [
"string"
],
"percentCompleted": 0,
"timeRemaining": 0,
"reqId": "string",
"internalDetails": "string",
"redirectInfo": {
"url": "string",
"resourceType": "string",
"oldResourceId": "string",
"newResourceId": "string"
}
},
"contentName": "string",
"contentLength": "string",
"contentUrl": "string"
},
"inputIdConflictResolution": "INPUT_ID_CONFLICT_RESOLUTION_NOT_SET"
}
]
}'
{
"status": {
"code": {},
"description": "string",
"details": "string",
"stackTrace": [
"string"
],
"percentCompleted": 0,
"timeRemaining": 0,
"reqId": "string",
"internalDetails": "string",
"redirectInfo": {
"url": "string",
"resourceType": "string",
"oldResourceId": "string",
"newResourceId": "string"
}
},
"inputsAddJobs": [
{
"id": "string",
"callBackUrl": "string",
"appPat": "string",
"progress": {
"pendingCount": "string",
"inProgressCount": "string",
"successCount": "string",
"failedCount": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"extractionJobs": [
{
"status": {
"code": {},
"description": "string",
"details": "string",
"stackTrace": [
"string"
],
"percentCompleted": 0,
"timeRemaining": 0,
"reqId": "string",
"internalDetails": "string",
"redirectInfo": {
"url": "string",
"resourceType": "string",
"oldResourceId": "string",
"newResourceId": "string"
}
},
"id": "string",
"url": "string",
"progress": {
"audioInputsCount": "string",
"imageInputsCount": "string",
"videoInputsCount": "string",
"textInputsCount": "string",
"pendingArchivesCount": "string",
"inProgressArchivesCount": "string",
"completedArchivesCount": "string",
"failedArchivesCount": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"inputIdConflictResolution": "INPUT_ID_CONFLICT_RESOLUTION_NOT_SET"
}
],
"uploads": [
{
"id": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"status": {
"code": {},
"description": "string",
"details": "string",
"stackTrace": [
"string"
],
"percentCompleted": 0,
"timeRemaining": 0,
"reqId": "string",
"internalDetails": "string",
"redirectInfo": {
"url": "string",
"resourceType": "string",
"oldResourceId": "string",
"newResourceId": "string"
}
},
"contentName": "string",
"contentLength": "string",
"contentUrl": "string"
}
],
"status": {
"code": {},
"description": "string",
"details": "string",
"stackTrace": [
"string"
],
"percentCompleted": 0,
"timeRemaining": 0,
"reqId": "string",
"internalDetails": "string",
"redirectInfo": {
"url": "string",
"resourceType": "string",
"oldResourceId": "string",
"newResourceId": "string"
}
}
}
]
}