{"action":"created","issue":{"url":"https://api.github.com/repos/PecanProject/bety/issues/381","labels_url":"https://api.github.com/repos/PecanProject/bety/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/PecanProject/bety/issues/381/comments","events_url":"https://api.github.com/repos/PecanProject/bety/issues/381/events","html_url":"https://github.com/PecanProject/bety/issues/381","id":127771568,"number":381,"title":"BETY API continuing development: add v0 GET endpoints","user":{"login":"max-zilla","id":14166971,"avatar_url":"https://avatars.githubusercontent.com/u/14166971?v=3","gravatar_id":"","url":"https://api.github.com/users/max-zilla","html_url":"https://github.com/max-zilla","followers_url":"https://api.github.com/users/max-zilla/followers","following_url":"https://api.github.com/users/max-zilla/following{/other_user}","gists_url":"https://api.github.com/users/max-zilla/gists{/gist_id}","starred_url":"https://api.github.com/users/max-zilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-zilla/subscriptions","organizations_url":"https://api.github.com/users/max-zilla/orgs","repos_url":"https://api.github.com/users/max-zilla/repos","events_url":"https://api.github.com/users/max-zilla/events{/privacy}","received_events_url":"https://api.github.com/users/max-zilla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PecanProject/bety/labels/Discussion","name":"Discussion","color":"009800"},{"url":"https://api.github.com/repos/PecanProject/bety/labels/terraref","name":"terraref","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-20T19:59:48Z","updated_at":"2016-01-26T02:49:00Z","closed_at":null,"body":"Notes from 1/20/16 meeting with @dlebauer @gsrohde @robkooper around enhancing BETYdb API.\r\n\r\nWe plan to introduce `/controllers/api/` directory to BETY project and will start developing in `controllers/api/v0`. This will help delineate API components from GUI/other components.\r\n\r\nFirst step is to add the following end points:\r\n\r\n  * [ ] GET /species, /sites, /users - return a simple list of those entries\r\n  * [ ] GET /traits - support filter by site name, geometric bounding box, cultivars.name, species.name, start & end time, limit + offset for paging support, other filters down the road\r\n\r\nAfter finishing this task, we will review and make new issues for \r\n  * addtional GET end points\r\n  *  POST end points, starting with /traits - this will support vector of multiple traits in one call and allow provision of parameters similar to what we'll see from the GET method on this URL e.g. cultivar;trait;variables;time;date;citation; etc."},"comment":{"url":"https://api.github.com/repos/PecanProject/bety/issues/comments/174789097","html_url":"https://github.com/PecanProject/bety/issues/381#issuecomment-174789097","issue_url":"https://api.github.com/repos/PecanProject/bety/issues/381","id":174789097,"user":{"login":"dlebauer","id":464871,"avatar_url":"https://avatars.githubusercontent.com/u/464871?v=3","gravatar_id":"","url":"https://api.github.com/users/dlebauer","html_url":"https://github.com/dlebauer","followers_url":"https://api.github.com/users/dlebauer/followers","following_url":"https://api.github.com/users/dlebauer/following{/other_user}","gists_url":"https://api.github.com/users/dlebauer/gists{/gist_id}","starred_url":"https://api.github.com/users/dlebauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlebauer/subscriptions","organizations_url":"https://api.github.com/users/dlebauer/orgs","repos_url":"https://api.github.com/users/dlebauer/repos","events_url":"https://api.github.com/users/dlebauer/events{/privacy}","received_events_url":"https://api.github.com/users/dlebauer/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T02:49:00Z","updated_at":"2016-01-26T02:49:00Z","body":"@gsrohde if it makes sense, lets start with v0 to be consistent with our milestones (and to clearly communicate to users that this is still a draft awaiting feedback)"}}