{"action":"opened","number":819,"pull_request":{"url":"https://api.github.com/repos/openaps/oref0/pulls/819","id":154709354,"html_url":"https://github.com/openaps/oref0/pull/819","diff_url":"https://github.com/openaps/oref0/pull/819.diff","patch_url":"https://github.com/openaps/oref0/pull/819.patch","issue_url":"https://api.github.com/repos/openaps/oref0/issues/819","number":819,"state":"open","locked":false,"title":"Basal record search","user":{"login":"cjo20","id":442323,"avatar_url":"https://avatars2.githubusercontent.com/u/442323?v=4","gravatar_id":"","url":"https://api.github.com/users/cjo20","html_url":"https://github.com/cjo20","followers_url":"https://api.github.com/users/cjo20/followers","following_url":"https://api.github.com/users/cjo20/following{/other_user}","gists_url":"https://api.github.com/users/cjo20/gists{/gist_id}","starred_url":"https://api.github.com/users/cjo20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjo20/subscriptions","organizations_url":"https://api.github.com/users/cjo20/orgs","repos_url":"https://api.github.com/users/cjo20/repos","events_url":"https://api.github.com/users/cjo20/events{/privacy}","received_events_url":"https://api.github.com/users/cjo20/received_events","type":"User","site_admin":false},"body":"Search more than 1 record ahead to find a duration to match a basal rate change. Only search to the end of the array, or until the record date changes.\r\n\r\nDon't search using `date` to validate the records match, it isn't defined in those records. Instead use `timestamp`.","created_at":"2017-11-27T01:30:42Z","updated_at":"2017-11-27T01:30:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/openaps/oref0/pulls/819/commits","review_comments_url":"https://api.github.com/repos/openaps/oref0/pulls/819/comments","review_comment_url":"https://api.github.com/repos/openaps/oref0/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openaps/oref0/issues/819/comments","statuses_url":"https://api.github.com/repos/openaps/oref0/statuses/6bf9b3d5fbb1c438c469ceb04cab9a051f41778a","head":{"label":"cjo20:BasalRecordSearch","ref":"BasalRecordSearch","sha":"6bf9b3d5fbb1c438c469ceb04cab9a051f41778a","user":{"login":"cjo20","id":442323,"avatar_url":"https://avatars2.githubusercontent.com/u/442323?v=4","gravatar_id":"","url":"https://api.github.com/users/cjo20","html_url":"https://github.com/cjo20","followers_url":"https://api.github.com/users/cjo20/followers","following_url":"https://api.github.com/users/cjo20/following{/other_user}","gists_url":"https://api.github.com/users/cjo20/gists{/gist_id}","starred_url":"https://api.github.com/users/cjo20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjo20/subscriptions","organizations_url":"https://api.github.com/users/cjo20/orgs","repos_url":"https://api.github.com/users/cjo20/repos","events_url":"https://api.github.com/users/cjo20/events{/privacy}","received_events_url":"https://api.github.com/users/cjo20/received_events","type":"User","site_admin":false},"repo":{"id":47438075,"name":"oref0","full_name":"cjo20/oref0","owner":{"login":"cjo20","id":442323,"avatar_url":"https://avatars2.githubusercontent.com/u/442323?v=4","gravatar_id":"","url":"https://api.github.com/users/cjo20","html_url":"https://github.com/cjo20","followers_url":"https://api.github.com/users/cjo20/followers","following_url":"https://api.github.com/users/cjo20/following{/other_user}","gists_url":"https://api.github.com/users/cjo20/gists{/gist_id}","starred_url":"https://api.github.com/users/cjo20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjo20/subscriptions","organizations_url":"https://api.github.com/users/cjo20/orgs","repos_url":"https://api.github.com/users/cjo20/repos","events_url":"https://api.github.com/users/cjo20/events{/privacy}","received_events_url":"https://api.github.com/users/cjo20/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cjo20/oref0","description":"oref0: The open reference implementation of the OpenAPS reference design.","fork":true,"url":"https://api.github.com/repos/cjo20/oref0","forks_url":"https://api.github.com/repos/cjo20/oref0/forks","keys_url":"https://api.github.com/repos/cjo20/oref0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cjo20/oref0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cjo20/oref0/teams","hooks_url":"https://api.github.com/repos/cjo20/oref0/hooks","issue_events_url":"https://api.github.com/repos/cjo20/oref0/issues/events{/number}","events_url":"https://api.github.com/repos/cjo20/oref0/events","assignees_url":"https://api.github.com/repos/cjo20/oref0/assignees{/user}","branches_url":"https://api.github.com/repos/cjo20/oref0/branches{/branch}","tags_url":"https://api.github.com/repos/cjo20/oref0/tags","blobs_url":"https://api.github.com/repos/cjo20/oref0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cjo20/oref0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cjo20/oref0/git/refs{/sha}","trees_url":"https://api.github.com/repos/cjo20/oref0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cjo20/oref0/statuses/{sha}","languages_url":"https://api.github.com/repos/cjo20/oref0/languages","stargazers_url":"https://api.github.com/repos/cjo20/oref0/stargazers","contributors_url":"https://api.github.com/repos/cjo20/oref0/contributors","subscribers_url":"https://api.github.com/repos/cjo20/oref0/subscribers","subscription_url":"https://api.github.com/repos/cjo20/oref0/subscription","commits_url":"https://api.github.com/repos/cjo20/oref0/commits{/sha}","git_commits_url":"https://api.github.com/repos/cjo20/oref0/git/commits{/sha}","comments_url":"https://api.github.com/repos/cjo20/oref0/comments{/number}","issue_comment_url":"https://api.github.com/repos/cjo20/oref0/issues/comments{/number}","contents_url":"https://api.github.com/repos/cjo20/oref0/contents/{+path}","compare_url":"https://api.github.com/repos/cjo20/oref0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cjo20/oref0/merges","archive_url":"https://api.github.com/repos/cjo20/oref0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cjo20/oref0/downloads","issues_url":"https://api.github.com/repos/cjo20/oref0/issues{/number}","pulls_url":"https://api.github.com/repos/cjo20/oref0/pulls{/number}","milestones_url":"https://api.github.com/repos/cjo20/oref0/milestones{/number}","notifications_url":"https://api.github.com/repos/cjo20/oref0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cjo20/oref0/labels{/name}","releases_url":"https://api.github.com/repos/cjo20/oref0/releases{/id}","deployments_url":"https://api.github.com/repos/cjo20/oref0/deployments","created_at":"2015-12-05T02:01:37Z","updated_at":"2016-06-13T18:19:35Z","pushed_at":"2017-11-27T01:26:31Z","git_url":"git://github.com/cjo20/oref0.git","ssh_url":"git@github.com:cjo20/oref0.git","clone_url":"https://github.com/cjo20/oref0.git","svn_url":"https://github.com/cjo20/oref0","homepage":"","size":2819,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openaps:dev","ref":"dev","sha":"f5a4454048ac6f10723b85c838c3a325dfab5216","user":{"login":"openaps","id":11914497,"avatar_url":"https://avatars3.githubusercontent.com/u/11914497?v=4","gravatar_id":"","url":"https://api.github.com/users/openaps","html_url":"https://github.com/openaps","followers_url":"https://api.github.com/users/openaps/followers","following_url":"https://api.github.com/users/openaps/following{/other_user}","gists_url":"https://api.github.com/users/openaps/gists{/gist_id}","starred_url":"https://api.github.com/users/openaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaps/subscriptions","organizations_url":"https://api.github.com/users/openaps/orgs","repos_url":"https://api.github.com/users/openaps/repos","events_url":"https://api.github.com/users/openaps/events{/privacy}","received_events_url":"https://api.github.com/users/openaps/received_events","type":"Organization","site_admin":false},"repo":{"id":44561719,"name":"oref0","full_name":"openaps/oref0","owner":{"login":"openaps","id":11914497,"avatar_url":"https://avatars3.githubusercontent.com/u/11914497?v=4","gravatar_id":"","url":"https://api.github.com/users/openaps","html_url":"https://github.com/openaps","followers_url":"https://api.github.com/users/openaps/followers","following_url":"https://api.github.com/users/openaps/following{/other_user}","gists_url":"https://api.github.com/users/openaps/gists{/gist_id}","starred_url":"https://api.github.com/users/openaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaps/subscriptions","organizations_url":"https://api.github.com/users/openaps/orgs","repos_url":"https://api.github.com/users/openaps/repos","events_url":"https://api.github.com/users/openaps/events{/privacy}","received_events_url":"https://api.github.com/users/openaps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openaps/oref0","description":"oref0: The open reference implementation of the OpenAPS reference design.","fork":false,"url":"https://api.github.com/repos/openaps/oref0","forks_url":"https://api.github.com/repos/openaps/oref0/forks","keys_url":"https://api.github.com/repos/openaps/oref0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openaps/oref0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openaps/oref0/teams","hooks_url":"https://api.github.com/repos/openaps/oref0/hooks","issue_events_url":"https://api.github.com/repos/openaps/oref0/issues/events{/number}","events_url":"https://api.github.com/repos/openaps/oref0/events","assignees_url":"https://api.github.com/repos/openaps/oref0/assignees{/user}","branches_url":"https://api.github.com/repos/openaps/oref0/branches{/branch}","tags_url":"https://api.github.com/repos/openaps/oref0/tags","blobs_url":"https://api.github.com/repos/openaps/oref0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openaps/oref0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openaps/oref0/git/refs{/sha}","trees_url":"https://api.github.com/repos/openaps/oref0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openaps/oref0/statuses/{sha}","languages_url":"https://api.github.com/repos/openaps/oref0/languages","stargazers_url":"https://api.github.com/repos/openaps/oref0/stargazers","contributors_url":"https://api.github.com/repos/openaps/oref0/contributors","subscribers_url":"https://api.github.com/repos/openaps/oref0/subscribers","subscription_url":"https://api.github.com/repos/openaps/oref0/subscription","commits_url":"https://api.github.com/repos/openaps/oref0/commits{/sha}","git_commits_url":"https://api.github.com/repos/openaps/oref0/git/commits{/sha}","comments_url":"https://api.github.com/repos/openaps/oref0/comments{/number}","issue_comment_url":"https://api.github.com/repos/openaps/oref0/issues/comments{/number}","contents_url":"https://api.github.com/repos/openaps/oref0/contents/{+path}","compare_url":"https://api.github.com/repos/openaps/oref0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openaps/oref0/merges","archive_url":"https://api.github.com/repos/openaps/oref0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openaps/oref0/downloads","issues_url":"https://api.github.com/repos/openaps/oref0/issues{/number}","pulls_url":"https://api.github.com/repos/openaps/oref0/pulls{/number}","milestones_url":"https://api.github.com/repos/openaps/oref0/milestones{/number}","notifications_url":"https://api.github.com/repos/openaps/oref0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openaps/oref0/labels{/name}","releases_url":"https://api.github.com/repos/openaps/oref0/releases{/id}","deployments_url":"https://api.github.com/repos/openaps/oref0/deployments","created_at":"2015-10-19T20:22:39Z","updated_at":"2017-11-20T16:46:55Z","pushed_at":"2017-11-27T00:45:45Z","git_url":"git://github.com/openaps/oref0.git","ssh_url":"git@github.com:openaps/oref0.git","clone_url":"https://github.com/openaps/oref0.git","svn_url":"https://github.com/openaps/oref0","homepage":"http://www.OpenAPS.org","size":3426,"stargazers_count":128,"watchers_count":128,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":193,"mirror_url":null,"archived":false,"open_issues_count":49,"forks":193,"open_issues":49,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openaps/oref0/pulls/819"},"html":{"href":"https://github.com/openaps/oref0/pull/819"},"issue":{"href":"https://api.github.com/repos/openaps/oref0/issues/819"},"comments":{"href":"https://api.github.com/repos/openaps/oref0/issues/819/comments"},"review_comments":{"href":"https://api.github.com/repos/openaps/oref0/pulls/819/comments"},"review_comment":{"href":"https://api.github.com/repos/openaps/oref0/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openaps/oref0/pulls/819/commits"},"statuses":{"href":"https://api.github.com/repos/openaps/oref0/statuses/6bf9b3d5fbb1c438c469ceb04cab9a051f41778a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":9,"additions":20,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"cjo20"}}