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

Added regions api endpoint #15

Merged
merged 1 commit into from
Nov 23, 2016
Merged

Added regions api endpoint #15

merged 1 commit into from
Nov 23, 2016

Conversation

teferi
Copy link
Collaborator

@teferi teferi commented Nov 23, 2016

/regions returns a list of region names available in elasticsearch data

@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling ca63db8 on regions_api into 641b67d on master.

"size": 0,
"aggs": {
"regions": {
"terms": {"field": "region"}
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right you are:
http://stackoverflow.com/a/22927215/416128 and
elastic/elasticsearch#18838
recommend setting an explicit number

/regions returns a list of region names available in elasticsearch data
@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling 27f6a1e on regions_api into a4737a9 on master.

@boris-42 boris-42 merged commit 20a138b into master Nov 23, 2016
@boris-42 boris-42 deleted the regions_api branch November 24, 2016 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants