v1

latestOpenAPI 3.0.02026-08-0610682246.0 KB
Zephr Features

Retrieve the Zephr Feature

Retrieves the Zephr browser features by default, or optionally with query parameter ?ruleType returns the given type, they can be HTML, browser, JSON, SDK.

get/zephr/features

Query parameters

ruleType'browser' | 'html' | 'json' | 'sdk'

Type of the feature rule

Response

OK. The response will be an array of features.

idstring
labelstring
slugstring
targetType'CSS_SELECTOR' | 'COMMENT_TAG' nullable
cssSelectorstring

If the feature has a targetType of CSS_SELECTOR then the response will include a cssSelector field.

Example response

[
  {
    "id": "feature-live",
    "label": "feature-label",
    "slug": "feature-slug",
    "cssSelector": ".feature-css-selector"
  }
]