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

iSense API updates #2872

Open
Codom opened this issue Jul 12, 2019 · 0 comments
Open

iSense API updates #2872

Codom opened this issue Jul 12, 2019 · 0 comments
Assignees

Comments

@Codom
Copy link
Contributor

Codom commented Jul 12, 2019

The iSense api needs to be minimally compliant with the API docs. In order to do this, we need to modify the response. The responses are usually generated from the models/(relevant_model).rb:to_hash(), but I want all of the changes to exist in the directory api/v2. In order to accomplish this:

  1. copy api/v1 to api/v2
  2. for every response, selectively remove the entries from the json/hash objects being returned using the ruby hash and ruby json api (google will be your friend @jkslebodnick )
  3. For now, if there are any additional elements that we need to add to the api or the response, ignore them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants