/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:
Parameter | Type | Description |
---|---|---|
userId | string | The unique identifier of the user. |
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
}
]
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
User ID
Include statistics data
Success with Stats
The response is of type object[]
.
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
}
]