{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/2569","repository_url":"https://api.github.com/repos/alphagov/whitehall","labels_url":"https://api.github.com/repos/alphagov/whitehall/issues/2569/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/whitehall/issues/2569/comments","events_url":"https://api.github.com/repos/alphagov/whitehall/issues/2569/events","html_url":"https://github.com/alphagov/whitehall/pull/2569","id":151344344,"number":2569,"title":"Always send content_id to Rummager","user":{"login":"tijmenb","id":233676,"avatar_url":"https://avatars.githubusercontent.com/u/233676?v=3","gravatar_id":"","url":"https://api.github.com/users/tijmenb","html_url":"https://github.com/tijmenb","followers_url":"https://api.github.com/users/tijmenb/followers","following_url":"https://api.github.com/users/tijmenb/following{/other_user}","gists_url":"https://api.github.com/users/tijmenb/gists{/gist_id}","starred_url":"https://api.github.com/users/tijmenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijmenb/subscriptions","organizations_url":"https://api.github.com/users/tijmenb/orgs","repos_url":"https://api.github.com/users/tijmenb/repos","events_url":"https://api.github.com/users/tijmenb/events{/privacy}","received_events_url":"https://api.github.com/users/tijmenb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-27T09:48:26Z","updated_at":"2016-04-27T10:21:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/whitehall/pulls/2569","html_url":"https://github.com/alphagov/whitehall/pull/2569","diff_url":"https://github.com/alphagov/whitehall/pull/2569.diff","patch_url":"https://github.com/alphagov/whitehall/pull/2569.patch"},"body":"This makes sure that we send the `content_id` to rummager for all content in Whitehall. This will be handy Rummager starts to read from the publishing-api (https://github.com/alphagov/rummager/pull/632).\r\n\r\nIt would allow us to skip the `lookup_content_id` in the [indexing task](https://github.com/alphagov/rummager/blob/48db9ed8fd858cfc0b481776c66c7d9591bef57e/lib/indexer/tag_lookup.rb#L22) for some content, potentially saving a lot of requests.\r\n\r\nNote I've added one test, just to be sure. The tests added in https://github.com/alphagov/whitehall/pull/2560 cover `organisations`."},"comment":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/comments/215041437","html_url":"https://github.com/alphagov/whitehall/pull/2569#issuecomment-215041437","issue_url":"https://api.github.com/repos/alphagov/whitehall/issues/2569","id":215041437,"user":{"login":"tijmenb","id":233676,"avatar_url":"https://avatars.githubusercontent.com/u/233676?v=3","gravatar_id":"","url":"https://api.github.com/users/tijmenb","html_url":"https://github.com/tijmenb","followers_url":"https://api.github.com/users/tijmenb/followers","following_url":"https://api.github.com/users/tijmenb/following{/other_user}","gists_url":"https://api.github.com/users/tijmenb/gists{/gist_id}","starred_url":"https://api.github.com/users/tijmenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijmenb/subscriptions","organizations_url":"https://api.github.com/users/tijmenb/orgs","repos_url":"https://api.github.com/users/tijmenb/repos","events_url":"https://api.github.com/users/tijmenb/events{/privacy}","received_events_url":"https://api.github.com/users/tijmenb/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T10:21:18Z","updated_at":"2016-04-27T10:21:18Z","body":"@benilovj yeah - it was quite naive to think this would pass without issue. Updating now. "}}