Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DevTools] support arrays as bodies for POST #200267

Open
pmuellr opened this issue Nov 14, 2024 · 3 comments
Open

[DevTools] support arrays as bodies for POST #200267

pmuellr opened this issue Nov 14, 2024 · 3 comments
Assignees
Labels
enhancement New value added to drive a business result Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@pmuellr
Copy link
Member

pmuellr commented Nov 14, 2024

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.

@pmuellr pmuellr added the Feature:Console Dev Tools Console Feature label Nov 14, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 14, 2024
@pmuellr pmuellr added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more and removed needs-team Issues missing a team label labels Nov 14, 2024
@elasticmachine
Copy link
Contributor

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

@alisonelizabeth alisonelizabeth added the enhancement New value added to drive a business result label Nov 20, 2024
@sabarasaba
Copy link
Member

In order to support this, we are going to need to make changes to the parser and to the editor_actions_provider in order to add array delimited bodies, at the moment it only supports object based ones

@alisonelizabeth
Copy link
Contributor

@mattkime can you pick this one up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

5 participants