Skip to main content
GET
/
sources
/
admin
/
{id}
Get Royalty Source by ID (Admin)
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/sources/admin/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "src-1",
  "name": "Spotify",
  "label": "Spotify",
  "type": "DSP",
  "format": "csv",
  "public": true
}
Retrieves a royalty source by its ID.

Required Permissions

  • sources:admin:read

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathāœ…Royalty source ID

Responses

āœ… 200 - Royalty source details

āš ļø 401 - undefined

āš ļø 404 - undefined

āŒ 500 - undefined

Tags

Sources

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Royalty source ID

Example:

"src-1"

Response

Royalty source details

id
string
Example:

"src-1"

name
string
Example:

"Spotify"

label
string
Example:

"Spotify"

type
string
Example:

"DSP"

format
string
Example:

"csv"

public
boolean
Example:

true

startDate
string<date>
Example:

"2020-01-01"

endDate
string<date>
Example:

"2025-01-01"

dataQuery
string | null
Example:

"SELECT * FROM ..."

fileNameFormat
string | null
Example:

"royalty_{date}.csv"

schema
object | null
Example:
{}
delimiter
string | null
Example:

","

tableNameFormat
string | null
Example:

"royalty_{tenant}"

headerRows
integer | null
Example:

1

⌘I