Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
form_set_condition created
Creates a new form_set_condition from provided data
curl --request POST \
--url https://api.rootly.com/v1/form_sets/{form_set_id}/conditions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_set_conditions",
"attributes": {
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
]
}
}
}'{
"data": {
"id": "86984054-d6ce-43a9-8a47-591ca4cc1e24",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "4e037e13-e580-4a9d-9917-f4c1c79d3561",
"form_field_id": "ef25639c-0324-4cee-bf3a-78862b3d2b6b",
"comparison": "equal",
"values": [
"test"
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
form_set_condition created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/form_sets/{form_set_id}/conditions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_set_conditions",
"attributes": {
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
]
}
}
}'{
"data": {
"id": "86984054-d6ce-43a9-8a47-591ca4cc1e24",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "4e037e13-e580-4a9d-9917-f4c1c79d3561",
"form_field_id": "ef25639c-0324-4cee-bf3a-78862b3d2b6b",
"comparison": "equal",
"values": [
"test"
]
}
}
}