GET
/
user
/
{id}
/
artists
Get User Artists
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id}/artists \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "a5f64f77-6207-46b7-9069-e4493f7cf429",
    "artistName": "jhcx jbnx",
    "assets": 0,
    "products": 3,
    "count": 0,
    "royalty": 0
  },
  {
    "id": "a93b5bf5-5b82-4662-bf45-e540ae37bd46",
    "artistName": "Star Girl",
    "assets": 17,
    "products": 4,
    "count": 8371614,
    "royalty": 17203.101640603374
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

User ID

Query Parameters

stats
string

Include statistics data

Response

200
application/json

Success with Stats

The response is of type object[].