elastic / kibana

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

[Infra] Investigate API Endpoints improvements and replacing POST with GET #189170

Open jennypavlova opened 3 months ago

jennypavlova commented 3 months ago

We want to improve the infra APIs and investigate different ways to do that. One thing we want to change is to convert all POST endpoints that are used to fetch data to GET.

Benefits are:

Concerns: If we use GET request the limit we have in the length is 2,048 characters. Moving the properties we have in the request body to the URL can exceed this limit in case of a long list of filters so we need to be careful.

AC:

elasticmachine commented 3 months ago

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

crespocarlos commented 3 months ago

This would also get our APIs closer to our guidelines recommendations.

jennypavlova commented 3 months ago

This would also get our APIs closer to our guidelines recommendations.

Thanks @crespocarlos I added that to the AC

smith commented 1 week ago

Removing from refining into backlog.