Skip to main content
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
    }
  ]
}
Retrieves a paginated list of all royalty sources in the system.

Required Permissions

  • sources:admin:read

Authentication

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

Query Parameters

ParameterTypeInRequiredDescription
pageintegerqueryPage number for pagination
sizeintegerqueryPage size for pagination
distinctstringqueryIf true, only distinct public sources are returned

Responses

✅ 200 - List of royalty sources

⚠️ 401 - undefined

❌ 500 - undefined

Tags

Sources

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

List of royalty sources

count
integer
Example:

2

rows
object[]
I