{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/content-publisher/issues/189","repository_url":"https://api.github.com/repos/alphagov/content-publisher","labels_url":"https://api.github.com/repos/alphagov/content-publisher/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/content-publisher/issues/189/comments","events_url":"https://api.github.com/repos/alphagov/content-publisher/issues/189/events","html_url":"https://github.com/alphagov/content-publisher/pull/189","id":355600729,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMDkxMjUy","number":189,"title":"Associate document with user who created it","user":{"login":"emmabeynon","id":13434452,"node_id":"MDQ6VXNlcjEzNDM0NDUy","avatar_url":"https://avatars3.githubusercontent.com/u/13434452?v=4","gravatar_id":"","url":"https://api.github.com/users/emmabeynon","html_url":"https://github.com/emmabeynon","followers_url":"https://api.github.com/users/emmabeynon/followers","following_url":"https://api.github.com/users/emmabeynon/following{/other_user}","gists_url":"https://api.github.com/users/emmabeynon/gists{/gist_id}","starred_url":"https://api.github.com/users/emmabeynon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmabeynon/subscriptions","organizations_url":"https://api.github.com/users/emmabeynon/orgs","repos_url":"https://api.github.com/users/emmabeynon/repos","events_url":"https://api.github.com/users/emmabeynon/events{/privacy}","received_events_url":"https://api.github.com/users/emmabeynon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-30T14:03:58Z","updated_at":"2018-08-31T15:55:50Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/alphagov/content-publisher/pulls/189","html_url":"https://github.com/alphagov/content-publisher/pull/189","diff_url":"https://github.com/alphagov/content-publisher/pull/189.diff","patch_url":"https://github.com/alphagov/content-publisher/pull/189.patch"},"body":"For https://trello.com/c/Th0t8cUb/165-associate-a-document-with-the-user-who-created-it\r\n\r\nIn this PR we associate a document with a creator so we're able to look up who created it.  This allows us to display information about the person who created the document; for now it will just be the creator's name on the document summary page, but in future could include their organisation for example.\r\n\r\n<img width=\"370\" alt=\"screen shot 2018-08-30 at 14 13 36\" src=\"https://user-images.githubusercontent.com/13434452/44856763-227c1900-ac66-11e8-9b16-aa5b4e13e387.png\">\r\n\r\nWe also handle instances where a document has no creator by displaying it as \"Unknown\"."},"comment":{"url":"https://api.github.com/repos/alphagov/content-publisher/issues/comments/417708928","html_url":"https://github.com/alphagov/content-publisher/pull/189#issuecomment-417708928","issue_url":"https://api.github.com/repos/alphagov/content-publisher/issues/189","id":417708928,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzcwODkyOA==","user":{"login":"emmabeynon","id":13434452,"node_id":"MDQ6VXNlcjEzNDM0NDUy","avatar_url":"https://avatars3.githubusercontent.com/u/13434452?v=4","gravatar_id":"","url":"https://api.github.com/users/emmabeynon","html_url":"https://github.com/emmabeynon","followers_url":"https://api.github.com/users/emmabeynon/followers","following_url":"https://api.github.com/users/emmabeynon/following{/other_user}","gists_url":"https://api.github.com/users/emmabeynon/gists{/gist_id}","starred_url":"https://api.github.com/users/emmabeynon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmabeynon/subscriptions","organizations_url":"https://api.github.com/users/emmabeynon/orgs","repos_url":"https://api.github.com/users/emmabeynon/repos","events_url":"https://api.github.com/users/emmabeynon/events{/privacy}","received_events_url":"https://api.github.com/users/emmabeynon/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T15:55:50Z","updated_at":"2018-08-31T15:55:50Z","author_association":"CONTRIBUTOR","body":"@benthorner Those changes should be sorted now 👍 "}}
{"actor":{"display_login":"emmabeynon"}}