Skip to content

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

Merged
stu-elastic merged 1 commit intoelastic:7.xfrom
stu-elastic:7.x-backport-get-context-names
Oct 17, 2019
Merged

Scripting: get context names REST API (#48026)#48168
stu-elastic merged 1 commit intoelastic:7.xfrom
stu-elastic:7.x-backport-get-context-names

Conversation

@stu-elastic
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

@elasticmachine run elasticsearch-ci/packaging-sample

@stu-elastic stu-elastic merged commit 356eef0 into elastic:7.x Oct 17, 2019
@colings86
Copy link
Copy Markdown
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