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

Return address tags with multiple values as arrays #122

Open
bertday opened this issue Apr 26, 2017 · 1 comment
Open

Return address tags with multiple values as arrays #122

bertday opened this issue Apr 26, 2017 · 1 comment

Comments

@bertday
Copy link
Contributor

bertday commented Apr 26, 2017

Right now the dor_parcel_id field in the /search endpoint comes back like:

"dor_parcel_id": "016S080346|016S080345",

Any field that can return multiple values should be pluralized (e.g. dor_parcel_ids) and returned as an array.

 "dor_parcel_ids": ["016S080346", "016S080345"],

Empty responses should be an empty array (rather than null).

@Alexander-M-Waldman
Copy link
Contributor

@rbrtmrtn this requires a signature change - should hold off until new release?

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

2 participants