artist/
Description:
The /artist/{id}
endpoint allows updating the details of a specific artist identified by their unique ID.
Method:
PUT
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the artist. |
Request Payload:
Parameter | Type | Description |
---|---|---|
artistName | string | The updated name of the artist. |
signDate | date | The updated sign date. |
label | string | The updated label. |
externalId | string | The updated external ID. |
links | object | Updated links. |
split | array | Updated split information. |
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"artistName": "<string>",
"signDate": "2023-12-25",
"label": "<string>",
"externalId": "<string>",
"links": {},
"split": [
{
"user": "<string>",
"share": 123
}
]
}'
{
"message": "Artist updated successfully"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Artist ID
Success
The response is of type object
.
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"artistName": "<string>",
"signDate": "2023-12-25",
"label": "<string>",
"externalId": "<string>",
"links": {},
"split": [
{
"user": "<string>",
"share": 123
}
]
}'
{
"message": "Artist updated successfully"
}