GlobalHack / API

API backing frontend and user-facing API endpoints
https://www.cemaritan.com/
GNU Affero General Public License v3.0
1 stars 0 forks source link

Write API Call that diffs the database view for a single account. #7

Open drew-winship opened 7 years ago

drew-winship commented 7 years ago

Input: account, timestamp Return: every field that’s been updated in the db by that account since the inputed timestamp

eg. GET /updates/:timestamp with your auth token response will be json including intakes that have been updated between the input timestamp and the current date

database details can be found at https://github.com/GHImplementationTeam/API/blob/master/config/connections.js#L92

swagger doc detailing current api calls can be found at https://github.com/GHImplementationTeam/API/blob/master/assets/js/dependencies/swagger.json