{"action":"closed","issue":{"url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/57","repository_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild","labels_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/57/comments","events_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/57/events","html_url":"https://github.com/alphagov/specialist-publisher-rebuild/issues/57","id":147019687,"number":57,"title":"[CLOSED] Notify finder api on publish","user":{"login":"benilovj","id":23801,"avatar_url":"https://avatars.githubusercontent.com/u/23801?v=3","gravatar_id":"","url":"https://api.github.com/users/benilovj","html_url":"https://github.com/benilovj","followers_url":"https://api.github.com/users/benilovj/followers","following_url":"https://api.github.com/users/benilovj/following{/other_user}","gists_url":"https://api.github.com/users/benilovj/gists{/gist_id}","starred_url":"https://api.github.com/users/benilovj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benilovj/subscriptions","organizations_url":"https://api.github.com/users/benilovj/orgs","repos_url":"https://api.github.com/users/benilovj/repos","events_url":"https://api.github.com/users/benilovj/events{/privacy}","received_events_url":"https://api.github.com/users/benilovj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-08T19:38:53Z","updated_at":"2016-04-09T10:23:12Z","closed_at":"2016-04-09T10:23:12Z","body":"<a href=\"https://github.com/elliotcm\"><img src=\"https://avatars.githubusercontent.com/u/109225?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [elliotcm](https://github.com/elliotcm)**\n_Thursday 20 March 2014 at 12:22 GMT_\n_Originally opened as https://github.com/alphagov/specialist-publisher/pull/57_\n\n----\n\nhttps://www.pivotaltracker.com/story/show/67303352\r\n\r\nWhen a document is published the publisher sends a JSON blob of the document's attributes to the Finder API so it can be indexed for the front-end.\r\n\r\nBoth the endpoint and the JSON format are subject to change but probably not much.\r\n\r\nApart from the automated tests I've confirmed the API received the POST, no more local testing can be done until the receiving side is built.\n\n----\n\n_**[elliotcm](https://github.com/elliotcm)** included the following code: https://github.com/alphagov/specialist-publisher/pull/57/commits_\n"}}