{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/pulls/2","id":28889744,"html_url":"https://github.com/vpassapera/sfprojectgeneratorbundle/pull/2","diff_url":"https://github.com/vpassapera/sfprojectgeneratorbundle/pull/2.diff","patch_url":"https://github.com/vpassapera/sfprojectgeneratorbundle/pull/2.patch","issue_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/issues/2","number":2,"state":"open","locked":false,"title":"Fixes for JSON api formatted data","user":{"login":"jrjohnson","id":349624,"avatar_url":"https://avatars.githubusercontent.com/u/349624?v=3","gravatar_id":"","url":"https://api.github.com/users/jrjohnson","html_url":"https://github.com/jrjohnson","followers_url":"https://api.github.com/users/jrjohnson/followers","following_url":"https://api.github.com/users/jrjohnson/following{/other_user}","gists_url":"https://api.github.com/users/jrjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrjohnson/subscriptions","organizations_url":"https://api.github.com/users/jrjohnson/orgs","repos_url":"https://api.github.com/users/jrjohnson/repos","events_url":"https://api.github.com/users/jrjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/jrjohnson/received_events","type":"User","site_admin":false},"body":"Two changes:\r\n1. When there are no matching entities return name: [] instead of just []\r\n2. Submitted data is keyed by the resource name\r\n\r\nI see there is a command flag --resource which I think is for the JSON api stuff, but I didn't see how to scope these templates to that flag.  Is that enabled?","created_at":"2015-02-09T00:03:42Z","updated_at":"2015-02-09T00:03:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/pulls/2/commits","review_comments_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/pulls/2/comments","review_comment_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/issues/2/comments","statuses_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/statuses/d1dfb0dfe7ce15edd17ee27c28ab688030b1e748","head":{"label":"jrjohnson:feature/resourcecontroller","ref":"feature/resourcecontroller","sha":"d1dfb0dfe7ce15edd17ee27c28ab688030b1e748","user":{"login":"jrjohnson","id":349624,"avatar_url":"https://avatars.githubusercontent.com/u/349624?v=3","gravatar_id":"","url":"https://api.github.com/users/jrjohnson","html_url":"https://github.com/jrjohnson","followers_url":"https://api.github.com/users/jrjohnson/followers","following_url":"https://api.github.com/users/jrjohnson/following{/other_user}","gists_url":"https://api.github.com/users/jrjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrjohnson/subscriptions","organizations_url":"https://api.github.com/users/jrjohnson/orgs","repos_url":"https://api.github.com/users/jrjohnson/repos","events_url":"https://api.github.com/users/jrjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/jrjohnson/received_events","type":"User","site_admin":false},"repo":{"id":30285684,"name":"sfprojectgeneratorbundle","full_name":"jrjohnson/sfprojectgeneratorbundle","owner":{"login":"jrjohnson","id":349624,"avatar_url":"https://avatars.githubusercontent.com/u/349624?v=3","gravatar_id":"","url":"https://api.github.com/users/jrjohnson","html_url":"https://github.com/jrjohnson","followers_url":"https://api.github.com/users/jrjohnson/followers","following_url":"https://api.github.com/users/jrjohnson/following{/other_user}","gists_url":"https://api.github.com/users/jrjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrjohnson/subscriptions","organizations_url":"https://api.github.com/users/jrjohnson/orgs","repos_url":"https://api.github.com/users/jrjohnson/repos","events_url":"https://api.github.com/users/jrjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/jrjohnson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jrjohnson/sfprojectgeneratorbundle","description":"Project generator bundle for Symfony2.","fork":true,"url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle","forks_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/forks","keys_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/teams","hooks_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/hooks","issue_events_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/issues/events{/number}","events_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/events","assignees_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/assignees{/user}","branches_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/branches{/branch}","tags_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/tags","blobs_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/statuses/{sha}","languages_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/languages","stargazers_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/stargazers","contributors_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/contributors","subscribers_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/subscribers","subscription_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/subscription","commits_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/contents/{+path}","compare_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/merges","archive_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/downloads","issues_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/issues{/number}","pulls_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/pulls{/number}","milestones_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/milestones{/number}","notifications_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/labels{/name}","releases_url":"https://api.github.com/repos/jrjohnson/sfprojectgeneratorbundle/releases{/id}","created_at":"2015-02-04T06:48:52Z","updated_at":"2015-02-04T06:48:53Z","pushed_at":"2015-02-09T00:03:13Z","git_url":"git://github.com/jrjohnson/sfprojectgeneratorbundle.git","ssh_url":"git@github.com:jrjohnson/sfprojectgeneratorbundle.git","clone_url":"https://github.com/jrjohnson/sfprojectgeneratorbundle.git","svn_url":"https://github.com/jrjohnson/sfprojectgeneratorbundle","homepage":"","size":107,"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":"develop"}},"base":{"label":"vpassapera:develop","ref":"develop","sha":"5fff1ce57078cbbf48c44376a2875348346e1f0c","user":{"login":"vpassapera","id":1493758,"avatar_url":"https://avatars.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":30107980,"name":"sfprojectgeneratorbundle","full_name":"vpassapera/sfprojectgeneratorbundle","owner":{"login":"vpassapera","id":1493758,"avatar_url":"https://avatars.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/sfprojectgeneratorbundle","description":"Project generator bundle for Symfony2.","fork":false,"url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle","forks_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/forks","keys_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/teams","hooks_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/hooks","issue_events_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/issues/events{/number}","events_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/events","assignees_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/assignees{/user}","branches_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/branches{/branch}","tags_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/tags","blobs_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/statuses/{sha}","languages_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/languages","stargazers_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/stargazers","contributors_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/contributors","subscribers_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/subscribers","subscription_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/subscription","commits_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/contents/{+path}","compare_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/merges","archive_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/downloads","issues_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/issues{/number}","pulls_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/pulls{/number}","milestones_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/milestones{/number}","notifications_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/labels{/name}","releases_url":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/releases{/id}","created_at":"2015-01-31T09:20:41Z","updated_at":"2015-02-08T16:46:16Z","pushed_at":"2015-02-08T16:48:46Z","git_url":"git://github.com/vpassapera/sfprojectgeneratorbundle.git","ssh_url":"git@github.com:vpassapera/sfprojectgeneratorbundle.git","clone_url":"https://github.com/vpassapera/sfprojectgeneratorbundle.git","svn_url":"https://github.com/vpassapera/sfprojectgeneratorbundle","homepage":"","size":204,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/pulls/2"},"html":{"href":"https://github.com/vpassapera/sfprojectgeneratorbundle/pull/2"},"issue":{"href":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/issues/2"},"comments":{"href":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/vpassapera/sfprojectgeneratorbundle/statuses/d1dfb0dfe7ce15edd17ee27c28ab688030b1e748"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":31,"deletions":15,"changed_files":6}}