I would like to be able to list all of the scripts stored on a given Elasticsearch cluster.
The elasticsearch documentation has clear examples for how to create, retrieve, use and delete a script with a particular name. Unfortunately, there is no mention of a list endpoint.
The following do not work (at least in Elasticsearch 5.4.1):
GET _cat/scripts
GET _scripts
GET _scripts/