{"action":"created","issue":{"url":"https://api.github.com/repos/pwalsh/cosmopolitan/issues/1","labels_url":"https://api.github.com/repos/pwalsh/cosmopolitan/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pwalsh/cosmopolitan/issues/1/comments","events_url":"https://api.github.com/repos/pwalsh/cosmopolitan/issues/1/events","html_url":"https://github.com/pwalsh/cosmopolitan/issues/1","id":114646940,"number":1,"title":"Minimum viable implementation","user":{"login":"pwalsh","id":791678,"avatar_url":"https://avatars.githubusercontent.com/u/791678?v=3","gravatar_id":"","url":"https://api.github.com/users/pwalsh","html_url":"https://github.com/pwalsh","followers_url":"https://api.github.com/users/pwalsh/followers","following_url":"https://api.github.com/users/pwalsh/following{/other_user}","gists_url":"https://api.github.com/users/pwalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/pwalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwalsh/subscriptions","organizations_url":"https://api.github.com/users/pwalsh/orgs","repos_url":"https://api.github.com/users/pwalsh/repos","events_url":"https://api.github.com/users/pwalsh/events{/privacy}","received_events_url":"https://api.github.com/users/pwalsh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pwalsh/cosmopolitan/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"kiote","id":123637,"avatar_url":"https://avatars.githubusercontent.com/u/123637?v=3","gravatar_id":"","url":"https://api.github.com/users/kiote","html_url":"https://github.com/kiote","followers_url":"https://api.github.com/users/kiote/followers","following_url":"https://api.github.com/users/kiote/following{/other_user}","gists_url":"https://api.github.com/users/kiote/gists{/gist_id}","starred_url":"https://api.github.com/users/kiote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiote/subscriptions","organizations_url":"https://api.github.com/users/kiote/orgs","repos_url":"https://api.github.com/users/kiote/repos","events_url":"https://api.github.com/users/kiote/events{/privacy}","received_events_url":"https://api.github.com/users/kiote/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pwalsh/cosmopolitan/milestones/1","html_url":"https://github.com/pwalsh/cosmopolitan/milestones/Current","labels_url":"https://api.github.com/repos/pwalsh/cosmopolitan/milestones/1/labels","id":1389494,"number":1,"title":"Current","description":"","creator":{"login":"pwalsh","id":791678,"avatar_url":"https://avatars.githubusercontent.com/u/791678?v=3","gravatar_id":"","url":"https://api.github.com/users/pwalsh","html_url":"https://github.com/pwalsh","followers_url":"https://api.github.com/users/pwalsh/followers","following_url":"https://api.github.com/users/pwalsh/following{/other_user}","gists_url":"https://api.github.com/users/pwalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/pwalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwalsh/subscriptions","organizations_url":"https://api.github.com/users/pwalsh/orgs","repos_url":"https://api.github.com/users/pwalsh/repos","events_url":"https://api.github.com/users/pwalsh/events{/privacy}","received_events_url":"https://api.github.com/users/pwalsh/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-11-02T17:47:29Z","updated_at":"2015-11-02T17:47:40Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-11-02T17:47:14Z","updated_at":"2015-11-11T08:45:00Z","closed_at":null,"body":"# Description\r\n\r\nA simple API server that returns core data on the places of the world. Designed for use in OpenSpending.\r\n\r\n# Tasks\r\n\r\n* [x] Setup a Django project using Django REST Framework (http://www.django-rest-framework.org)\r\n* [x] Integrate django-cities (https://github.com/coderholic/django-cities)\r\n* [x] Create the database for Django Cities and then, when we have that ready, Ask @pwalsh to add it to a remote server for use in production\r\n* [ ] Expose the following **ListView** API endpoints (using DRF browsable HTML, but JSON as only API format)\r\n  * [x] `/v1/countries`\r\n  * [x] `/v1/regions` (subregion? not sure, depends on data structure and the nesting of country, region, place, etc)\r\n  * [ ] `/v1/continents`\r\n  * [ ] `/v1/currencies`\r\n* [x] Each object that is represented on a list view should be able to be looked up on a **DetailView**. (Example: `/v1/countries/ru`)\r\n* [x] Any config options we need must be settable via env vars\r\n* [x] Deploy app to heroku (@pwalsh will deploy the data elsewhere, on an Amazon RDS instance)\r\n  * [x] Use django database url extension which you'll need for heroku\r\n* [ ] Simple tests for each API endpoint using https://github.com/ydaniv/django-rest-assured"},"comment":{"url":"https://api.github.com/repos/pwalsh/cosmopolitan/issues/comments/155706388","html_url":"https://github.com/pwalsh/cosmopolitan/issues/1#issuecomment-155706388","issue_url":"https://api.github.com/repos/pwalsh/cosmopolitan/issues/1","id":155706388,"user":{"login":"kiote","id":123637,"avatar_url":"https://avatars.githubusercontent.com/u/123637?v=3","gravatar_id":"","url":"https://api.github.com/users/kiote","html_url":"https://github.com/kiote","followers_url":"https://api.github.com/users/kiote/followers","following_url":"https://api.github.com/users/kiote/following{/other_user}","gists_url":"https://api.github.com/users/kiote/gists{/gist_id}","starred_url":"https://api.github.com/users/kiote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiote/subscriptions","organizations_url":"https://api.github.com/users/kiote/orgs","repos_url":"https://api.github.com/users/kiote/repos","events_url":"https://api.github.com/users/kiote/events{/privacy}","received_events_url":"https://api.github.com/users/kiote/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T08:45:00Z","updated_at":"2015-11-11T08:45:00Z","body":"I've added pagination as we discussed before (100 entries for any list on one page). You can see it on \"staging\" app: http://cosmopolitan-api.herokuapp.com/v1/regions/"}}