-
Notifications
You must be signed in to change notification settings - Fork 0
Schema HTTP Actions
Greg Malcolm edited this page Feb 3, 2016
·
19 revisions
Currently most of the resources available via the API confirm to basic CRUD patterns
Page sizes are currently 500 items (we are probably going to shortern them at some point)
Example through CURL (runnable in git bash or unix):
curl -i -H "Content-Type: application/json" http://ed-materializer-env.elasticbeanstalk.com/api/v2/world_surveys/\?page=1
Standard paging stuff
- page
- per_page (currently defaults to 500)
Filtering attributes vary. These are common options:
- system
- commander
- updater
- world
- updated_before
- updated_after
Examples:
Filter on commander and world:
curl -i -H "Content-Type: application/json" http://ed-materializer-env.elasticbeanstalk.com/api/v2/world_surveys/?commander=marlon%20blake&world=A%205&page=1
Find all records after 30th Dec 2015
curl -i -H "Content-Type: application/json" https://ed-materializer.herokuapp.com/api/v1/world_surveys/?updated_after=2015-12-30