Get script contexts API
editGet script contexts API
editRetrieves 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
editGET _script_context
Prerequisites
edit-
If the Elasticsearch security features are enabled, you must have the
manage
cluster privilege to use this API.