Returns possible search facet types. Any number of these facets can be enabled or disabled for a Mattress brand.

  • type: The name of the URL parameter to submit to the Reviews API to filter by this facet.
  • is_conjunctive: True if multiple options should be submitted as a logical AND (conjoined with %20), False for a logical OR (conjoined with %2C).
  • name: The human-readable name of the facet.
  • description: The human-readable description of the facet.
GET /api/v1/facets
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

[
    {
        "id": 1,
        "type": "text",
        "is_conjunctive": true
    },
    {
        "id": 2,
        "type": "rating",
        "is_conjunctive": false
    },
    {
        "id": 3,
        "type": "product_id",
        "is_conjunctive": false
    },
    {
        "id": 4,
        "type": "source_id",
        "is_conjunctive": false
    }
]