GET
/
user
/
{id}
/
stats
Get User Stats
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id}/stats \
  --header 'Authorization: Bearer <token>'
{
  "artists": 5,
  "assets": 17,
  "products": 7,
  "Royalty_Share": 1135.2762243941013,
  "paid": 100,
  "net": 1135.2762243941013,
  "gross": 1135.2762243941013,
  "due": 1035.2762243941013
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

User ID

Response

200
application/json

Success (NEW) - get user stats

The response is of type object.