{"action":"closed","issue":{"url":"https://api.github.com/repos/Shadowys/hako/issues/6","repository_url":"https://api.github.com/repos/Shadowys/hako","labels_url":"https://api.github.com/repos/Shadowys/hako/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Shadowys/hako/issues/6/comments","events_url":"https://api.github.com/repos/Shadowys/hako/issues/6/events","html_url":"https://github.com/Shadowys/hako/issues/6","id":181323863,"number":6,"title":"Versioning the api","user":{"login":"cloudiirain","id":6395412,"avatar_url":"https://avatars.githubusercontent.com/u/6395412?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudiirain","html_url":"https://github.com/cloudiirain","followers_url":"https://api.github.com/users/cloudiirain/followers","following_url":"https://api.github.com/users/cloudiirain/following{/other_user}","gists_url":"https://api.github.com/users/cloudiirain/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudiirain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudiirain/subscriptions","organizations_url":"https://api.github.com/users/cloudiirain/orgs","repos_url":"https://api.github.com/users/cloudiirain/repos","events_url":"https://api.github.com/users/cloudiirain/events{/privacy}","received_events_url":"https://api.github.com/users/cloudiirain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shadowys/hako/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"Shadowys","id":2587165,"avatar_url":"https://avatars.githubusercontent.com/u/2587165?v=3","gravatar_id":"","url":"https://api.github.com/users/Shadowys","html_url":"https://github.com/Shadowys","followers_url":"https://api.github.com/users/Shadowys/followers","following_url":"https://api.github.com/users/Shadowys/following{/other_user}","gists_url":"https://api.github.com/users/Shadowys/gists{/gist_id}","starred_url":"https://api.github.com/users/Shadowys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shadowys/subscriptions","organizations_url":"https://api.github.com/users/Shadowys/orgs","repos_url":"https://api.github.com/users/Shadowys/repos","events_url":"https://api.github.com/users/Shadowys/events{/privacy}","received_events_url":"https://api.github.com/users/Shadowys/received_events","type":"User","site_admin":false},"assignees":[{"login":"Shadowys","id":2587165,"avatar_url":"https://avatars.githubusercontent.com/u/2587165?v=3","gravatar_id":"","url":"https://api.github.com/users/Shadowys","html_url":"https://github.com/Shadowys","followers_url":"https://api.github.com/users/Shadowys/followers","following_url":"https://api.github.com/users/Shadowys/following{/other_user}","gists_url":"https://api.github.com/users/Shadowys/gists{/gist_id}","starred_url":"https://api.github.com/users/Shadowys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shadowys/subscriptions","organizations_url":"https://api.github.com/users/Shadowys/orgs","repos_url":"https://api.github.com/users/Shadowys/repos","events_url":"https://api.github.com/users/Shadowys/events{/privacy}","received_events_url":"https://api.github.com/users/Shadowys/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-10-06T04:48:38Z","updated_at":"2016-10-06T12:36:07Z","closed_at":"2016-10-06T12:36:07Z","body":"A brief suggestion: [api versioning](http://broadcast.oreilly.com/2011/10/api-versioning.html)\r\n\r\nSince we don't know how the api will change (especially after things go into production), we don't want to break any dependent front-end apps as we continue to develop/improve the backend (which will probably inevitably happen). The solution is to version the API.\r\n\r\nFor instance:\r\n```\r\n# Instead of this:\r\n/api/project/view\r\n\r\n# Support both of these:\r\n/api/v1/project/view\r\n/api/v2/project/view\r\n```\r\n\r\nThere are multiple different strategies to version the API. Putting the version number in the URI is one idea, but there are other options too."}}
{"actor":{"display_login":"Shadowys"}}