/product/
Description:
The /product/{id}
endpoint retrieves detailed information about a specific product identified by its unique ID.
Method:
GET
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the product. |
curl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/product/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Product retrieved successfully",
"product": {
"id": "77339e1c-f962-447c-bf13-8fc047d4f8d2",
"upc": "AB12fdfdg348vvfv67890ff",
"title": "Mavins sabi girl",
"displayArtist": "arya star",
"mainArtist": [
"arya star"
],
"type": "Audio",
"format": "Single",
"releaseDate": "2022-02-01",
"mainGenre": [
"Pop"
],
"subGenre": [
"Electronic"
],
"label": "Example Label",
"status": "Live",
"distribution": "Example Distribution",
"externalId": "product-external-123"
}
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Product ID
Success
The response is of type object
.
curl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/product/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Product retrieved successfully",
"product": {
"id": "77339e1c-f962-447c-bf13-8fc047d4f8d2",
"upc": "AB12fdfdg348vvfv67890ff",
"title": "Mavins sabi girl",
"displayArtist": "arya star",
"mainArtist": [
"arya star"
],
"type": "Audio",
"format": "Single",
"releaseDate": "2022-02-01",
"mainGenre": [
"Pop"
],
"subGenre": [
"Electronic"
],
"label": "Example Label",
"status": "Live",
"distribution": "Example Distribution",
"externalId": "product-external-123"
}
}