Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripting: get context names REST API (#48026) #48168

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

stu-elastic
Copy link
Contributor

Adds GET /_script_context, returning a contexts object with each
available context as a key whose value is an empty object. eg.

{
  "contexts": {
    "aggregation_selector": {},
    "aggs": {},
    "aggs_combine": {},
...
  }
}

refs: #47411

Adds `GET /_script_context`, returning a `contexts` object with each
available context as a key whose value is an empty object. eg.
```
{
  "contexts": {
    "aggregation_selector": {},
    "aggs": {},
    "aggs_combine": {},
...
  }
}
```

refs: elastic#47411
@stu-elastic stu-elastic requested a review from jdconrad October 16, 2019 23:10
Copy link
Contributor

@jdconrad jdconrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the backport.

@jdconrad
Copy link
Contributor

@elasticmachine run elasticsearch-ci/packaging-sample

@stu-elastic stu-elastic merged commit 356eef0 into elastic:7.x Oct 17, 2019
@colings86
Copy link
Contributor

@stu-elastic Please remember to add the backport label to backport PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants