Resends all pending files for a given royalty source for processing.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/file/resend-pending-files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"royaltySourceId": "source-uuid-123"
}'
{
"success": true,
"message": "Pending files have been resent for processing",
"analytics": {
"totalPendingFiles": 3,
"eligibleFilesForProcessing": 2,
"processedFilesCount": 2,
"failedFilesCount": 1,
"failedFiles": [
"Error processing file file-uuid-456"
]
}
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Pending files resent for processing
The response is of type object
.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/file/resend-pending-files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"royaltySourceId": "source-uuid-123"
}'
{
"success": true,
"message": "Pending files have been resent for processing",
"analytics": {
"totalPendingFiles": 3,
"eligibleFilesForProcessing": 2,
"processedFilesCount": 2,
"failedFilesCount": 1,
"failedFiles": [
"Error processing file file-uuid-456"
]
}
}