[Feature Request] provide dedicated API to get all stored search templates (scripts) #11771
Labels
enhancement
Enhancement or improvement to existing feature or request
Search
Search query, autocomplete ...etc
Is your feature request related to a problem? Please describe
as per the documentation the following is the only way to get a list of all stored search templates (scripts):
Describe the solution you'd like
it'd be great if there'd be a more canonical path to get this. since you
POST /_scripts/[script-id]
to create a script it'd be nice if you couldGET /_scripts
to get a list of all of them andGET /_scripts/[script-id]
to get a specific one.Related component
Other
Describe alternatives you've considered
you can also just keep the current way of retrieving the stored scripts, but it's not an easy-to-remember path. but at least it's documented so you can always copy & paste it (after searching for it) when needed 🙂
Additional context
No response
The text was updated successfully, but these errors were encountered: