{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/2074","labels_url":"https://api.github.com/repos/alphagov/whitehall/issues/2074/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/whitehall/issues/2074/comments","events_url":"https://api.github.com/repos/alphagov/whitehall/issues/2074/events","html_url":"https://github.com/alphagov/whitehall/issues/2074","id":66306661,"number":2074,"title":"publications#show doesn't support JSON","user":{"login":"billinghamj","id":905772,"avatar_url":"https://avatars.githubusercontent.com/u/905772?v=3","gravatar_id":"","url":"https://api.github.com/users/billinghamj","html_url":"https://github.com/billinghamj","followers_url":"https://api.github.com/users/billinghamj/followers","following_url":"https://api.github.com/users/billinghamj/following{/other_user}","gists_url":"https://api.github.com/users/billinghamj/gists{/gist_id}","starred_url":"https://api.github.com/users/billinghamj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billinghamj/subscriptions","organizations_url":"https://api.github.com/users/billinghamj/orgs","repos_url":"https://api.github.com/users/billinghamj/repos","events_url":"https://api.github.com/users/billinghamj/events{/privacy}","received_events_url":"https://api.github.com/users/billinghamj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-04T11:14:13Z","updated_at":"2015-04-04T16:15:03Z","closed_at":null,"body":"Could you add a JSON output for publications?\r\n\r\nExample resource:\r\n\r\nhttps://www.gov.uk/government/publications/msn-1853-m-boatmasters-qualifications-crew-and-hours-of-work\r\n\r\nProposed URL:\r\n\r\nhttps://www.gov.uk/government/publications/msn-1853-m-boatmasters-qualifications-crew-and-hours-of-work.json\r\n\r\nCurrently returns a 404\r\n\r\nExpected JSON document\r\n\r\nRelevant code: https://github.com/alphagov/whitehall/blob/master/app/controllers/publications_controller.rb#L26"},"comment":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/comments/89608419","html_url":"https://github.com/alphagov/whitehall/issues/2074#issuecomment-89608419","issue_url":"https://api.github.com/repos/alphagov/whitehall/issues/2074","id":89608419,"user":{"login":"billinghamj","id":905772,"avatar_url":"https://avatars.githubusercontent.com/u/905772?v=3","gravatar_id":"","url":"https://api.github.com/users/billinghamj","html_url":"https://github.com/billinghamj","followers_url":"https://api.github.com/users/billinghamj/followers","following_url":"https://api.github.com/users/billinghamj/following{/other_user}","gists_url":"https://api.github.com/users/billinghamj/gists{/gist_id}","starred_url":"https://api.github.com/users/billinghamj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billinghamj/subscriptions","organizations_url":"https://api.github.com/users/billinghamj/orgs","repos_url":"https://api.github.com/users/billinghamj/repos","events_url":"https://api.github.com/users/billinghamj/events{/privacy}","received_events_url":"https://api.github.com/users/billinghamj/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T16:15:03Z","updated_at":"2015-04-04T16:15:03Z","body":"Oh weird. I didn't know you still had the routes where the path starts with /api/\r\n\r\nWe've ended up using the Atom feed, as that does include the content (which is the key stuff we need). It would still be good to add JSON feeds for content though."}}