{"action":"opened","number":416,"pull_request":{"url":"https://api.github.com/repos/alphagov/backdrop/pulls/416","id":28369122,"html_url":"https://github.com/alphagov/backdrop/pull/416","diff_url":"https://github.com/alphagov/backdrop/pull/416.diff","patch_url":"https://github.com/alphagov/backdrop/pull/416.patch","issue_url":"https://api.github.com/repos/alphagov/backdrop/issues/416","number":416,"state":"open","locked":false,"title":"Filter by id - there is > 1 data point per slug","user":{"login":"jcbashdown","id":677893,"avatar_url":"https://avatars.githubusercontent.com/u/677893?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbashdown","html_url":"https://github.com/jcbashdown","followers_url":"https://api.github.com/users/jcbashdown/followers","following_url":"https://api.github.com/users/jcbashdown/following{/other_user}","gists_url":"https://api.github.com/users/jcbashdown/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbashdown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbashdown/subscriptions","organizations_url":"https://api.github.com/users/jcbashdown/orgs","repos_url":"https://api.github.com/users/jcbashdown/repos","events_url":"https://api.github.com/users/jcbashdown/events{/privacy}","received_events_url":"https://api.github.com/users/jcbashdown/received_events","type":"User","site_admin":false},"body":"Previous filtering by dasboard slug means it will not post if there is\r\nANY newer data point for that dashboard. This made sense when we posted\r\nall data from a time regardless of nulls and so the latest timestamp of\r\none data point was representative of the latest data point for all the\r\nothers. This is no longer true as we now post the latest non null for a\r\ndashboard slug.","created_at":"2015-01-30T15:31:37Z","updated_at":"2015-01-30T15:31:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/backdrop/pulls/416/commits","review_comments_url":"https://api.github.com/repos/alphagov/backdrop/pulls/416/comments","review_comment_url":"https://api.github.com/repos/alphagov/backdrop/pulls/comments/{number}","comments_url":"https://api.github.com/repos/alphagov/backdrop/issues/416/comments","statuses_url":"https://api.github.com/repos/alphagov/backdrop/statuses/67aec763a08feffb5de01a3e3ede008e56ef6d6b","head":{"label":"alphagov:filter-latest-by-record-id","ref":"filter-latest-by-record-id","sha":"67aec763a08feffb5de01a3e3ede008e56ef6d6b","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":8884773,"name":"backdrop","full_name":"alphagov/backdrop","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/backdrop","description":"Storing and querying data for the Performance Platform","fork":false,"url":"https://api.github.com/repos/alphagov/backdrop","forks_url":"https://api.github.com/repos/alphagov/backdrop/forks","keys_url":"https://api.github.com/repos/alphagov/backdrop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/backdrop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/backdrop/teams","hooks_url":"https://api.github.com/repos/alphagov/backdrop/hooks","issue_events_url":"https://api.github.com/repos/alphagov/backdrop/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/backdrop/events","assignees_url":"https://api.github.com/repos/alphagov/backdrop/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/backdrop/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/backdrop/tags","blobs_url":"https://api.github.com/repos/alphagov/backdrop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/backdrop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/backdrop/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/backdrop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/backdrop/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/backdrop/languages","stargazers_url":"https://api.github.com/repos/alphagov/backdrop/stargazers","contributors_url":"https://api.github.com/repos/alphagov/backdrop/contributors","subscribers_url":"https://api.github.com/repos/alphagov/backdrop/subscribers","subscription_url":"https://api.github.com/repos/alphagov/backdrop/subscription","commits_url":"https://api.github.com/repos/alphagov/backdrop/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/backdrop/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/backdrop/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/backdrop/issues/comments/{number}","contents_url":"https://api.github.com/repos/alphagov/backdrop/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/backdrop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/backdrop/merges","archive_url":"https://api.github.com/repos/alphagov/backdrop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/backdrop/downloads","issues_url":"https://api.github.com/repos/alphagov/backdrop/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/backdrop/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/backdrop/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/backdrop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/backdrop/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/backdrop/releases{/id}","created_at":"2013-03-19T17:35:45Z","updated_at":"2015-01-30T13:47:45Z","pushed_at":"2015-01-30T15:30:33Z","git_url":"git://github.com/alphagov/backdrop.git","ssh_url":"git@github.com:alphagov/backdrop.git","clone_url":"https://github.com/alphagov/backdrop.git","svn_url":"https://github.com/alphagov/backdrop","homepage":"","size":11104,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":9,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"005897471a06ae848695af8dcac3924c2ab7bc32","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":8884773,"name":"backdrop","full_name":"alphagov/backdrop","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/backdrop","description":"Storing and querying data for the Performance Platform","fork":false,"url":"https://api.github.com/repos/alphagov/backdrop","forks_url":"https://api.github.com/repos/alphagov/backdrop/forks","keys_url":"https://api.github.com/repos/alphagov/backdrop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/backdrop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/backdrop/teams","hooks_url":"https://api.github.com/repos/alphagov/backdrop/hooks","issue_events_url":"https://api.github.com/repos/alphagov/backdrop/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/backdrop/events","assignees_url":"https://api.github.com/repos/alphagov/backdrop/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/backdrop/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/backdrop/tags","blobs_url":"https://api.github.com/repos/alphagov/backdrop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/backdrop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/backdrop/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/backdrop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/backdrop/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/backdrop/languages","stargazers_url":"https://api.github.com/repos/alphagov/backdrop/stargazers","contributors_url":"https://api.github.com/repos/alphagov/backdrop/contributors","subscribers_url":"https://api.github.com/repos/alphagov/backdrop/subscribers","subscription_url":"https://api.github.com/repos/alphagov/backdrop/subscription","commits_url":"https://api.github.com/repos/alphagov/backdrop/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/backdrop/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/backdrop/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/backdrop/issues/comments/{number}","contents_url":"https://api.github.com/repos/alphagov/backdrop/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/backdrop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/backdrop/merges","archive_url":"https://api.github.com/repos/alphagov/backdrop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/backdrop/downloads","issues_url":"https://api.github.com/repos/alphagov/backdrop/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/backdrop/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/backdrop/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/backdrop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/backdrop/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/backdrop/releases{/id}","created_at":"2013-03-19T17:35:45Z","updated_at":"2015-01-30T13:47:45Z","pushed_at":"2015-01-30T15:30:33Z","git_url":"git://github.com/alphagov/backdrop.git","ssh_url":"git@github.com:alphagov/backdrop.git","clone_url":"https://github.com/alphagov/backdrop.git","svn_url":"https://github.com/alphagov/backdrop","homepage":"","size":11104,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/backdrop/pulls/416"},"html":{"href":"https://github.com/alphagov/backdrop/pull/416"},"issue":{"href":"https://api.github.com/repos/alphagov/backdrop/issues/416"},"comments":{"href":"https://api.github.com/repos/alphagov/backdrop/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/backdrop/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/backdrop/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/alphagov/backdrop/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/backdrop/statuses/67aec763a08feffb5de01a3e3ede008e56ef6d6b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":1}}