{"action":"created","comment":{"url":"https://api.github.com/repos/adrestia/adrestia_web/pulls/comments/63442790","id":63442790,"diff_hunk":"@@ -292,14 +292,58 @@ public function getPostAction(Request $request, $post_id)\n         // throw an error.\n         if (!$post) {\n             throw $this->createNotFoundException(\n-                'No post found for id ' . $id\n+                'No post found for id ' //. $id\n             );\n         }\n         \n         $serializer = $this->container->get('serializer');\n         $reports = $serializer->serialize($post, 'json');\n         return new Response($reports);\n     }\n+      /**\n+     * @Route(\"/posts/remove\", name=\"api_remove_post\")","path":"src/AppBundle/Controller/APIController.php","position":32,"original_position":32,"commit_id":"974891d705cbd6a4df95ca513f00147077571cce","original_commit_id":"974891d705cbd6a4df95ca513f00147077571cce","user":{"login":"Kilenaitor","id":4632233,"avatar_url":"https://avatars.githubusercontent.com/u/4632233?v=3","gravatar_id":"","url":"https://api.github.com/users/Kilenaitor","html_url":"https://github.com/Kilenaitor","followers_url":"https://api.github.com/users/Kilenaitor/followers","following_url":"https://api.github.com/users/Kilenaitor/following{/other_user}","gists_url":"https://api.github.com/users/Kilenaitor/gists{/gist_id}","starred_url":"https://api.github.com/users/Kilenaitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kilenaitor/subscriptions","organizations_url":"https://api.github.com/users/Kilenaitor/orgs","repos_url":"https://api.github.com/users/Kilenaitor/repos","events_url":"https://api.github.com/users/Kilenaitor/events{/privacy}","received_events_url":"https://api.github.com/users/Kilenaitor/received_events","type":"User","site_admin":false},"body":"Change the route to a DELETE request to /posts. Not a POST request to /posts/remove","created_at":"2016-05-16T23:22:52Z","updated_at":"2016-05-16T23:22:52Z","html_url":"https://github.com/adrestia/adrestia_web/pull/28#discussion_r63442790","pull_request_url":"https://api.github.com/repos/adrestia/adrestia_web/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/adrestia/adrestia_web/pulls/comments/63442790"},"html":{"href":"https://github.com/adrestia/adrestia_web/pull/28#discussion_r63442790"},"pull_request":{"href":"https://api.github.com/repos/adrestia/adrestia_web/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/adrestia/adrestia_web/pulls/28","id":70269500,"html_url":"https://github.com/adrestia/adrestia_web/pull/28","diff_url":"https://github.com/adrestia/adrestia_web/pull/28.diff","patch_url":"https://github.com/adrestia/adrestia_web/pull/28.patch","issue_url":"https://api.github.com/repos/adrestia/adrestia_web/issues/28","number":28,"state":"open","locked":false,"title":"Api remove","user":{"login":"afan004","id":5581511,"avatar_url":"https://avatars.githubusercontent.com/u/5581511?v=3","gravatar_id":"","url":"https://api.github.com/users/afan004","html_url":"https://github.com/afan004","followers_url":"https://api.github.com/users/afan004/followers","following_url":"https://api.github.com/users/afan004/following{/other_user}","gists_url":"https://api.github.com/users/afan004/gists{/gist_id}","starred_url":"https://api.github.com/users/afan004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afan004/subscriptions","organizations_url":"https://api.github.com/users/afan004/orgs","repos_url":"https://api.github.com/users/afan004/repos","events_url":"https://api.github.com/users/afan004/events{/privacy}","received_events_url":"https://api.github.com/users/afan004/received_events","type":"User","site_admin":false},"body":"Added APIremove function and changed GetPostAction function","created_at":"2016-05-16T22:03:43Z","updated_at":"2016-05-16T23:22:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c97bac6078cb962d960a84381a07859d946ae24","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adrestia/adrestia_web/pulls/28/commits","review_comments_url":"https://api.github.com/repos/adrestia/adrestia_web/pulls/28/comments","review_comment_url":"https://api.github.com/repos/adrestia/adrestia_web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adrestia/adrestia_web/issues/28/comments","statuses_url":"https://api.github.com/repos/adrestia/adrestia_web/statuses/974891d705cbd6a4df95ca513f00147077571cce","head":{"label":"adrestia:APIremove","ref":"APIremove","sha":"974891d705cbd6a4df95ca513f00147077571cce","user":{"login":"adrestia","id":18411467,"avatar_url":"https://avatars.githubusercontent.com/u/18411467?v=3","gravatar_id":"","url":"https://api.github.com/users/adrestia","html_url":"https://github.com/adrestia","followers_url":"https://api.github.com/users/adrestia/followers","following_url":"https://api.github.com/users/adrestia/following{/other_user}","gists_url":"https://api.github.com/users/adrestia/gists{/gist_id}","starred_url":"https://api.github.com/users/adrestia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrestia/subscriptions","organizations_url":"https://api.github.com/users/adrestia/orgs","repos_url":"https://api.github.com/users/adrestia/repos","events_url":"https://api.github.com/users/adrestia/events{/privacy}","received_events_url":"https://api.github.com/users/adrestia/received_events","type":"Organization","site_admin":false},"repo":{"id":56026970,"name":"adrestia_web","full_name":"adrestia/adrestia_web","owner":{"login":"adrestia","id":18411467,"avatar_url":"https://avatars.githubusercontent.com/u/18411467?v=3","gravatar_id":"","url":"https://api.github.com/users/adrestia","html_url":"https://github.com/adrestia","followers_url":"https://api.github.com/users/adrestia/followers","following_url":"https://api.github.com/users/adrestia/following{/other_user}","gists_url":"https://api.github.com/users/adrestia/gists{/gist_id}","starred_url":"https://api.github.com/users/adrestia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrestia/subscriptions","organizations_url":"https://api.github.com/users/adrestia/orgs","repos_url":"https://api.github.com/users/adrestia/repos","events_url":"https://api.github.com/users/adrestia/events{/privacy}","received_events_url":"https://api.github.com/users/adrestia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adrestia/adrestia_web","description":"Web Backend and Frontend for Confessions","fork":false,"url":"https://api.github.com/repos/adrestia/adrestia_web","forks_url":"https://api.github.com/repos/adrestia/adrestia_web/forks","keys_url":"https://api.github.com/repos/adrestia/adrestia_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adrestia/adrestia_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adrestia/adrestia_web/teams","hooks_url":"https://api.github.com/repos/adrestia/adrestia_web/hooks","issue_events_url":"https://api.github.com/repos/adrestia/adrestia_web/issues/events{/number}","events_url":"https://api.github.com/repos/adrestia/adrestia_web/events","assignees_url":"https://api.github.com/repos/adrestia/adrestia_web/assignees{/user}","branches_url":"https://api.github.com/repos/adrestia/adrestia_web/branches{/branch}","tags_url":"https://api.github.com/repos/adrestia/adrestia_web/tags","blobs_url":"https://api.github.com/repos/adrestia/adrestia_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adrestia/adrestia_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adrestia/adrestia_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/adrestia/adrestia_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adrestia/adrestia_web/statuses/{sha}","languages_url":"https://api.github.com/repos/adrestia/adrestia_web/languages","stargazers_url":"https://api.github.com/repos/adrestia/adrestia_web/stargazers","contributors_url":"https://api.github.com/repos/adrestia/adrestia_web/contributors","subscribers_url":"https://api.github.com/repos/adrestia/adrestia_web/subscribers","subscription_url":"https://api.github.com/repos/adrestia/adrestia_web/subscription","commits_url":"https://api.github.com/repos/adrestia/adrestia_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/adrestia/adrestia_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/adrestia/adrestia_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/adrestia/adrestia_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/adrestia/adrestia_web/contents/{+path}","compare_url":"https://api.github.com/repos/adrestia/adrestia_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adrestia/adrestia_web/merges","archive_url":"https://api.github.com/repos/adrestia/adrestia_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adrestia/adrestia_web/downloads","issues_url":"https://api.github.com/repos/adrestia/adrestia_web/issues{/number}","pulls_url":"https://api.github.com/repos/adrestia/adrestia_web/pulls{/number}","milestones_url":"https://api.github.com/repos/adrestia/adrestia_web/milestones{/number}","notifications_url":"https://api.github.com/repos/adrestia/adrestia_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adrestia/adrestia_web/labels{/name}","releases_url":"https://api.github.com/repos/adrestia/adrestia_web/releases{/id}","deployments_url":"https://api.github.com/repos/adrestia/adrestia_web/deployments","created_at":"2016-04-12T03:14:06Z","updated_at":"2016-05-04T01:53:23Z","pushed_at":"2016-05-16T23:21:22Z","git_url":"git://github.com/adrestia/adrestia_web.git","ssh_url":"git@github.com:adrestia/adrestia_web.git","clone_url":"https://github.com/adrestia/adrestia_web.git","svn_url":"https://github.com/adrestia/adrestia_web","homepage":"","size":746,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"adrestia:dev","ref":"dev","sha":"7c0e64e674ca6b926d5211454984029110a9d63c","user":{"login":"adrestia","id":18411467,"avatar_url":"https://avatars.githubusercontent.com/u/18411467?v=3","gravatar_id":"","url":"https://api.github.com/users/adrestia","html_url":"https://github.com/adrestia","followers_url":"https://api.github.com/users/adrestia/followers","following_url":"https://api.github.com/users/adrestia/following{/other_user}","gists_url":"https://api.github.com/users/adrestia/gists{/gist_id}","starred_url":"https://api.github.com/users/adrestia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrestia/subscriptions","organizations_url":"https://api.github.com/users/adrestia/orgs","repos_url":"https://api.github.com/users/adrestia/repos","events_url":"https://api.github.com/users/adrestia/events{/privacy}","received_events_url":"https://api.github.com/users/adrestia/received_events","type":"Organization","site_admin":false},"repo":{"id":56026970,"name":"adrestia_web","full_name":"adrestia/adrestia_web","owner":{"login":"adrestia","id":18411467,"avatar_url":"https://avatars.githubusercontent.com/u/18411467?v=3","gravatar_id":"","url":"https://api.github.com/users/adrestia","html_url":"https://github.com/adrestia","followers_url":"https://api.github.com/users/adrestia/followers","following_url":"https://api.github.com/users/adrestia/following{/other_user}","gists_url":"https://api.github.com/users/adrestia/gists{/gist_id}","starred_url":"https://api.github.com/users/adrestia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrestia/subscriptions","organizations_url":"https://api.github.com/users/adrestia/orgs","repos_url":"https://api.github.com/users/adrestia/repos","events_url":"https://api.github.com/users/adrestia/events{/privacy}","received_events_url":"https://api.github.com/users/adrestia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adrestia/adrestia_web","description":"Web Backend and Frontend for Confessions","fork":false,"url":"https://api.github.com/repos/adrestia/adrestia_web","forks_url":"https://api.github.com/repos/adrestia/adrestia_web/forks","keys_url":"https://api.github.com/repos/adrestia/adrestia_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adrestia/adrestia_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adrestia/adrestia_web/teams","hooks_url":"https://api.github.com/repos/adrestia/adrestia_web/hooks","issue_events_url":"https://api.github.com/repos/adrestia/adrestia_web/issues/events{/number}","events_url":"https://api.github.com/repos/adrestia/adrestia_web/events","assignees_url":"https://api.github.com/repos/adrestia/adrestia_web/assignees{/user}","branches_url":"https://api.github.com/repos/adrestia/adrestia_web/branches{/branch}","tags_url":"https://api.github.com/repos/adrestia/adrestia_web/tags","blobs_url":"https://api.github.com/repos/adrestia/adrestia_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adrestia/adrestia_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adrestia/adrestia_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/adrestia/adrestia_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adrestia/adrestia_web/statuses/{sha}","languages_url":"https://api.github.com/repos/adrestia/adrestia_web/languages","stargazers_url":"https://api.github.com/repos/adrestia/adrestia_web/stargazers","contributors_url":"https://api.github.com/repos/adrestia/adrestia_web/contributors","subscribers_url":"https://api.github.com/repos/adrestia/adrestia_web/subscribers","subscription_url":"https://api.github.com/repos/adrestia/adrestia_web/subscription","commits_url":"https://api.github.com/repos/adrestia/adrestia_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/adrestia/adrestia_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/adrestia/adrestia_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/adrestia/adrestia_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/adrestia/adrestia_web/contents/{+path}","compare_url":"https://api.github.com/repos/adrestia/adrestia_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adrestia/adrestia_web/merges","archive_url":"https://api.github.com/repos/adrestia/adrestia_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adrestia/adrestia_web/downloads","issues_url":"https://api.github.com/repos/adrestia/adrestia_web/issues{/number}","pulls_url":"https://api.github.com/repos/adrestia/adrestia_web/pulls{/number}","milestones_url":"https://api.github.com/repos/adrestia/adrestia_web/milestones{/number}","notifications_url":"https://api.github.com/repos/adrestia/adrestia_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adrestia/adrestia_web/labels{/name}","releases_url":"https://api.github.com/repos/adrestia/adrestia_web/releases{/id}","deployments_url":"https://api.github.com/repos/adrestia/adrestia_web/deployments","created_at":"2016-04-12T03:14:06Z","updated_at":"2016-05-04T01:53:23Z","pushed_at":"2016-05-16T23:21:22Z","git_url":"git://github.com/adrestia/adrestia_web.git","ssh_url":"git@github.com:adrestia/adrestia_web.git","clone_url":"https://github.com/adrestia/adrestia_web.git","svn_url":"https://github.com/adrestia/adrestia_web","homepage":"","size":746,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adrestia/adrestia_web/pulls/28"},"html":{"href":"https://github.com/adrestia/adrestia_web/pull/28"},"issue":{"href":"https://api.github.com/repos/adrestia/adrestia_web/issues/28"},"comments":{"href":"https://api.github.com/repos/adrestia/adrestia_web/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/adrestia/adrestia_web/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/adrestia/adrestia_web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adrestia/adrestia_web/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/adrestia/adrestia_web/statuses/974891d705cbd6a4df95ca513f00147077571cce"}}}}