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

Change the API return schema for instance eco #1298

Merged
merged 1 commit into from
Apr 14, 2014

Conversation

jwalgran
Copy link
Contributor

Previously, eco benefits were returned with a plot as an array. Mobile applications only needed to know the number of eco fields that would be included. Now, the eco fields for a plot are returned as a dictionary, so the instance API must return the keys needed to read from the dictionary and the order in which those keys should be displayed. I copied the key ordering from the current web app UI.

Previously, eco benefits were returned with a plot as an array. Mobile
applications only needed to know the number of eco fields that would be
included. Now, the eco fields for a plot are returned as a dictionary,
so the instance API must return the keys needed to read from the
dictionary and the order in which those keys should be displayed. I
copied the key ordering from the current web app UI.
@jwalgran
Copy link
Contributor Author

@mmcfarland @maurizi This change will most likely break the current Android application and necessitate a complimentary update.

@mmcfarland
Copy link
Contributor

@maurizi @jwalgran - Android is still broken from the previous change to eco structure. Current issue still applies OpenTreeMap/otm-android#27

jwalgran added a commit that referenced this pull request Apr 14, 2014
Change the API return schema for instance eco
@jwalgran jwalgran merged commit f535d18 into OpenTreeMap:release Apr 14, 2014
@jwalgran jwalgran deleted the topic/api-eco-schema-update branch April 14, 2014 19:02
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.

2 participants