GET
/compare/shared/{token}
curl \
-X GET https://api.cosmily.com/api/v1/compare/shared/{token} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"left_product": {
"id": 42,
"alias": "string"
},
"right_product": {
"id": 42,
"alias": "string"
},
"share_token": "string"
},
"links": {
"left_product": "string",
"right_product": "string",
"left_analysis": "string",
"right_analysis": "string"
}
}
Response examples (200)
{
"data": {
"left_product": {
"id": 42,
"alias": "string"
},
"right_product": {
"id": 42,
"alias": "string"
},
"share_token": "string"
},
"links": {
"left_product": "string",
"right_product": "string",
"left_analysis": "string",
"right_analysis": "string"
}
}