Skip to main content
POST
/
asset
/
bulksplits
Set bulk splits for multiple assets
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": {}
}
Update splits for multiple assets in a single request. Request Body:
  • assets (array): Array of asset IDs
  • splits (array): Array of split objects with user and share

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Request Body

Request Schema

FieldTypeRequiredDescription
assetsarray
splitsarray

Responses

✅ 200 - Bulk splits updated successfully

⚠️ 400 - undefined

⚠️ 401 - undefined

❌ 500 - undefined

Tags

Asset

Authorizations

Authorization
string
header
required

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

Body

application/json
assets
string<uuid>[]
splits
object[]

Response

Bulk splits updated successfully

success
boolean
Example:

true

message
string
data
object
I