Configuração de Filtro
Parâmetros
Campo
Descrição
Valor
Requisição
curl --location '<HOST>/v1/configs' \
--header 'Content-Type: application/json' \
--header 'Authorization: <ACCESS-TOKEN>' \
--data '{
"filter": {
"groups": [
"GROUP-ID"
],
"indexes": [
"123"
],
"description": "FILTER-DESCRIPTION",
"filter": {
"op": "AND",
"filters": [
{
"op": "EQ",
"field_name": "type",
"value": "command",
"value_type": "string"
},
{
"op": "EQ",
"field_name": "bot_id",
"value": "123",
"value_type": "string"
}
]
}
},
"output": {
"target": "https://localhost",
"type": "HTTP",
"http": {
"verify_token": "VERIFY-TOKEN",
"verb": "POST"
}
}
}'Limitações
Last updated