API получения контекстов скриптов
Возвращает список поддерживаемых контекстов скриптов и их методов.
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
Запрос
GET _script_context
Предварительные условия
- Если функции безопасности Elasticsearch включены, вам необходимо иметь
manageпривилегию кластера для использования этого API.
© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-script-contexts-api.html