This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Artist ID
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id} \
  --header 'Authorization: Bearer <token>'{
  "message": "Artist retrieved successfully",
  "artist": {
    "id": "2fca1b81-2f97-4b02-92a2-899d17c756b8",
    "artistName": "Young Blud",
    "signDate": "2022-01-21T00:00:00.000Z",
    "label": "Mavins Records",
    "externalId": "1rema45"
  }
}artist/
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id} \
  --header 'Authorization: Bearer <token>'{
  "message": "Artist retrieved successfully",
  "artist": {
    "id": "2fca1b81-2f97-4b02-92a2-899d17c756b8",
    "artistName": "Young Blud",
    "signDate": "2022-01-21T00:00:00.000Z",
    "label": "Mavins Records",
    "externalId": "1rema45"
  }
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/artist/example-id', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Artist ID