{"action":"created","issue":{"url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/4","repository_url":"https://api.github.com/repos/TwinePlatform/twine-api","labels_url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/4/comments","events_url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/4/events","html_url":"https://github.com/TwinePlatform/twine-api/issues/4","id":328591077,"node_id":"MDU6SXNzdWUzMjg1OTEwNzc=","number":4,"title":"Api Design","user":{"login":"astroash","id":14337958,"node_id":"MDQ6VXNlcjE0MzM3OTU4","avatar_url":"https://avatars3.githubusercontent.com/u/14337958?v=4","gravatar_id":"","url":"https://api.github.com/users/astroash","html_url":"https://github.com/astroash","followers_url":"https://api.github.com/users/astroash/followers","following_url":"https://api.github.com/users/astroash/following{/other_user}","gists_url":"https://api.github.com/users/astroash/gists{/gist_id}","starred_url":"https://api.github.com/users/astroash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astroash/subscriptions","organizations_url":"https://api.github.com/users/astroash/orgs","repos_url":"https://api.github.com/users/astroash/repos","events_url":"https://api.github.com/users/astroash/events{/privacy}","received_events_url":"https://api.github.com/users/astroash/received_events","type":"User","site_admin":false},"labels":[{"id":949813432,"node_id":"MDU6TGFiZWw5NDk4MTM0MzI=","url":"https://api.github.com/repos/TwinePlatform/twine-api/labels/documentation","name":"documentation","color":"e8b455","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-06-01T16:53:48Z","updated_at":"2018-06-07T15:34:37Z","closed_at":null,"author_association":"NONE","body":"First attempt of api design:\r\n\r\nCovers functionality for visitor app & native app (PHP app to be added). A number of previous named routes have been dropped in favor of HTTP methods, and `sort`/`search`/`page`/`[filter]` queries.\r\n\r\n# New Api\r\n## /sector\r\n/sector\r\n/sector/:id\r\n\r\n/sector/:id/feedback\r\n/sector/:id/visits\r\n/sector/:id/activities\r\n\r\n## /regions\r\n/regions\r\n/regions/:id\r\n\r\n## /organisations\r\n/organisations\r\n/organisations/:id || whoami\r\n\r\n/organisations/:id/feedback\r\n/organisations/:id/visits\r\n/organisations/:id/activities\r\n/organisations/:id/users\r\n\r\n/organisations/:id/volunteer_logs\r\n/organisations/:id/meetings\r\n/organisations/:id/outreach\r\n\r\n## /users (does this want to be broken down for frontline?)\r\n/users\r\n/users/register\r\n/users/login\r\n/users/:id || whoami\r\n/users/:id/password_reset\r\n\r\n/users/:id/qr_code\r\n/users/:id/qr_code/email\r\n/users/:id/activities/:id (visit?)\r\n\r\n/users/:id/volunteer_logs\r\n/users/:id/volunteer_logs/:id\r\n/users/:id/volunteer_logs/sync (potentially covered by POST)\r\n/users/:id/meetings\r\n/users/:id/meetings/sync (potentially covered by POST)\r\n/users/:id/meetings/:id"},"comment":{"url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/comments/395465388","html_url":"https://github.com/TwinePlatform/twine-api/issues/4#issuecomment-395465388","issue_url":"https://api.github.com/repos/TwinePlatform/twine-api/issues/4","id":395465388,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTQ2NTM4OA==","user":{"login":"astroash","id":14337958,"node_id":"MDQ6VXNlcjE0MzM3OTU4","avatar_url":"https://avatars3.githubusercontent.com/u/14337958?v=4","gravatar_id":"","url":"https://api.github.com/users/astroash","html_url":"https://github.com/astroash","followers_url":"https://api.github.com/users/astroash/followers","following_url":"https://api.github.com/users/astroash/following{/other_user}","gists_url":"https://api.github.com/users/astroash/gists{/gist_id}","starred_url":"https://api.github.com/users/astroash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astroash/subscriptions","organizations_url":"https://api.github.com/users/astroash/orgs","repos_url":"https://api.github.com/users/astroash/repos","events_url":"https://api.github.com/users/astroash/events{/privacy}","received_events_url":"https://api.github.com/users/astroash/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T15:34:37Z","updated_at":"2018-06-07T15:34:37Z","author_association":"NONE","body":"* all endpoints to serve one use case. This will change the way that users access information about higher up resources\r\n\r\neg. Users accessing info about their organisation will change from:  \r\n`/organisations/:id `  \r\nto:  \r\n`/users/me/organisation`"}}
{"actor":{"display_login":"astroash"}}