elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.64k stars 8.23k forks source link

[DevTools] support arrays as bodies for POST #200267

Open pmuellr opened 4 hours ago

pmuellr commented 4 hours ago

We are working on a new feature where we have a POST route whose body is an array. Unfortunately, it doesn't appear we can use this in Dev Tools:

POST kbn:/internal/alerting/rules/backfill/_schedule 
[{
  "rule_id": "ef89a4a7-e374-4a6d-91fd-9dc9278eb36c",
  "start": "2024-11-14T16:49:00Z"
}]

Image

The left bracket has a red squiggly, and the method/url and body are treated as separate things, instead of being a single thing.

elasticmachine commented 4 hours ago

Pinging @elastic/kibana-management (Team:Kibana Management)