-
Notifications
You must be signed in to change notification settings - Fork 324
Description
Steps to reproduce:
- Make request to POST
/api/v3/configure/processing_engine_triggerwithoutdisabledper v3 api docs fails
curl -i -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-X POST "http://localhost:8283/api/v3/configure/processing_engine_trigger" \
--data \
'{
"db": "test",
"plugin_filename": "test.py",
"trigger_name": "test",
"trigger_specification": "table:test",
"trigger_settings":
{
"run_async": true,
"error_behavior": "log"
}
}'
HTTP/1.1 400 Bad Request serde json error: missing field disabled at line 10 column 1
- Make request to POST
/api/v3/configure/processing_engine_triggerwithdisabledruns successfully
curl -i -H "Authorization: Bearer $TOKEN"
-H "Content-Type: application/json"
-X POST "http://localhost:8283/api/v3/configure/processing_engine_trigger"
--data
'{
"db": "test",
"plugin_filename": "test.py",
"trigger_name": "test",
"trigger_specification": "table:test",
"disabled": false,
"trigger_settings":
{
"run_async": true,
"error_behavior": "log"
}
}'
`HTTP/1.1 200 OK`
__Expected behaviour:__
Required parameters are marked `required`
__Actual behaviour:__
`HTTP/1.1 400 Bad Request serde json error: missing field `disabled` at line 10 column 1`
__Environment info:__
influxdb3 -V
influxdb3 3.8.0-nightly, revision 091601acd330dbd524485e4bae5012c2d2fe96cb
Reactions are currently unavailable