GET /featured

GET /featured

Return Featured Resources

Query parameters

Responses

GET /featured
curl \
 -X GET https://api.cosmily.com/api/v1/featured \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "products": [
      {
        "id": 12
      }
    ],
    "comparisons": [
      {
        "left_product_id": 45,
        "right_product_id": 56,
        "category_id": 21,
        "comparison_alias": "clean-cleanser-vs-fancy-cleanser"
      }
    ],
    "articles": [
      {
        "id": 2
      }
    ]
  }
}
Response examples (200)
{
  "data": {
    "articles": [
      {
        "id": 2
      }
    ],
    "products": [
      {
        "id": 12
      }
    ],
    "comparisons": [
      {
        "category_id": 21,
        "left_product_id": 45,
        "comparison_alias": "clean-cleanser-vs-fancy-cleanser",
        "right_product_id": 56
      }
    ]
  }
}