/checklist/artistsplits
Identifies artists with default splits that reference non-existent tenant users.
Headers:
x-tenant-id
: Required. The tenant IDAuthorization
: Required. Bearer token for authenticationMethod: GET
Response:
message
: Status messageinvalidSplits
(if any): Array of objects with:
artistId
: ID of the artistartistName
: Name of the artistinvalidUserIds
: Array of invalid user IDs referenced in splitscurl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/checklist/artistsplits \
--header 'Authorization: Bearer <token>'
{
"count": 15,
"missingArtistSplits": [
{
"id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"title": "Track Without Artist Split",
"type": "asset",
"artistId": "art1b2c3-e5f6-7890-1234-567890abcdef",
"artistName": "Artist Name",
"reason": "Artist not assigned to split configuration"
},
{
"id": "p1b2c3d4-e5f6-7890-1234-567890abcdef",
"title": "Album Without Artist Split",
"type": "product",
"artistId": "art2c3d4-e5f6-7890-1234-567890abcdef",
"artistName": "Another Artist",
"reason": "Split percentage not defined for artist"
}
]
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Successfully retrieved missing artist splits checklist
The response is of type object
.
curl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/checklist/artistsplits \
--header 'Authorization: Bearer <token>'
{
"count": 15,
"missingArtistSplits": [
{
"id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"title": "Track Without Artist Split",
"type": "asset",
"artistId": "art1b2c3-e5f6-7890-1234-567890abcdef",
"artistName": "Artist Name",
"reason": "Artist not assigned to split configuration"
},
{
"id": "p1b2c3d4-e5f6-7890-1234-567890abcdef",
"title": "Album Without Artist Split",
"type": "product",
"artistId": "art2c3d4-e5f6-7890-1234-567890abcdef",
"artistName": "Another Artist",
"reason": "Split percentage not defined for artist"
}
]
}