{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/ukBaz/python-bluezero/pulls/21","id":68536452,"html_url":"https://github.com/ukBaz/python-bluezero/pull/21","diff_url":"https://github.com/ukBaz/python-bluezero/pull/21.diff","patch_url":"https://github.com/ukBaz/python-bluezero/pull/21.patch","issue_url":"https://api.github.com/repos/ukBaz/python-bluezero/issues/21","number":21,"state":"open","locked":false,"title":"Add peripheral.Application teardown support","user":{"login":"WayneKeenan","id":8313142,"avatar_url":"https://avatars.githubusercontent.com/u/8313142?v=3","gravatar_id":"","url":"https://api.github.com/users/WayneKeenan","html_url":"https://github.com/WayneKeenan","followers_url":"https://api.github.com/users/WayneKeenan/followers","following_url":"https://api.github.com/users/WayneKeenan/following{/other_user}","gists_url":"https://api.github.com/users/WayneKeenan/gists{/gist_id}","starred_url":"https://api.github.com/users/WayneKeenan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WayneKeenan/subscriptions","organizations_url":"https://api.github.com/users/WayneKeenan/orgs","repos_url":"https://api.github.com/users/WayneKeenan/repos","events_url":"https://api.github.com/users/WayneKeenan/events{/privacy}","received_events_url":"https://api.github.com/users/WayneKeenan/received_events","type":"User","site_admin":false},"body":"Initial support for tearing down (stopping) an application and starting another one (perhaps with differnted services/advertisement) within the same Python script process.\r\n\r\nUse case:  toggle between being a Physical Web beacon and a 'real' service.\r\n\r\nAlthough this feature requires more testing and further dev it should not impact existing functionality. (other than adding a DBus visible ID being added to the object path to maintain uniqueness in the `/ukBaz/bluezero/` namespace)","created_at":"2016-05-02T08:54:42Z","updated_at":"2016-05-02T08:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ukBaz/python-bluezero/pulls/21/commits","review_comments_url":"https://api.github.com/repos/ukBaz/python-bluezero/pulls/21/comments","review_comment_url":"https://api.github.com/repos/ukBaz/python-bluezero/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ukBaz/python-bluezero/issues/21/comments","statuses_url":"https://api.github.com/repos/ukBaz/python-bluezero/statuses/a43186ac949820ce2da6d4c56991874ea8faea7d","head":{"label":"TheBubbleWorks:teardown","ref":"teardown","sha":"a43186ac949820ce2da6d4c56991874ea8faea7d","user":{"login":"TheBubbleWorks","id":17453715,"avatar_url":"https://avatars.githubusercontent.com/u/17453715?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBubbleWorks","html_url":"https://github.com/TheBubbleWorks","followers_url":"https://api.github.com/users/TheBubbleWorks/followers","following_url":"https://api.github.com/users/TheBubbleWorks/following{/other_user}","gists_url":"https://api.github.com/users/TheBubbleWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBubbleWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBubbleWorks/subscriptions","organizations_url":"https://api.github.com/users/TheBubbleWorks/orgs","repos_url":"https://api.github.com/users/TheBubbleWorks/repos","events_url":"https://api.github.com/users/TheBubbleWorks/events{/privacy}","received_events_url":"https://api.github.com/users/TheBubbleWorks/received_events","type":"Organization","site_admin":false},"repo":{"id":55246697,"name":"python-bluezero","full_name":"TheBubbleWorks/python-bluezero","owner":{"login":"TheBubbleWorks","id":17453715,"avatar_url":"https://avatars.githubusercontent.com/u/17453715?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBubbleWorks","html_url":"https://github.com/TheBubbleWorks","followers_url":"https://api.github.com/users/TheBubbleWorks/followers","following_url":"https://api.github.com/users/TheBubbleWorks/following{/other_user}","gists_url":"https://api.github.com/users/TheBubbleWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBubbleWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBubbleWorks/subscriptions","organizations_url":"https://api.github.com/users/TheBubbleWorks/orgs","repos_url":"https://api.github.com/users/TheBubbleWorks/repos","events_url":"https://api.github.com/users/TheBubbleWorks/events{/privacy}","received_events_url":"https://api.github.com/users/TheBubbleWorks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TheBubbleWorks/python-bluezero","description":"A simple Python interface to Bluez","fork":true,"url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero","forks_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/forks","keys_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/teams","hooks_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/hooks","issue_events_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/issues/events{/number}","events_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/events","assignees_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/assignees{/user}","branches_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/branches{/branch}","tags_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/tags","blobs_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/statuses/{sha}","languages_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/languages","stargazers_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/stargazers","contributors_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/contributors","subscribers_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/subscribers","subscription_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/subscription","commits_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/contents/{+path}","compare_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/merges","archive_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/downloads","issues_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/issues{/number}","pulls_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/pulls{/number}","milestones_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/milestones{/number}","notifications_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/labels{/name}","releases_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/releases{/id}","deployments_url":"https://api.github.com/repos/TheBubbleWorks/python-bluezero/deployments","created_at":"2016-04-01T16:31:53Z","updated_at":"2016-04-01T16:46:21Z","pushed_at":"2016-05-02T08:49:02Z","git_url":"git://github.com/TheBubbleWorks/python-bluezero.git","ssh_url":"git@github.com:TheBubbleWorks/python-bluezero.git","clone_url":"https://github.com/TheBubbleWorks/python-bluezero.git","svn_url":"https://github.com/TheBubbleWorks/python-bluezero","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"ukBaz:master","ref":"master","sha":"ec0536a5da3608227f40efce35ad3b899e37f238","user":{"login":"ukBaz","id":8608260,"avatar_url":"https://avatars.githubusercontent.com/u/8608260?v=3","gravatar_id":"","url":"https://api.github.com/users/ukBaz","html_url":"https://github.com/ukBaz","followers_url":"https://api.github.com/users/ukBaz/followers","following_url":"https://api.github.com/users/ukBaz/following{/other_user}","gists_url":"https://api.github.com/users/ukBaz/gists{/gist_id}","starred_url":"https://api.github.com/users/ukBaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukBaz/subscriptions","organizations_url":"https://api.github.com/users/ukBaz/orgs","repos_url":"https://api.github.com/users/ukBaz/repos","events_url":"https://api.github.com/users/ukBaz/events{/privacy}","received_events_url":"https://api.github.com/users/ukBaz/received_events","type":"User","site_admin":false},"repo":{"id":49202026,"name":"python-bluezero","full_name":"ukBaz/python-bluezero","owner":{"login":"ukBaz","id":8608260,"avatar_url":"https://avatars.githubusercontent.com/u/8608260?v=3","gravatar_id":"","url":"https://api.github.com/users/ukBaz","html_url":"https://github.com/ukBaz","followers_url":"https://api.github.com/users/ukBaz/followers","following_url":"https://api.github.com/users/ukBaz/following{/other_user}","gists_url":"https://api.github.com/users/ukBaz/gists{/gist_id}","starred_url":"https://api.github.com/users/ukBaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukBaz/subscriptions","organizations_url":"https://api.github.com/users/ukBaz/orgs","repos_url":"https://api.github.com/users/ukBaz/repos","events_url":"https://api.github.com/users/ukBaz/events{/privacy}","received_events_url":"https://api.github.com/users/ukBaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ukBaz/python-bluezero","description":"A simple Python interface to Bluez","fork":false,"url":"https://api.github.com/repos/ukBaz/python-bluezero","forks_url":"https://api.github.com/repos/ukBaz/python-bluezero/forks","keys_url":"https://api.github.com/repos/ukBaz/python-bluezero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ukBaz/python-bluezero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ukBaz/python-bluezero/teams","hooks_url":"https://api.github.com/repos/ukBaz/python-bluezero/hooks","issue_events_url":"https://api.github.com/repos/ukBaz/python-bluezero/issues/events{/number}","events_url":"https://api.github.com/repos/ukBaz/python-bluezero/events","assignees_url":"https://api.github.com/repos/ukBaz/python-bluezero/assignees{/user}","branches_url":"https://api.github.com/repos/ukBaz/python-bluezero/branches{/branch}","tags_url":"https://api.github.com/repos/ukBaz/python-bluezero/tags","blobs_url":"https://api.github.com/repos/ukBaz/python-bluezero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ukBaz/python-bluezero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ukBaz/python-bluezero/git/refs{/sha}","trees_url":"https://api.github.com/repos/ukBaz/python-bluezero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ukBaz/python-bluezero/statuses/{sha}","languages_url":"https://api.github.com/repos/ukBaz/python-bluezero/languages","stargazers_url":"https://api.github.com/repos/ukBaz/python-bluezero/stargazers","contributors_url":"https://api.github.com/repos/ukBaz/python-bluezero/contributors","subscribers_url":"https://api.github.com/repos/ukBaz/python-bluezero/subscribers","subscription_url":"https://api.github.com/repos/ukBaz/python-bluezero/subscription","commits_url":"https://api.github.com/repos/ukBaz/python-bluezero/commits{/sha}","git_commits_url":"https://api.github.com/repos/ukBaz/python-bluezero/git/commits{/sha}","comments_url":"https://api.github.com/repos/ukBaz/python-bluezero/comments{/number}","issue_comment_url":"https://api.github.com/repos/ukBaz/python-bluezero/issues/comments{/number}","contents_url":"https://api.github.com/repos/ukBaz/python-bluezero/contents/{+path}","compare_url":"https://api.github.com/repos/ukBaz/python-bluezero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ukBaz/python-bluezero/merges","archive_url":"https://api.github.com/repos/ukBaz/python-bluezero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ukBaz/python-bluezero/downloads","issues_url":"https://api.github.com/repos/ukBaz/python-bluezero/issues{/number}","pulls_url":"https://api.github.com/repos/ukBaz/python-bluezero/pulls{/number}","milestones_url":"https://api.github.com/repos/ukBaz/python-bluezero/milestones{/number}","notifications_url":"https://api.github.com/repos/ukBaz/python-bluezero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ukBaz/python-bluezero/labels{/name}","releases_url":"https://api.github.com/repos/ukBaz/python-bluezero/releases{/id}","deployments_url":"https://api.github.com/repos/ukBaz/python-bluezero/deployments","created_at":"2016-01-07T11:57:01Z","updated_at":"2016-04-17T16:05:54Z","pushed_at":"2016-04-26T20:31:10Z","git_url":"git://github.com/ukBaz/python-bluezero.git","ssh_url":"git@github.com:ukBaz/python-bluezero.git","clone_url":"https://github.com/ukBaz/python-bluezero.git","svn_url":"https://github.com/ukBaz/python-bluezero","homepage":null,"size":71,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ukBaz/python-bluezero/pulls/21"},"html":{"href":"https://github.com/ukBaz/python-bluezero/pull/21"},"issue":{"href":"https://api.github.com/repos/ukBaz/python-bluezero/issues/21"},"comments":{"href":"https://api.github.com/repos/ukBaz/python-bluezero/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/ukBaz/python-bluezero/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/ukBaz/python-bluezero/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ukBaz/python-bluezero/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/ukBaz/python-bluezero/statuses/a43186ac949820ce2da6d4c56991874ea8faea7d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":64,"deletions":4,"changed_files":2}}