Update splits for multiple assets in a single request.
Request Body:
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/asset/bulksplits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"assets": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"splits": [
{
"user": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"share": 123
}
]
}'
{
"success": true,
"message": "<string>",
"data": {}
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Bulk splits updated successfully
The response is of type object
.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/asset/bulksplits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"assets": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"splits": [
{
"user": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"share": 123
}
]
}'
{
"success": true,
"message": "<string>",
"data": {}
}