Spec-Zone.ru › Elasticsearch 8
›Elasticsearch Guide [8.17] ›REST API ›API скриптов

API получения контекстов скриптов

Справочник новых API

Для получения самых последних данных об API, обратитесь к 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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API