Get script contexts API

edit

Retrieves a list of supported script contexts and their methods.

resp = client.get_script_context()
print(resp)
response = client.get_script_context
puts response
const response = await client.getScriptContext();
console.log(response);
GET _script_context

Request

edit

GET _script_context

Prerequisites

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