Skip to main content
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
  }
]
/user//artists Description:
The /user/{userId}/artists endpoint allows users to retrieve the list of artists associated with a specific user identified by their unique userId.
Method:
GET
Path Parameter:
ParameterTypeDescription
userIdstringThe unique identifier of the user.

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathāœ…User ID

Query Parameters

ParameterTypeInRequiredDescription
statsstringqueryāŒInclude statistics data

Responses

āœ… 200 - Success with Stats

āš ļø 401 - Unauthorized

āš ļø 404 - Not Found

āŒ 500 - Internal Server Error

Tags

User

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

Success with Stats

id
string
artistName
string
assets
integer
products
integer
count
integer
royalty
number
⌘I