{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla-services/autopush/issues/200","labels_url":"https://api.github.com/repos/mozilla-services/autopush/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/autopush/issues/200/comments","events_url":"https://api.github.com/repos/mozilla-services/autopush/issues/200/events","html_url":"https://github.com/mozilla-services/autopush/issues/200","id":112877498,"number":200,"title":"Protocol versioning","user":{"login":"kitcambridge","id":243830,"avatar_url":"https://avatars.githubusercontent.com/u/243830?v=3","gravatar_id":"","url":"https://api.github.com/users/kitcambridge","html_url":"https://github.com/kitcambridge","followers_url":"https://api.github.com/users/kitcambridge/followers","following_url":"https://api.github.com/users/kitcambridge/following{/other_user}","gists_url":"https://api.github.com/users/kitcambridge/gists{/gist_id}","starred_url":"https://api.github.com/users/kitcambridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitcambridge/subscriptions","organizations_url":"https://api.github.com/users/kitcambridge/orgs","repos_url":"https://api.github.com/users/kitcambridge/repos","events_url":"https://api.github.com/users/kitcambridge/events{/privacy}","received_events_url":"https://api.github.com/users/kitcambridge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla-services/autopush/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-22T19:48:55Z","updated_at":"2015-10-26T17:32:17Z","closed_at":"2015-10-26T17:32:17Z","body":"We don't really have any kind of protocol versioning, apart from `use_webpush`. That won't fly if we need to make backward-incompatible changes in the future.\r\n\r\nWebSocket subprotocols might be useful here; looks like they're available in `request.protocols`, and we can [return one](http://autobahn.ws/python/reference/autobahn.websocket.html#autobahn.websocket.interfaces.IWebSocketChannel.onConnect) from `onConnect`."}}