Get script languages API

edit

Retrieves a list of supported script languages and their contexts.

resp = client.get_script_languages()
print(resp)
response = client.get_script_languages
puts response
const response = await client.getScriptLanguages();
console.log(response);
GET _script_language

Request

edit

GET _script_language

Prerequisites

edit
  • If the Elasticsearch security features are enabled, you must have the manage cluster privilege to use this API.