{"action":"closed","number":490,"pull_request":{"url":"https://api.github.com/repos/lobsters/lobsters/pulls/490","id":186690172,"html_url":"https://github.com/lobsters/lobsters/pull/490","diff_url":"https://github.com/lobsters/lobsters/pull/490.diff","patch_url":"https://github.com/lobsters/lobsters/pull/490.patch","issue_url":"https://api.github.com/repos/lobsters/lobsters/issues/490","number":490,"state":"closed","locked":false,"title":"Exposing most pages as JSON and RSS","user":{"login":"NinjaTrappeur","id":1219785,"avatar_url":"https://avatars1.githubusercontent.com/u/1219785?v=4","gravatar_id":"","url":"https://api.github.com/users/NinjaTrappeur","html_url":"https://github.com/NinjaTrappeur","followers_url":"https://api.github.com/users/NinjaTrappeur/followers","following_url":"https://api.github.com/users/NinjaTrappeur/following{/other_user}","gists_url":"https://api.github.com/users/NinjaTrappeur/gists{/gist_id}","starred_url":"https://api.github.com/users/NinjaTrappeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NinjaTrappeur/subscriptions","organizations_url":"https://api.github.com/users/NinjaTrappeur/orgs","repos_url":"https://api.github.com/users/NinjaTrappeur/repos","events_url":"https://api.github.com/users/NinjaTrappeur/events{/privacy}","received_events_url":"https://api.github.com/users/NinjaTrappeur/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nThis PR expose most of lobsters routes as HTML, JSON and RSS. I basically just added both the JSON and RSS formatters to every relevant routes. I haven't modified those for which the HTML formatter is not the default one.\r\n\r\nNote: I did not refactored the routes, a lot of legacy/duplicate one seems to still be present.\r\n\r\nI needed to test this change locally and had some trouble setting up the project on my system. I added a shell.nix file which will help future nix users to setup their dev environment and prevent most of the struggles I gone though.","created_at":"2018-05-08T16:34:43Z","updated_at":"2018-05-17T13:01:08Z","closed_at":"2018-05-17T13:01:08Z","merged_at":null,"merge_commit_sha":"48d6db5766144a0b5527f545dcc5a4acdf84c04f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lobsters/lobsters/pulls/490/commits","review_comments_url":"https://api.github.com/repos/lobsters/lobsters/pulls/490/comments","review_comment_url":"https://api.github.com/repos/lobsters/lobsters/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lobsters/lobsters/issues/490/comments","statuses_url":"https://api.github.com/repos/lobsters/lobsters/statuses/4f7a8f68651906ae60b847adb4bcd4a727e55e5d","head":{"label":"NinjaTrappeur:json-routes","ref":"json-routes","sha":"4f7a8f68651906ae60b847adb4bcd4a727e55e5d","user":{"login":"NinjaTrappeur","id":1219785,"avatar_url":"https://avatars1.githubusercontent.com/u/1219785?v=4","gravatar_id":"","url":"https://api.github.com/users/NinjaTrappeur","html_url":"https://github.com/NinjaTrappeur","followers_url":"https://api.github.com/users/NinjaTrappeur/followers","following_url":"https://api.github.com/users/NinjaTrappeur/following{/other_user}","gists_url":"https://api.github.com/users/NinjaTrappeur/gists{/gist_id}","starred_url":"https://api.github.com/users/NinjaTrappeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NinjaTrappeur/subscriptions","organizations_url":"https://api.github.com/users/NinjaTrappeur/orgs","repos_url":"https://api.github.com/users/NinjaTrappeur/repos","events_url":"https://api.github.com/users/NinjaTrappeur/events{/privacy}","received_events_url":"https://api.github.com/users/NinjaTrappeur/received_events","type":"User","site_admin":false},"repo":{"id":132635457,"name":"lobsters","full_name":"NinjaTrappeur/lobsters","owner":{"login":"NinjaTrappeur","id":1219785,"avatar_url":"https://avatars1.githubusercontent.com/u/1219785?v=4","gravatar_id":"","url":"https://api.github.com/users/NinjaTrappeur","html_url":"https://github.com/NinjaTrappeur","followers_url":"https://api.github.com/users/NinjaTrappeur/followers","following_url":"https://api.github.com/users/NinjaTrappeur/following{/other_user}","gists_url":"https://api.github.com/users/NinjaTrappeur/gists{/gist_id}","starred_url":"https://api.github.com/users/NinjaTrappeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NinjaTrappeur/subscriptions","organizations_url":"https://api.github.com/users/NinjaTrappeur/orgs","repos_url":"https://api.github.com/users/NinjaTrappeur/repos","events_url":"https://api.github.com/users/NinjaTrappeur/events{/privacy}","received_events_url":"https://api.github.com/users/NinjaTrappeur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NinjaTrappeur/lobsters","description":"Rails code running the Lobsters link aggregation site","fork":true,"url":"https://api.github.com/repos/NinjaTrappeur/lobsters","forks_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/forks","keys_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/teams","hooks_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/hooks","issue_events_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/issues/events{/number}","events_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/events","assignees_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/assignees{/user}","branches_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/branches{/branch}","tags_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/tags","blobs_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/git/refs{/sha}","trees_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/statuses/{sha}","languages_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/languages","stargazers_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/stargazers","contributors_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/contributors","subscribers_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/subscribers","subscription_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/subscription","commits_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/commits{/sha}","git_commits_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/git/commits{/sha}","comments_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/comments{/number}","issue_comment_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/issues/comments{/number}","contents_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/contents/{+path}","compare_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/merges","archive_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/downloads","issues_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/issues{/number}","pulls_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/pulls{/number}","milestones_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/milestones{/number}","notifications_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/labels{/name}","releases_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/releases{/id}","deployments_url":"https://api.github.com/repos/NinjaTrappeur/lobsters/deployments","created_at":"2018-05-08T16:22:30Z","updated_at":"2018-05-08T16:22:33Z","pushed_at":"2018-05-08T16:23:10Z","git_url":"git://github.com/NinjaTrappeur/lobsters.git","ssh_url":"git@github.com:NinjaTrappeur/lobsters.git","clone_url":"https://github.com/NinjaTrappeur/lobsters.git","svn_url":"https://github.com/NinjaTrappeur/lobsters","homepage":"https://lobste.rs","size":2051,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lobsters:master","ref":"master","sha":"0c71c80c3739e01d040a144b92d05b6bea8bdf67","user":{"login":"lobsters","id":32438445,"avatar_url":"https://avatars2.githubusercontent.com/u/32438445?v=4","gravatar_id":"","url":"https://api.github.com/users/lobsters","html_url":"https://github.com/lobsters","followers_url":"https://api.github.com/users/lobsters/followers","following_url":"https://api.github.com/users/lobsters/following{/other_user}","gists_url":"https://api.github.com/users/lobsters/gists{/gist_id}","starred_url":"https://api.github.com/users/lobsters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lobsters/subscriptions","organizations_url":"https://api.github.com/users/lobsters/orgs","repos_url":"https://api.github.com/users/lobsters/repos","events_url":"https://api.github.com/users/lobsters/events{/privacy}","received_events_url":"https://api.github.com/users/lobsters/received_events","type":"Organization","site_admin":false},"repo":{"id":5543112,"name":"lobsters","full_name":"lobsters/lobsters","owner":{"login":"lobsters","id":32438445,"avatar_url":"https://avatars2.githubusercontent.com/u/32438445?v=4","gravatar_id":"","url":"https://api.github.com/users/lobsters","html_url":"https://github.com/lobsters","followers_url":"https://api.github.com/users/lobsters/followers","following_url":"https://api.github.com/users/lobsters/following{/other_user}","gists_url":"https://api.github.com/users/lobsters/gists{/gist_id}","starred_url":"https://api.github.com/users/lobsters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lobsters/subscriptions","organizations_url":"https://api.github.com/users/lobsters/orgs","repos_url":"https://api.github.com/users/lobsters/repos","events_url":"https://api.github.com/users/lobsters/events{/privacy}","received_events_url":"https://api.github.com/users/lobsters/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lobsters/lobsters","description":"Rails code running the Lobsters link aggregation site","fork":false,"url":"https://api.github.com/repos/lobsters/lobsters","forks_url":"https://api.github.com/repos/lobsters/lobsters/forks","keys_url":"https://api.github.com/repos/lobsters/lobsters/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lobsters/lobsters/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lobsters/lobsters/teams","hooks_url":"https://api.github.com/repos/lobsters/lobsters/hooks","issue_events_url":"https://api.github.com/repos/lobsters/lobsters/issues/events{/number}","events_url":"https://api.github.com/repos/lobsters/lobsters/events","assignees_url":"https://api.github.com/repos/lobsters/lobsters/assignees{/user}","branches_url":"https://api.github.com/repos/lobsters/lobsters/branches{/branch}","tags_url":"https://api.github.com/repos/lobsters/lobsters/tags","blobs_url":"https://api.github.com/repos/lobsters/lobsters/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lobsters/lobsters/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lobsters/lobsters/git/refs{/sha}","trees_url":"https://api.github.com/repos/lobsters/lobsters/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lobsters/lobsters/statuses/{sha}","languages_url":"https://api.github.com/repos/lobsters/lobsters/languages","stargazers_url":"https://api.github.com/repos/lobsters/lobsters/stargazers","contributors_url":"https://api.github.com/repos/lobsters/lobsters/contributors","subscribers_url":"https://api.github.com/repos/lobsters/lobsters/subscribers","subscription_url":"https://api.github.com/repos/lobsters/lobsters/subscription","commits_url":"https://api.github.com/repos/lobsters/lobsters/commits{/sha}","git_commits_url":"https://api.github.com/repos/lobsters/lobsters/git/commits{/sha}","comments_url":"https://api.github.com/repos/lobsters/lobsters/comments{/number}","issue_comment_url":"https://api.github.com/repos/lobsters/lobsters/issues/comments{/number}","contents_url":"https://api.github.com/repos/lobsters/lobsters/contents/{+path}","compare_url":"https://api.github.com/repos/lobsters/lobsters/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lobsters/lobsters/merges","archive_url":"https://api.github.com/repos/lobsters/lobsters/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lobsters/lobsters/downloads","issues_url":"https://api.github.com/repos/lobsters/lobsters/issues{/number}","pulls_url":"https://api.github.com/repos/lobsters/lobsters/pulls{/number}","milestones_url":"https://api.github.com/repos/lobsters/lobsters/milestones{/number}","notifications_url":"https://api.github.com/repos/lobsters/lobsters/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lobsters/lobsters/labels{/name}","releases_url":"https://api.github.com/repos/lobsters/lobsters/releases{/id}","deployments_url":"https://api.github.com/repos/lobsters/lobsters/deployments","created_at":"2012-08-24T16:48:03Z","updated_at":"2018-05-17T12:58:40Z","pushed_at":"2018-05-17T12:53:47Z","git_url":"git://github.com/lobsters/lobsters.git","ssh_url":"git@github.com:lobsters/lobsters.git","clone_url":"https://github.com/lobsters/lobsters.git","svn_url":"https://github.com/lobsters/lobsters","homepage":"https://lobste.rs","size":2066,"stargazers_count":1674,"watchers_count":1674,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":425,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":425,"open_issues":23,"watchers":1674,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lobsters/lobsters/pulls/490"},"html":{"href":"https://github.com/lobsters/lobsters/pull/490"},"issue":{"href":"https://api.github.com/repos/lobsters/lobsters/issues/490"},"comments":{"href":"https://api.github.com/repos/lobsters/lobsters/issues/490/comments"},"review_comments":{"href":"https://api.github.com/repos/lobsters/lobsters/pulls/490/comments"},"review_comment":{"href":"https://api.github.com/repos/lobsters/lobsters/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lobsters/lobsters/pulls/490/commits"},"statuses":{"href":"https://api.github.com/repos/lobsters/lobsters/statuses/4f7a8f68651906ae60b847adb4bcd4a727e55e5d"}},"author_association":"NONE","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":5,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":40,"deletions":29,"changed_files":2}}
{"actor":{"display_login":"NinjaTrappeur"}}