Skip to content

Create a feature rule version

Request

Creates a feature rule version.

Security
ZephrHmacHttp
Path
featureRuleIdstringrequired

Unique Feature Rule identifier

Bodyapplication/json
labelstring
Example:"Test feature"
descriptionstring
Example:"Test feature"
requirements_scriptstring
Example:"return []"
action_scriptstring
Example:"return \"this is a test\""
script_typestring
Example:"javascript"
graph_statestring
Example:"{\"property1\": \"value1\"}"
editing_modestring
Example:"manual"
{ "label": "Test feature", "description": "Test feature", "requirements_script": "return []", "action_script": "return \"this is a test\"", "script_type": "javascript", "graph_state": "{\"property1\": \"value1\"}", "editing_mode": "manual" }

Responses

OK

Headers
any
Response
No content