{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1183","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1183/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1183/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1183/events","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1183","id":112564005,"number":1183,"title":"Support versioning from different channels","user":{"login":"Ener-Getick","id":6871899,"avatar_url":"https://avatars.githubusercontent.com/u/6871899?v=3","gravatar_id":"","url":"https://api.github.com/users/Ener-Getick","html_url":"https://github.com/Ener-Getick","followers_url":"https://api.github.com/users/Ener-Getick/followers","following_url":"https://api.github.com/users/Ener-Getick/following{/other_user}","gists_url":"https://api.github.com/users/Ener-Getick/gists{/gist_id}","starred_url":"https://api.github.com/users/Ener-Getick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ener-Getick/subscriptions","organizations_url":"https://api.github.com/users/Ener-Getick/orgs","repos_url":"https://api.github.com/users/Ener-Getick/repos","events_url":"https://api.github.com/users/Ener-Getick/events{/privacy}","received_events_url":"https://api.github.com/users/Ener-Getick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/labels/in%20review","name":"in review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/milestones/5","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/milestones/2.0","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/milestones/5/labels","id":954486,"number":5,"title":"2.0","description":"","creator":{"login":"lsmith77","id":300279,"avatar_url":"https://avatars.githubusercontent.com/u/300279?v=3","gravatar_id":"","url":"https://api.github.com/users/lsmith77","html_url":"https://github.com/lsmith77","followers_url":"https://api.github.com/users/lsmith77/followers","following_url":"https://api.github.com/users/lsmith77/following{/other_user}","gists_url":"https://api.github.com/users/lsmith77/gists{/gist_id}","starred_url":"https://api.github.com/users/lsmith77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsmith77/subscriptions","organizations_url":"https://api.github.com/users/lsmith77/orgs","repos_url":"https://api.github.com/users/lsmith77/repos","events_url":"https://api.github.com/users/lsmith77/events{/privacy}","received_events_url":"https://api.github.com/users/lsmith77/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":24,"state":"open","created_at":"2015-01-28T08:04:14Z","updated_at":"2015-11-04T13:04:27Z","due_on":"2015-11-29T23:00:00Z","closed_at":null},"comments":11,"created_at":"2015-10-21T11:11:46Z","updated_at":"2015-11-06T21:08:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1183","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1183","diff_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1183.diff","patch_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1183.patch"},"body":"This PR adds the support of the versioning from different channels:\r\n- the uri ``/v1/users``\r\n- a query parameter ``/users?version=v1``\r\n- a custom header ``X-Accept-Version: v1``\r\n- an accept header ``Accept: application/vnd.app.v1+json``\r\n\r\nShould we create a new section in the configuration ? Currently, there is only one way to use the api versioning: the mime-types (with the ``format_listener.media_type.version_regex``). If we had several ways, I think that we should change and move this part of the configuration ..."},"comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/comments/154541411","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1183#issuecomment-154541411","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1183","id":154541411,"user":{"login":"Ener-Getick","id":6871899,"avatar_url":"https://avatars.githubusercontent.com/u/6871899?v=3","gravatar_id":"","url":"https://api.github.com/users/Ener-Getick","html_url":"https://github.com/Ener-Getick","followers_url":"https://api.github.com/users/Ener-Getick/followers","following_url":"https://api.github.com/users/Ener-Getick/following{/other_user}","gists_url":"https://api.github.com/users/Ener-Getick/gists{/gist_id}","starred_url":"https://api.github.com/users/Ener-Getick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ener-Getick/subscriptions","organizations_url":"https://api.github.com/users/Ener-Getick/orgs","repos_url":"https://api.github.com/users/Ener-Getick/repos","events_url":"https://api.github.com/users/Ener-Getick/events{/privacy}","received_events_url":"https://api.github.com/users/Ener-Getick/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T21:08:55Z","updated_at":"2015-11-06T21:08:55Z","body":"If we remove the ``RequestAttributeResolver``, there is no problem with the ``Router`` right ?"}}