This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/checklist/assetsplits \
  --header 'Authorization: Bearer <token>'{
  "all": [
    {
      "id": "b494ef80-3c3b-4f7c-9234-6ea714bc542e"
    },
    {
      "id": "06489ec1-892b-4faf-b39a-dd5937e1c1a1"
    }
  ],
  "defaultset": [
    {
      "1": [
        {
          "id": "4639ea41-8609-4063-938c-1feca15db678,"
        },
        {
          "isrc": "1234"
        },
        {
          "title": "Asset"
        },
        {
          "displayArtist": ""
        },
        {
          "split": 100
        }
      ]
    },
    {
      "2": [
        {
          "id": "84cb7d2a-85c2-4338-861e-13e7b28fda98"
        },
        {
          "isrc": "QZ5FN1758268"
        },
        {
          "title": "My Place"
        },
        {
          "displayArtist": "Star Girl"
        },
        {
          "split": 15
        }
      ]
    }
  ]
}/checklist/assetsplits
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/checklist/assetsplits \
  --header 'Authorization: Bearer <token>'{
  "all": [
    {
      "id": "b494ef80-3c3b-4f7c-9234-6ea714bc542e"
    },
    {
      "id": "06489ec1-892b-4faf-b39a-dd5937e1c1a1"
    }
  ],
  "defaultset": [
    {
      "1": [
        {
          "id": "4639ea41-8609-4063-938c-1feca15db678,"
        },
        {
          "isrc": "1234"
        },
        {
          "title": "Asset"
        },
        {
          "displayArtist": ""
        },
        {
          "split": 100
        }
      ]
    },
    {
      "2": [
        {
          "id": "84cb7d2a-85c2-4338-861e-13e7b28fda98"
        },
        {
          "isrc": "QZ5FN1758268"
        },
        {
          "title": "My Place"
        },
        {
          "displayArtist": "Star Girl"
        },
        {
          "split": 15
        }
      ]
    }
  ]
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/checklist/assetsplits', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"