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

Filtering servers by label doesn't work #32

Open
vascop opened this issue Aug 31, 2016 · 0 comments
Open

Filtering servers by label doesn't work #32

vascop opened this issue Aug 31, 2016 · 0 comments

Comments

@vascop
Copy link

vascop commented Aug 31, 2016

I think this is an actual bug in the documentation but testing with requests shows that this works:

requests.get('https://api.newrelic.com/v2/servers.json', headers={'X-Api-Key':'key'}, data={'filter[labels]':'Type:Elasticsearch'}).json()

While this which looks like it is what this project is currently using, doesn't:

requests.get('https://api.newrelic.com/v2/servers.json?filter[labels]=Type:Elastisearch', headers={'X-Api-Key':'key'}).json()

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

No branches or pull requests

1 participant