Generates a royalty report file based on BigQuery data and saves it to storage.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/file/createroyalty \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"success": true,
"message": "Royalty report file generated",
"data": {
"name": "f-2025-07-08.csv",
"status": "generated",
"id": "file-uuid-123"
}
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Royalty report file generated
The response is of type object
.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/file/createroyalty \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"success": true,
"message": "Royalty report file generated",
"data": {
"name": "f-2025-07-08.csv",
"status": "generated",
"id": "file-uuid-123"
}
}