POST
/
file
/
resend-pending-files
Resend Pending Files
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"
    ]
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json

Response

200
application/json

Pending files resent for processing

The response is of type object.