GET
/
sources
/
admin
List All Royalty Sources (Admin)
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/sources/admin \
  --header 'Authorization: Bearer <token>'
{
  "count": 2,
  "rows": [
    {
      "id": "src-1",
      "name": "Spotify",
      "label": "Spotify",
      "type": "DSP",
      "format": "csv",
      "public": true
    },
    {
      "id": "src-2",
      "name": "Apple Music",
      "label": "Apple Music",
      "type": "DSP",
      "format": "csv",
      "public": true
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer
default:1

Page number for pagination

Example:

1

size
integer
default:100

Page size for pagination

Example:

100

distinct
enum<string>
default:false

If true, only distinct public sources are returned

Available options:
true,
false

Response

200
application/json

List of royalty sources

The response is of type object.