{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/pursuit/issues/165","labels_url":"https://api.github.com/repos/purescript/pursuit/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/purescript/pursuit/issues/165/comments","events_url":"https://api.github.com/repos/purescript/pursuit/issues/165/events","html_url":"https://github.com/purescript/pursuit/pull/165","id":118209254,"number":165,"title":"RESTful package list","user":{"login":"hdgarrood","id":1270186,"avatar_url":"https://avatars.githubusercontent.com/u/1270186?v=3","gravatar_id":"","url":"https://api.github.com/users/hdgarrood","html_url":"https://github.com/hdgarrood","followers_url":"https://api.github.com/users/hdgarrood/followers","following_url":"https://api.github.com/users/hdgarrood/following{/other_user}","gists_url":"https://api.github.com/users/hdgarrood/gists{/gist_id}","starred_url":"https://api.github.com/users/hdgarrood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdgarrood/subscriptions","organizations_url":"https://api.github.com/users/hdgarrood/orgs","repos_url":"https://api.github.com/users/hdgarrood/repos","events_url":"https://api.github.com/users/hdgarrood/events{/privacy}","received_events_url":"https://api.github.com/users/hdgarrood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-21T17:25:08Z","updated_at":"2015-11-21T17:29:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/purescript/pursuit/pulls/165","html_url":"https://github.com/purescript/pursuit/pull/165","diff_url":"https://github.com/purescript/pursuit/pull/165.diff","patch_url":"https://github.com/purescript/pursuit/pull/165.patch"},"body":"Add JSON and plain text representations available at /packages - Yesod chooses which to serve based on the Accept header.\r\n\r\n@paf31 I wanted to get you to review this a) to see what you thought but also b) because I am fairly sure that it will require changes to the nginx configuration. At the moment I think nginx just tries to serve the first out of `index.{html,txt,json,svg}` that exists, and if none do, then it proxies to Yesod. With these changes, we would need to change it so that the Accept header is also checked in the nginx configuration, I think. I'm not exactly sure how it would look."},"comment":{"url":"https://api.github.com/repos/purescript/pursuit/issues/comments/158663585","html_url":"https://github.com/purescript/pursuit/pull/165#issuecomment-158663585","issue_url":"https://api.github.com/repos/purescript/pursuit/issues/165","id":158663585,"user":{"login":"hdgarrood","id":1270186,"avatar_url":"https://avatars.githubusercontent.com/u/1270186?v=3","gravatar_id":"","url":"https://api.github.com/users/hdgarrood","html_url":"https://github.com/hdgarrood","followers_url":"https://api.github.com/users/hdgarrood/followers","following_url":"https://api.github.com/users/hdgarrood/following{/other_user}","gists_url":"https://api.github.com/users/hdgarrood/gists{/gist_id}","starred_url":"https://api.github.com/users/hdgarrood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdgarrood/subscriptions","organizations_url":"https://api.github.com/users/hdgarrood/orgs","repos_url":"https://api.github.com/users/hdgarrood/repos","events_url":"https://api.github.com/users/hdgarrood/events{/privacy}","received_events_url":"https://api.github.com/users/hdgarrood/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T17:29:26Z","updated_at":"2015-11-21T17:29:26Z","body":"Cool. :)"}}