{"action":"closed","number":123,"pull_request":{"url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/123","id":34771968,"html_url":"https://github.com/hammerlab/pileup.js/pull/123","diff_url":"https://github.com/hammerlab/pileup.js/pull/123.diff","patch_url":"https://github.com/hammerlab/pileup.js/pull/123.patch","issue_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/123","number":123,"state":"closed","locked":false,"title":"High level API","user":{"login":"danvk","id":98301,"avatar_url":"https://avatars.githubusercontent.com/u/98301?v=3","gravatar_id":"","url":"https://api.github.com/users/danvk","html_url":"https://github.com/danvk","followers_url":"https://api.github.com/users/danvk/followers","following_url":"https://api.github.com/users/danvk/following{/other_user}","gists_url":"https://api.github.com/users/danvk/gists{/gist_id}","starred_url":"https://api.github.com/users/danvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danvk/subscriptions","organizations_url":"https://api.github.com/users/danvk/orgs","repos_url":"https://api.github.com/users/danvk/repos","events_url":"https://api.github.com/users/danvk/events{/privacy}","received_events_url":"https://api.github.com/users/danvk/received_events","type":"User","site_admin":false},"body":"**WIP**\r\n\r\nThis is a first crack at #30 \r\n\r\nSee `main.js` for an example of what the API looks like as of this PR.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/hammerlab/pileup.js/123)\n<!-- Reviewable:end -->\n","created_at":"2015-05-05T22:02:48Z","updated_at":"2015-05-06T20:28:42Z","closed_at":"2015-05-06T20:28:42Z","merged_at":"2015-05-06T20:28:42Z","merge_commit_sha":"11430c85cb7dfca2b1351f6f2dcc23bd06e57bf3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/123/commits","review_comments_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/123/comments","review_comment_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/123/comments","statuses_url":"https://api.github.com/repos/hammerlab/pileup.js/statuses/077e7a8056fb933abdf45605056410ba4be1016a","head":{"label":"hammerlab:top-level-api","ref":"top-level-api","sha":"077e7a8056fb933abdf45605056410ba4be1016a","user":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"repo":{"id":29933736,"name":"pileup.js","full_name":"hammerlab/pileup.js","owner":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hammerlab/pileup.js","description":"Interactive in-browser track viewer","fork":false,"url":"https://api.github.com/repos/hammerlab/pileup.js","forks_url":"https://api.github.com/repos/hammerlab/pileup.js/forks","keys_url":"https://api.github.com/repos/hammerlab/pileup.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammerlab/pileup.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammerlab/pileup.js/teams","hooks_url":"https://api.github.com/repos/hammerlab/pileup.js/hooks","issue_events_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/events{/number}","events_url":"https://api.github.com/repos/hammerlab/pileup.js/events","assignees_url":"https://api.github.com/repos/hammerlab/pileup.js/assignees{/user}","branches_url":"https://api.github.com/repos/hammerlab/pileup.js/branches{/branch}","tags_url":"https://api.github.com/repos/hammerlab/pileup.js/tags","blobs_url":"https://api.github.com/repos/hammerlab/pileup.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammerlab/pileup.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammerlab/pileup.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammerlab/pileup.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammerlab/pileup.js/statuses/{sha}","languages_url":"https://api.github.com/repos/hammerlab/pileup.js/languages","stargazers_url":"https://api.github.com/repos/hammerlab/pileup.js/stargazers","contributors_url":"https://api.github.com/repos/hammerlab/pileup.js/contributors","subscribers_url":"https://api.github.com/repos/hammerlab/pileup.js/subscribers","subscription_url":"https://api.github.com/repos/hammerlab/pileup.js/subscription","commits_url":"https://api.github.com/repos/hammerlab/pileup.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammerlab/pileup.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammerlab/pileup.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammerlab/pileup.js/contents/{+path}","compare_url":"https://api.github.com/repos/hammerlab/pileup.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammerlab/pileup.js/merges","archive_url":"https://api.github.com/repos/hammerlab/pileup.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammerlab/pileup.js/downloads","issues_url":"https://api.github.com/repos/hammerlab/pileup.js/issues{/number}","pulls_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls{/number}","milestones_url":"https://api.github.com/repos/hammerlab/pileup.js/milestones{/number}","notifications_url":"https://api.github.com/repos/hammerlab/pileup.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammerlab/pileup.js/labels{/name}","releases_url":"https://api.github.com/repos/hammerlab/pileup.js/releases{/id}","created_at":"2015-01-27T20:36:43Z","updated_at":"2015-05-06T15:26:05Z","pushed_at":"2015-05-06T20:28:42Z","git_url":"git://github.com/hammerlab/pileup.js.git","ssh_url":"git@github.com:hammerlab/pileup.js.git","clone_url":"https://github.com/hammerlab/pileup.js.git","svn_url":"https://github.com/hammerlab/pileup.js","homepage":null,"size":4785,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":39,"forks":2,"open_issues":39,"watchers":4,"default_branch":"master"}},"base":{"label":"hammerlab:master","ref":"master","sha":"b2efcb6eeb77df200575cf2f6299ee23712f7b7b","user":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"repo":{"id":29933736,"name":"pileup.js","full_name":"hammerlab/pileup.js","owner":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hammerlab/pileup.js","description":"Interactive in-browser track viewer","fork":false,"url":"https://api.github.com/repos/hammerlab/pileup.js","forks_url":"https://api.github.com/repos/hammerlab/pileup.js/forks","keys_url":"https://api.github.com/repos/hammerlab/pileup.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammerlab/pileup.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammerlab/pileup.js/teams","hooks_url":"https://api.github.com/repos/hammerlab/pileup.js/hooks","issue_events_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/events{/number}","events_url":"https://api.github.com/repos/hammerlab/pileup.js/events","assignees_url":"https://api.github.com/repos/hammerlab/pileup.js/assignees{/user}","branches_url":"https://api.github.com/repos/hammerlab/pileup.js/branches{/branch}","tags_url":"https://api.github.com/repos/hammerlab/pileup.js/tags","blobs_url":"https://api.github.com/repos/hammerlab/pileup.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammerlab/pileup.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammerlab/pileup.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammerlab/pileup.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammerlab/pileup.js/statuses/{sha}","languages_url":"https://api.github.com/repos/hammerlab/pileup.js/languages","stargazers_url":"https://api.github.com/repos/hammerlab/pileup.js/stargazers","contributors_url":"https://api.github.com/repos/hammerlab/pileup.js/contributors","subscribers_url":"https://api.github.com/repos/hammerlab/pileup.js/subscribers","subscription_url":"https://api.github.com/repos/hammerlab/pileup.js/subscription","commits_url":"https://api.github.com/repos/hammerlab/pileup.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammerlab/pileup.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammerlab/pileup.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammerlab/pileup.js/contents/{+path}","compare_url":"https://api.github.com/repos/hammerlab/pileup.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammerlab/pileup.js/merges","archive_url":"https://api.github.com/repos/hammerlab/pileup.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammerlab/pileup.js/downloads","issues_url":"https://api.github.com/repos/hammerlab/pileup.js/issues{/number}","pulls_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls{/number}","milestones_url":"https://api.github.com/repos/hammerlab/pileup.js/milestones{/number}","notifications_url":"https://api.github.com/repos/hammerlab/pileup.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammerlab/pileup.js/labels{/name}","releases_url":"https://api.github.com/repos/hammerlab/pileup.js/releases{/id}","created_at":"2015-01-27T20:36:43Z","updated_at":"2015-05-06T15:26:05Z","pushed_at":"2015-05-06T20:28:42Z","git_url":"git://github.com/hammerlab/pileup.js.git","ssh_url":"git@github.com:hammerlab/pileup.js.git","clone_url":"https://github.com/hammerlab/pileup.js.git","svn_url":"https://github.com/hammerlab/pileup.js","homepage":null,"size":4785,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":39,"forks":2,"open_issues":39,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/123"},"html":{"href":"https://github.com/hammerlab/pileup.js/pull/123"},"issue":{"href":"https://api.github.com/repos/hammerlab/pileup.js/issues/123"},"comments":{"href":"https://api.github.com/repos/hammerlab/pileup.js/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/hammerlab/pileup.js/statuses/077e7a8056fb933abdf45605056410ba4be1016a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"danvk","id":98301,"avatar_url":"https://avatars.githubusercontent.com/u/98301?v=3","gravatar_id":"","url":"https://api.github.com/users/danvk","html_url":"https://github.com/danvk","followers_url":"https://api.github.com/users/danvk/followers","following_url":"https://api.github.com/users/danvk/following{/other_user}","gists_url":"https://api.github.com/users/danvk/gists{/gist_id}","starred_url":"https://api.github.com/users/danvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danvk/subscriptions","organizations_url":"https://api.github.com/users/danvk/orgs","repos_url":"https://api.github.com/users/danvk/repos","events_url":"https://api.github.com/users/danvk/events{/privacy}","received_events_url":"https://api.github.com/users/danvk/received_events","type":"User","site_admin":false},"comments":8,"review_comments":0,"commits":7,"additions":170,"deletions":186,"changed_files":13}}