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": "762a38e1-a0c9-4045-9c41-c124d51a9518",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "83f06de8-4fdb-47fe-8575-4a662c4b9fad",
"form_field_id": "ab2c733a-ae15-46b0-852e-bce7a2e03332",
"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": "762a38e1-a0c9-4045-9c41-c124d51a9518",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "83f06de8-4fdb-47fe-8575-4a662c4b9fad",
"form_field_id": "ab2c733a-ae15-46b0-852e-bce7a2e03332",
"comparison": "equal",
"values": [
"test"
]
}
}
}