Skip to content

List the versions of a feature rule

Request

Retrieves a lists of all the versions for a single feature rule.

Security
ZephrHmacHttp
Path
featureRuleIdstringrequired

Unique Feature Rule identifier

cURL
curl -i -X GET \
  'https://demo.api.zephr.com/v3/feature-rules/{featureRuleId}/versions' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK

Headers
any
Bodyapplication/json
Array [
idstring
Example:"featureRuleId"
versionnumber
Example:1
tagsArray of any
labelstring
Example:"Test feature"
descriptionstring
Example:"Test feature"
last_updatedstring
Example:"2011-11-11T11:11:11.000"
request_typestring
Enum:"html""json""graphql"
Example:"html"
target_namestring
Example:"article"
match_operationstring
Enum:"equals""contains"
Example:"equals"
target_valuestring
Example:"home_bottom"
css_selectorstring
Example:".trial-download-single.trial"
]
Response
[ { "id": "featureRuleId", "version": 1, "tags": [], "label": "Test feature", "description": "Test feature", "last_updated": "2011-11-11T11:11:11.000" } ]