POST
/
artist
/
bulk
Create Bulk Artists
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "artists": [
    {
      "artistName": "<string>",
      "signDate": "2023-12-25",
      "label": "<string>",
      "externalId": "<string>",
      "users": [
        "<string>"
      ],
      "split": [
        {
          "user": "<string>",
          "share": 123
        }
      ]
    }
  ]
}'
{
  "message": "Bulk artist creation completed",
  "createdArtists": [
    "Artist One",
    "Artist Two"
  ],
  "processedCount": 3,
  "errors": [
    "Artist Three already exists"
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

Created with possible errors

The response is of type object.