{"action":"reopened","number":1679,"pull_request":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1679","id":110209917,"html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1679","diff_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1679.diff","patch_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1679.patch","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1679","number":1679,"state":"open","locked":false,"title":"Update versioning.rst","user":{"login":"vpassapera","id":1493758,"avatar_url":"https://avatars2.githubusercontent.com/u/1493758?v=3","gravatar_id":"","url":"https://api.github.com/users/vpassapera","html_url":"https://github.com/vpassapera","followers_url":"https://api.github.com/users/vpassapera/followers","following_url":"https://api.github.com/users/vpassapera/following{/other_user}","gists_url":"https://api.github.com/users/vpassapera/gists{/gist_id}","starred_url":"https://api.github.com/users/vpassapera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpassapera/subscriptions","organizations_url":"https://api.github.com/users/vpassapera/orgs","repos_url":"https://api.github.com/users/vpassapera/repos","events_url":"https://api.github.com/users/vpassapera/events{/privacy}","received_events_url":"https://api.github.com/users/vpassapera/received_events","type":"User","site_admin":false},"body":"Clarify mime_type ordering actually matters since the VersionListener takes the first result matching.\r\n\r\ne.g.\r\n\r\n```yaml\r\nfos_rest:\r\n    param_fetcher_listener: true\r\n    body_listener: true\r\n    format_listener:\r\n        rules:\r\n            - { path: ^/, priorities: [ 'html', 'json', 'application/javascript', 'text/css', '*/*'], fallback_format: html, prefer_extension: true }\r\n    body_converter:\r\n        enabled: true\r\n        validate: true\r\n    view:\r\n        mime_types:\r\n            json:\r\n              - 'application/json;version=1.0'\r\n              - 'application/json'\r\n```\r\n\r\nIf application/json is listed first, and you're using the accept header as your versioning strategy, it will not work.","created_at":"2017-03-10T21:10:05Z","updated_at":"2017-03-10T22:11:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c60a8e36b4f130be8c763b96a91e07d26b92e3c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1679/commits","review_comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1679/comments","review_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1679/comments","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/statuses/76cb282b90f5173f7d53ba4adb8734937e8d89e5","head":{"label":"vpassapera:patch-1","ref":"patch-1","sha":"76cb282b90f5173f7d53ba4adb8734937e8d89e5","user":{"login":"vpassapera","id":1493758,"avatar_url":"https://avatars2.githubusercontent.com/u/1493758?v=3","gravatar_id":"","url":"https://api.github.com/users/vpassapera","html_url":"https://github.com/vpassapera","followers_url":"https://api.github.com/users/vpassapera/followers","following_url":"https://api.github.com/users/vpassapera/following{/other_user}","gists_url":"https://api.github.com/users/vpassapera/gists{/gist_id}","starred_url":"https://api.github.com/users/vpassapera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpassapera/subscriptions","organizations_url":"https://api.github.com/users/vpassapera/orgs","repos_url":"https://api.github.com/users/vpassapera/repos","events_url":"https://api.github.com/users/vpassapera/events{/privacy}","received_events_url":"https://api.github.com/users/vpassapera/received_events","type":"User","site_admin":false},"repo":{"id":84600779,"name":"FOSRestBundle","full_name":"vpassapera/FOSRestBundle","owner":{"login":"vpassapera","id":1493758,"avatar_url":"https://avatars2.githubusercontent.com/u/1493758?v=3","gravatar_id":"","url":"https://api.github.com/users/vpassapera","html_url":"https://github.com/vpassapera","followers_url":"https://api.github.com/users/vpassapera/followers","following_url":"https://api.github.com/users/vpassapera/following{/other_user}","gists_url":"https://api.github.com/users/vpassapera/gists{/gist_id}","starred_url":"https://api.github.com/users/vpassapera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpassapera/subscriptions","organizations_url":"https://api.github.com/users/vpassapera/orgs","repos_url":"https://api.github.com/users/vpassapera/repos","events_url":"https://api.github.com/users/vpassapera/events{/privacy}","received_events_url":"https://api.github.com/users/vpassapera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vpassapera/FOSRestBundle","description":"This Bundle provides various tools to rapidly develop RESTful API's with Symfony","fork":true,"url":"https://api.github.com/repos/vpassapera/FOSRestBundle","forks_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/forks","keys_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/teams","hooks_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/hooks","issue_events_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/issues/events{/number}","events_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/events","assignees_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/assignees{/user}","branches_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/branches{/branch}","tags_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/tags","blobs_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/languages","stargazers_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/stargazers","contributors_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/contributors","subscribers_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/subscribers","subscription_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/subscription","commits_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/contents/{+path}","compare_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/merges","archive_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/downloads","issues_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/issues{/number}","pulls_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/labels{/name}","releases_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/releases{/id}","deployments_url":"https://api.github.com/repos/vpassapera/FOSRestBundle/deployments","created_at":"2017-03-10T21:07:07Z","updated_at":"2017-03-10T21:07:10Z","pushed_at":"2017-03-10T21:09:59Z","git_url":"git://github.com/vpassapera/FOSRestBundle.git","ssh_url":"git@github.com:vpassapera/FOSRestBundle.git","clone_url":"https://github.com/vpassapera/FOSRestBundle.git","svn_url":"https://github.com/vpassapera/FOSRestBundle","homepage":"http://symfony.com/doc/master/bundles/FOSRestBundle/index.html","size":3722,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FriendsOfSymfony:master","ref":"master","sha":"ad69a67a31d5a7859427649161569011b5884bdf","user":{"login":"FriendsOfSymfony","id":529709,"avatar_url":"https://avatars2.githubusercontent.com/u/529709?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfSymfony","html_url":"https://github.com/FriendsOfSymfony","followers_url":"https://api.github.com/users/FriendsOfSymfony/followers","following_url":"https://api.github.com/users/FriendsOfSymfony/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfSymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfSymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfSymfony/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfSymfony/orgs","repos_url":"https://api.github.com/users/FriendsOfSymfony/repos","events_url":"https://api.github.com/users/FriendsOfSymfony/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfSymfony/received_events","type":"Organization","site_admin":false},"repo":{"id":1509011,"name":"FOSRestBundle","full_name":"FriendsOfSymfony/FOSRestBundle","owner":{"login":"FriendsOfSymfony","id":529709,"avatar_url":"https://avatars2.githubusercontent.com/u/529709?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfSymfony","html_url":"https://github.com/FriendsOfSymfony","followers_url":"https://api.github.com/users/FriendsOfSymfony/followers","following_url":"https://api.github.com/users/FriendsOfSymfony/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfSymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfSymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfSymfony/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfSymfony/orgs","repos_url":"https://api.github.com/users/FriendsOfSymfony/repos","events_url":"https://api.github.com/users/FriendsOfSymfony/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfSymfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle","description":"This Bundle provides various tools to rapidly develop RESTful API's with Symfony","fork":false,"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle","forks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/forks","keys_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/teams","hooks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/events","assignees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/tags","blobs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/languages","stargazers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/subscription","commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/merges","archive_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/downloads","issues_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/releases{/id}","deployments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/deployments","created_at":"2011-03-21T23:14:13Z","updated_at":"2017-03-07T20:44:06Z","pushed_at":"2017-03-10T21:10:06Z","git_url":"git://github.com/FriendsOfSymfony/FOSRestBundle.git","ssh_url":"git@github.com:FriendsOfSymfony/FOSRestBundle.git","clone_url":"https://github.com/FriendsOfSymfony/FOSRestBundle.git","svn_url":"https://github.com/FriendsOfSymfony/FOSRestBundle","homepage":"http://symfony.com/doc/master/bundles/FOSRestBundle/index.html","size":3734,"stargazers_count":1478,"watchers_count":1478,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":591,"mirror_url":null,"open_issues_count":107,"forks":591,"open_issues":107,"watchers":1478,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1679"},"html":{"href":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1679"},"issue":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1679"},"comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1679/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1679/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1679/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/statuses/76cb282b90f5173f7d53ba4adb8734937e8d89e5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"vpassapera"}}