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

The agencies API endpoint now supports the fields tag #511

Merged
merged 1 commit into from
May 25, 2017

Conversation

harrisj
Copy link
Contributor

@harrisj harrisj commented May 17, 2017

What this means is you can make a call like /agencies?state_abbr=OH&fields=ori,agency_name and only those fields will be returned in each record.

I'm not sure if we had an issue for this yet, but it would allow the CDE to get a list of all agency names to ORIs in a given state with a request like /agencies?state_abbr=OH&fields=ori,agency_name&per_page=5000 or something...

What this means is you can make a call like
/agencies?state_abbr=OH&fields=ori,agency_name and only those fields
will be returned in each record
@cacraig
Copy link
Contributor

cacraig commented May 25, 2017

LGTM - Merging.

@cacraig cacraig merged commit 60e0804 into master May 25, 2017
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