Get script contexts API
Get script contexts API
New API reference
For the most up-to-date API details, refer to Script APIs.
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
GET _script_context
Prerequisites
- If the Elasticsearch security features are enabled, you must have the
manage
cluster privilege to use this API.
当前内容版权归 elasticsearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 elasticsearch .