GET /v1/features/

Get company features

Responses

  • 200 application/json

    successful operation

    Hide response attribute Show response attribute object
    • features array[object] Required

      Features list

      Feature schema

      Hide features attributes Show features attributes object
      • name string Required

        Values are waiting-lists, trials, shop, shop-product-list-page, or shop-product-recs.

      • enabled boolean Required

        Enabled

      • disabledByAdmin boolean Required

        Disabled by admin

  • 403 application/json

    Not authorized

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

  • 404 application/json

    Not found

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

GET /v1/features/
curl \
 --request GET 'https://localhost/v1/features/'
Response examples (200)
{
  "features": [
    {
      "name": "waiting-lists",
      "enabled": true,
      "disabledByAdmin": false
    }
  ]
}
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}
Response examples (404)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}