Skip to main content
GET
/
artist
/
stats
/
{id}
Get Artist Stats
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/stats/{id} \
  --header 'Authorization: Bearer <token>'
{
  "assets": 25,
  "products": 10,
  "totalRoyalties": 5000.5,
  "totalPaid": 3000,
  "totalDue": 2000.5
}
artist/stats/ Description:
The /artist/stats/{id} endpoint retrieves statistical information for a specific artist.
Method:
GET
Path Parameter:
ParameterTypeDescription
idstringThe unique identifier of the artist.

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathArtist ID

Responses

✅ 200 - Success

⚠️ 401 - undefined

⚠️ 404 - undefined

❌ 500 - undefined

Tags

Artist

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Artist ID

Response

Success

assets
integer
products
integer
totalRoyalties
number
totalPaid
number
totalDue
number
I