{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1015","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1015/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1015/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1015/events","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1015","id":68336858,"number":1015,"title":"Added new feature for nice error messages to ParamFetcher","user":{"login":"feridmovsumov","id":2485826,"avatar_url":"https://avatars.githubusercontent.com/u/2485826?v=3","gravatar_id":"","url":"https://api.github.com/users/feridmovsumov","html_url":"https://github.com/feridmovsumov","followers_url":"https://api.github.com/users/feridmovsumov/followers","following_url":"https://api.github.com/users/feridmovsumov/following{/other_user}","gists_url":"https://api.github.com/users/feridmovsumov/gists{/gist_id}","starred_url":"https://api.github.com/users/feridmovsumov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feridmovsumov/subscriptions","organizations_url":"https://api.github.com/users/feridmovsumov/orgs","repos_url":"https://api.github.com/users/feridmovsumov/repos","events_url":"https://api.github.com/users/feridmovsumov/events{/privacy}","received_events_url":"https://api.github.com/users/feridmovsumov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-14T10:44:23Z","updated_at":"2015-04-14T11:01:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1015","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1015","diff_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1015.diff","patch_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1015.patch"},"body":"Example Usage: \r\n```php\r\n@QueryParam(name=\"parent_id\", requirements={\"rule\" = \"\\d+\", \"message\" = \"parent_id must be an integer\"}, strict=true, nullable=true, description=\"Parent Id\")\r\n```\r\n\r\nError Message:\r\n```json\r\n{\r\n    \"code\": 400,\r\n    \"message\": \"parent_id must be an integer\"\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/comments/92769683","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1015#issuecomment-92769683","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1015","id":92769683,"user":{"login":"feridmovsumov","id":2485826,"avatar_url":"https://avatars.githubusercontent.com/u/2485826?v=3","gravatar_id":"","url":"https://api.github.com/users/feridmovsumov","html_url":"https://github.com/feridmovsumov","followers_url":"https://api.github.com/users/feridmovsumov/followers","following_url":"https://api.github.com/users/feridmovsumov/following{/other_user}","gists_url":"https://api.github.com/users/feridmovsumov/gists{/gist_id}","starred_url":"https://api.github.com/users/feridmovsumov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feridmovsumov/subscriptions","organizations_url":"https://api.github.com/users/feridmovsumov/orgs","repos_url":"https://api.github.com/users/feridmovsumov/repos","events_url":"https://api.github.com/users/feridmovsumov/events{/privacy}","received_events_url":"https://api.github.com/users/feridmovsumov/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T11:01:55Z","updated_at":"2015-04-14T11:01:55Z","body":"I think this will match requirements of many developers.\r\n```php\r\nrequirements={\"rule\" = \"\\d+\", \"message\" = \"parent_id must be an integer\"}\r\n```"}}