{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/leafo/lapis-console/pulls/6","id":32655903,"html_url":"https://github.com/leafo/lapis-console/pull/6","diff_url":"https://github.com/leafo/lapis-console/pull/6.diff","patch_url":"https://github.com/leafo/lapis-console/pull/6.patch","issue_url":"https://api.github.com/repos/leafo/lapis-console/issues/6","number":6,"state":"open","locked":false,"title":"update example code","user":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"body":"This code is part of [documentation of Lapis 1.1.0](http://leafo.net/lapis/reference/lapis_console.html).\r\n\r\nSee related issue in Lapis https://github.com/leafo/lapis/issues/252","created_at":"2015-04-05T22:58:09Z","updated_at":"2015-04-05T22:58:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leafo/lapis-console/pulls/6/commits","review_comments_url":"https://api.github.com/repos/leafo/lapis-console/pulls/6/comments","review_comment_url":"https://api.github.com/repos/leafo/lapis-console/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leafo/lapis-console/issues/6/comments","statuses_url":"https://api.github.com/repos/leafo/lapis-console/statuses/e5f56be62e1c670a4b3b7477b8000b9ec7ae6163","head":{"label":"starius:master","ref":"master","sha":"e5f56be62e1c670a4b3b7477b8000b9ec7ae6163","user":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"repo":{"id":33457988,"name":"lapis-console","full_name":"starius/lapis-console","owner":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/starius/lapis-console","description":"Interactive console for working with Lapis","fork":true,"url":"https://api.github.com/repos/starius/lapis-console","forks_url":"https://api.github.com/repos/starius/lapis-console/forks","keys_url":"https://api.github.com/repos/starius/lapis-console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/starius/lapis-console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/starius/lapis-console/teams","hooks_url":"https://api.github.com/repos/starius/lapis-console/hooks","issue_events_url":"https://api.github.com/repos/starius/lapis-console/issues/events{/number}","events_url":"https://api.github.com/repos/starius/lapis-console/events","assignees_url":"https://api.github.com/repos/starius/lapis-console/assignees{/user}","branches_url":"https://api.github.com/repos/starius/lapis-console/branches{/branch}","tags_url":"https://api.github.com/repos/starius/lapis-console/tags","blobs_url":"https://api.github.com/repos/starius/lapis-console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/starius/lapis-console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/starius/lapis-console/git/refs{/sha}","trees_url":"https://api.github.com/repos/starius/lapis-console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/starius/lapis-console/statuses/{sha}","languages_url":"https://api.github.com/repos/starius/lapis-console/languages","stargazers_url":"https://api.github.com/repos/starius/lapis-console/stargazers","contributors_url":"https://api.github.com/repos/starius/lapis-console/contributors","subscribers_url":"https://api.github.com/repos/starius/lapis-console/subscribers","subscription_url":"https://api.github.com/repos/starius/lapis-console/subscription","commits_url":"https://api.github.com/repos/starius/lapis-console/commits{/sha}","git_commits_url":"https://api.github.com/repos/starius/lapis-console/git/commits{/sha}","comments_url":"https://api.github.com/repos/starius/lapis-console/comments{/number}","issue_comment_url":"https://api.github.com/repos/starius/lapis-console/issues/comments{/number}","contents_url":"https://api.github.com/repos/starius/lapis-console/contents/{+path}","compare_url":"https://api.github.com/repos/starius/lapis-console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/starius/lapis-console/merges","archive_url":"https://api.github.com/repos/starius/lapis-console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/starius/lapis-console/downloads","issues_url":"https://api.github.com/repos/starius/lapis-console/issues{/number}","pulls_url":"https://api.github.com/repos/starius/lapis-console/pulls{/number}","milestones_url":"https://api.github.com/repos/starius/lapis-console/milestones{/number}","notifications_url":"https://api.github.com/repos/starius/lapis-console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/starius/lapis-console/labels{/name}","releases_url":"https://api.github.com/repos/starius/lapis-console/releases{/id}","created_at":"2015-04-05T22:54:18Z","updated_at":"2015-04-05T22:57:04Z","pushed_at":"2015-04-05T22:57:03Z","git_url":"git://github.com/starius/lapis-console.git","ssh_url":"git@github.com:starius/lapis-console.git","clone_url":"https://github.com/starius/lapis-console.git","svn_url":"https://github.com/starius/lapis-console","homepage":null,"size":489,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"leafo:master","ref":"master","sha":"a1f1cf472717dd330cc98d029ec3b92a0bd94c54","user":{"login":"leafo","id":15198,"avatar_url":"https://avatars.githubusercontent.com/u/15198?v=3","gravatar_id":"","url":"https://api.github.com/users/leafo","html_url":"https://github.com/leafo","followers_url":"https://api.github.com/users/leafo/followers","following_url":"https://api.github.com/users/leafo/following{/other_user}","gists_url":"https://api.github.com/users/leafo/gists{/gist_id}","starred_url":"https://api.github.com/users/leafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafo/subscriptions","organizations_url":"https://api.github.com/users/leafo/orgs","repos_url":"https://api.github.com/users/leafo/repos","events_url":"https://api.github.com/users/leafo/events{/privacy}","received_events_url":"https://api.github.com/users/leafo/received_events","type":"User","site_admin":false},"repo":{"id":8858020,"name":"lapis-console","full_name":"leafo/lapis-console","owner":{"login":"leafo","id":15198,"avatar_url":"https://avatars.githubusercontent.com/u/15198?v=3","gravatar_id":"","url":"https://api.github.com/users/leafo","html_url":"https://github.com/leafo","followers_url":"https://api.github.com/users/leafo/followers","following_url":"https://api.github.com/users/leafo/following{/other_user}","gists_url":"https://api.github.com/users/leafo/gists{/gist_id}","starred_url":"https://api.github.com/users/leafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafo/subscriptions","organizations_url":"https://api.github.com/users/leafo/orgs","repos_url":"https://api.github.com/users/leafo/repos","events_url":"https://api.github.com/users/leafo/events{/privacy}","received_events_url":"https://api.github.com/users/leafo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leafo/lapis-console","description":"Interactive console for working with Lapis","fork":false,"url":"https://api.github.com/repos/leafo/lapis-console","forks_url":"https://api.github.com/repos/leafo/lapis-console/forks","keys_url":"https://api.github.com/repos/leafo/lapis-console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leafo/lapis-console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leafo/lapis-console/teams","hooks_url":"https://api.github.com/repos/leafo/lapis-console/hooks","issue_events_url":"https://api.github.com/repos/leafo/lapis-console/issues/events{/number}","events_url":"https://api.github.com/repos/leafo/lapis-console/events","assignees_url":"https://api.github.com/repos/leafo/lapis-console/assignees{/user}","branches_url":"https://api.github.com/repos/leafo/lapis-console/branches{/branch}","tags_url":"https://api.github.com/repos/leafo/lapis-console/tags","blobs_url":"https://api.github.com/repos/leafo/lapis-console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leafo/lapis-console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leafo/lapis-console/git/refs{/sha}","trees_url":"https://api.github.com/repos/leafo/lapis-console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leafo/lapis-console/statuses/{sha}","languages_url":"https://api.github.com/repos/leafo/lapis-console/languages","stargazers_url":"https://api.github.com/repos/leafo/lapis-console/stargazers","contributors_url":"https://api.github.com/repos/leafo/lapis-console/contributors","subscribers_url":"https://api.github.com/repos/leafo/lapis-console/subscribers","subscription_url":"https://api.github.com/repos/leafo/lapis-console/subscription","commits_url":"https://api.github.com/repos/leafo/lapis-console/commits{/sha}","git_commits_url":"https://api.github.com/repos/leafo/lapis-console/git/commits{/sha}","comments_url":"https://api.github.com/repos/leafo/lapis-console/comments{/number}","issue_comment_url":"https://api.github.com/repos/leafo/lapis-console/issues/comments{/number}","contents_url":"https://api.github.com/repos/leafo/lapis-console/contents/{+path}","compare_url":"https://api.github.com/repos/leafo/lapis-console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leafo/lapis-console/merges","archive_url":"https://api.github.com/repos/leafo/lapis-console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leafo/lapis-console/downloads","issues_url":"https://api.github.com/repos/leafo/lapis-console/issues{/number}","pulls_url":"https://api.github.com/repos/leafo/lapis-console/pulls{/number}","milestones_url":"https://api.github.com/repos/leafo/lapis-console/milestones{/number}","notifications_url":"https://api.github.com/repos/leafo/lapis-console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leafo/lapis-console/labels{/name}","releases_url":"https://api.github.com/repos/leafo/lapis-console/releases{/id}","created_at":"2013-03-18T16:03:34Z","updated_at":"2015-01-26T10:40:59Z","pushed_at":"2014-09-09T22:13:23Z","git_url":"git://github.com/leafo/lapis-console.git","ssh_url":"git@github.com:leafo/lapis-console.git","clone_url":"https://github.com/leafo/lapis-console.git","svn_url":"https://github.com/leafo/lapis-console","homepage":null,"size":489,"stargazers_count":11,"watchers_count":11,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leafo/lapis-console/pulls/6"},"html":{"href":"https://github.com/leafo/lapis-console/pull/6"},"issue":{"href":"https://api.github.com/repos/leafo/lapis-console/issues/6"},"comments":{"href":"https://api.github.com/repos/leafo/lapis-console/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/leafo/lapis-console/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/leafo/lapis-console/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leafo/lapis-console/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/leafo/lapis-console/statuses/e5f56be62e1c670a4b3b7477b8000b9ec7ae6163"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}