{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/Authentise/OctoPrint/pulls/7","id":42859527,"html_url":"https://github.com/Authentise/OctoPrint/pull/7","diff_url":"https://github.com/Authentise/OctoPrint/pull/7.diff","patch_url":"https://github.com/Authentise/OctoPrint/pull/7.patch","issue_url":"https://api.github.com/repos/Authentise/OctoPrint/issues/7","number":7,"state":"closed","locked":false,"title":"Add some MachineCommPrintCallbacks for setting printer state directly","user":{"login":"Lemmons","id":2343674,"avatar_url":"https://avatars.githubusercontent.com/u/2343674?v=3","gravatar_id":"","url":"https://api.github.com/users/Lemmons","html_url":"https://github.com/Lemmons","followers_url":"https://api.github.com/users/Lemmons/followers","following_url":"https://api.github.com/users/Lemmons/following{/other_user}","gists_url":"https://api.github.com/users/Lemmons/gists{/gist_id}","starred_url":"https://api.github.com/users/Lemmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lemmons/subscriptions","organizations_url":"https://api.github.com/users/Lemmons/orgs","repos_url":"https://api.github.com/users/Lemmons/repos","events_url":"https://api.github.com/users/Lemmons/events{/privacy}","received_events_url":"https://api.github.com/users/Lemmons/received_events","type":"User","site_admin":false},"body":"When using the new comm plugin architecture, it might make sense to set\r\nsome printer state directly, instead of going though some of the\r\nprinter's functions for updating that state.  These callbacks allow for\r\nthat.\r\n\r\nAE-462 #time: 1h","created_at":"2015-08-19T20:23:22Z","updated_at":"2015-08-19T21:46:14Z","closed_at":"2015-08-19T21:46:14Z","merged_at":"2015-08-19T21:46:14Z","merge_commit_sha":"2155b8da6cc004b483ad6e8c1696eaa5287c77b5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Authentise/OctoPrint/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Authentise/OctoPrint/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Authentise/OctoPrint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Authentise/OctoPrint/issues/7/comments","statuses_url":"https://api.github.com/repos/Authentise/OctoPrint/statuses/aaa55e6b742f5388ba731bea6f99caee041410ef","head":{"label":"Authentise:AE-462","ref":"AE-462","sha":"aaa55e6b742f5388ba731bea6f99caee041410ef","user":{"login":"Authentise","id":7845174,"avatar_url":"https://avatars.githubusercontent.com/u/7845174?v=3","gravatar_id":"","url":"https://api.github.com/users/Authentise","html_url":"https://github.com/Authentise","followers_url":"https://api.github.com/users/Authentise/followers","following_url":"https://api.github.com/users/Authentise/following{/other_user}","gists_url":"https://api.github.com/users/Authentise/gists{/gist_id}","starred_url":"https://api.github.com/users/Authentise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Authentise/subscriptions","organizations_url":"https://api.github.com/users/Authentise/orgs","repos_url":"https://api.github.com/users/Authentise/repos","events_url":"https://api.github.com/users/Authentise/events{/privacy}","received_events_url":"https://api.github.com/users/Authentise/received_events","type":"Organization","site_admin":false},"repo":{"id":38077336,"name":"OctoPrint","full_name":"Authentise/OctoPrint","owner":{"login":"Authentise","id":7845174,"avatar_url":"https://avatars.githubusercontent.com/u/7845174?v=3","gravatar_id":"","url":"https://api.github.com/users/Authentise","html_url":"https://github.com/Authentise","followers_url":"https://api.github.com/users/Authentise/followers","following_url":"https://api.github.com/users/Authentise/following{/other_user}","gists_url":"https://api.github.com/users/Authentise/gists{/gist_id}","starred_url":"https://api.github.com/users/Authentise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Authentise/subscriptions","organizations_url":"https://api.github.com/users/Authentise/orgs","repos_url":"https://api.github.com/users/Authentise/repos","events_url":"https://api.github.com/users/Authentise/events{/privacy}","received_events_url":"https://api.github.com/users/Authentise/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Authentise/OctoPrint","description":"OctoPrint provides a responsive web interface for controlling a 3D printer (RepRap, Ultimaker, ...).","fork":true,"url":"https://api.github.com/repos/Authentise/OctoPrint","forks_url":"https://api.github.com/repos/Authentise/OctoPrint/forks","keys_url":"https://api.github.com/repos/Authentise/OctoPrint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Authentise/OctoPrint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Authentise/OctoPrint/teams","hooks_url":"https://api.github.com/repos/Authentise/OctoPrint/hooks","issue_events_url":"https://api.github.com/repos/Authentise/OctoPrint/issues/events{/number}","events_url":"https://api.github.com/repos/Authentise/OctoPrint/events","assignees_url":"https://api.github.com/repos/Authentise/OctoPrint/assignees{/user}","branches_url":"https://api.github.com/repos/Authentise/OctoPrint/branches{/branch}","tags_url":"https://api.github.com/repos/Authentise/OctoPrint/tags","blobs_url":"https://api.github.com/repos/Authentise/OctoPrint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Authentise/OctoPrint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Authentise/OctoPrint/git/refs{/sha}","trees_url":"https://api.github.com/repos/Authentise/OctoPrint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Authentise/OctoPrint/statuses/{sha}","languages_url":"https://api.github.com/repos/Authentise/OctoPrint/languages","stargazers_url":"https://api.github.com/repos/Authentise/OctoPrint/stargazers","contributors_url":"https://api.github.com/repos/Authentise/OctoPrint/contributors","subscribers_url":"https://api.github.com/repos/Authentise/OctoPrint/subscribers","subscription_url":"https://api.github.com/repos/Authentise/OctoPrint/subscription","commits_url":"https://api.github.com/repos/Authentise/OctoPrint/commits{/sha}","git_commits_url":"https://api.github.com/repos/Authentise/OctoPrint/git/commits{/sha}","comments_url":"https://api.github.com/repos/Authentise/OctoPrint/comments{/number}","issue_comment_url":"https://api.github.com/repos/Authentise/OctoPrint/issues/comments{/number}","contents_url":"https://api.github.com/repos/Authentise/OctoPrint/contents/{+path}","compare_url":"https://api.github.com/repos/Authentise/OctoPrint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Authentise/OctoPrint/merges","archive_url":"https://api.github.com/repos/Authentise/OctoPrint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Authentise/OctoPrint/downloads","issues_url":"https://api.github.com/repos/Authentise/OctoPrint/issues{/number}","pulls_url":"https://api.github.com/repos/Authentise/OctoPrint/pulls{/number}","milestones_url":"https://api.github.com/repos/Authentise/OctoPrint/milestones{/number}","notifications_url":"https://api.github.com/repos/Authentise/OctoPrint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Authentise/OctoPrint/labels{/name}","releases_url":"https://api.github.com/repos/Authentise/OctoPrint/releases{/id}","created_at":"2015-06-25T22:16:43Z","updated_at":"2015-06-25T22:16:45Z","pushed_at":"2015-08-19T21:46:14Z","git_url":"git://github.com/Authentise/OctoPrint.git","ssh_url":"git@github.com:Authentise/OctoPrint.git","clone_url":"https://github.com/Authentise/OctoPrint.git","svn_url":"https://github.com/Authentise/OctoPrint","homepage":"http://octoprint.org","size":32532,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Authentise:MachineComPlugin","ref":"MachineComPlugin","sha":"1d785f178081f4986bab068a1ae312b703bf402e","user":{"login":"Authentise","id":7845174,"avatar_url":"https://avatars.githubusercontent.com/u/7845174?v=3","gravatar_id":"","url":"https://api.github.com/users/Authentise","html_url":"https://github.com/Authentise","followers_url":"https://api.github.com/users/Authentise/followers","following_url":"https://api.github.com/users/Authentise/following{/other_user}","gists_url":"https://api.github.com/users/Authentise/gists{/gist_id}","starred_url":"https://api.github.com/users/Authentise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Authentise/subscriptions","organizations_url":"https://api.github.com/users/Authentise/orgs","repos_url":"https://api.github.com/users/Authentise/repos","events_url":"https://api.github.com/users/Authentise/events{/privacy}","received_events_url":"https://api.github.com/users/Authentise/received_events","type":"Organization","site_admin":false},"repo":{"id":38077336,"name":"OctoPrint","full_name":"Authentise/OctoPrint","owner":{"login":"Authentise","id":7845174,"avatar_url":"https://avatars.githubusercontent.com/u/7845174?v=3","gravatar_id":"","url":"https://api.github.com/users/Authentise","html_url":"https://github.com/Authentise","followers_url":"https://api.github.com/users/Authentise/followers","following_url":"https://api.github.com/users/Authentise/following{/other_user}","gists_url":"https://api.github.com/users/Authentise/gists{/gist_id}","starred_url":"https://api.github.com/users/Authentise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Authentise/subscriptions","organizations_url":"https://api.github.com/users/Authentise/orgs","repos_url":"https://api.github.com/users/Authentise/repos","events_url":"https://api.github.com/users/Authentise/events{/privacy}","received_events_url":"https://api.github.com/users/Authentise/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Authentise/OctoPrint","description":"OctoPrint provides a responsive web interface for controlling a 3D printer (RepRap, Ultimaker, ...).","fork":true,"url":"https://api.github.com/repos/Authentise/OctoPrint","forks_url":"https://api.github.com/repos/Authentise/OctoPrint/forks","keys_url":"https://api.github.com/repos/Authentise/OctoPrint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Authentise/OctoPrint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Authentise/OctoPrint/teams","hooks_url":"https://api.github.com/repos/Authentise/OctoPrint/hooks","issue_events_url":"https://api.github.com/repos/Authentise/OctoPrint/issues/events{/number}","events_url":"https://api.github.com/repos/Authentise/OctoPrint/events","assignees_url":"https://api.github.com/repos/Authentise/OctoPrint/assignees{/user}","branches_url":"https://api.github.com/repos/Authentise/OctoPrint/branches{/branch}","tags_url":"https://api.github.com/repos/Authentise/OctoPrint/tags","blobs_url":"https://api.github.com/repos/Authentise/OctoPrint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Authentise/OctoPrint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Authentise/OctoPrint/git/refs{/sha}","trees_url":"https://api.github.com/repos/Authentise/OctoPrint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Authentise/OctoPrint/statuses/{sha}","languages_url":"https://api.github.com/repos/Authentise/OctoPrint/languages","stargazers_url":"https://api.github.com/repos/Authentise/OctoPrint/stargazers","contributors_url":"https://api.github.com/repos/Authentise/OctoPrint/contributors","subscribers_url":"https://api.github.com/repos/Authentise/OctoPrint/subscribers","subscription_url":"https://api.github.com/repos/Authentise/OctoPrint/subscription","commits_url":"https://api.github.com/repos/Authentise/OctoPrint/commits{/sha}","git_commits_url":"https://api.github.com/repos/Authentise/OctoPrint/git/commits{/sha}","comments_url":"https://api.github.com/repos/Authentise/OctoPrint/comments{/number}","issue_comment_url":"https://api.github.com/repos/Authentise/OctoPrint/issues/comments{/number}","contents_url":"https://api.github.com/repos/Authentise/OctoPrint/contents/{+path}","compare_url":"https://api.github.com/repos/Authentise/OctoPrint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Authentise/OctoPrint/merges","archive_url":"https://api.github.com/repos/Authentise/OctoPrint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Authentise/OctoPrint/downloads","issues_url":"https://api.github.com/repos/Authentise/OctoPrint/issues{/number}","pulls_url":"https://api.github.com/repos/Authentise/OctoPrint/pulls{/number}","milestones_url":"https://api.github.com/repos/Authentise/OctoPrint/milestones{/number}","notifications_url":"https://api.github.com/repos/Authentise/OctoPrint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Authentise/OctoPrint/labels{/name}","releases_url":"https://api.github.com/repos/Authentise/OctoPrint/releases{/id}","created_at":"2015-06-25T22:16:43Z","updated_at":"2015-06-25T22:16:45Z","pushed_at":"2015-08-19T21:46:14Z","git_url":"git://github.com/Authentise/OctoPrint.git","ssh_url":"git@github.com:Authentise/OctoPrint.git","clone_url":"https://github.com/Authentise/OctoPrint.git","svn_url":"https://github.com/Authentise/OctoPrint","homepage":"http://octoprint.org","size":32532,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Authentise/OctoPrint/pulls/7"},"html":{"href":"https://github.com/Authentise/OctoPrint/pull/7"},"issue":{"href":"https://api.github.com/repos/Authentise/OctoPrint/issues/7"},"comments":{"href":"https://api.github.com/repos/Authentise/OctoPrint/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Authentise/OctoPrint/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Authentise/OctoPrint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Authentise/OctoPrint/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Authentise/OctoPrint/statuses/aaa55e6b742f5388ba731bea6f99caee041410ef"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"EliRibble","id":2319207,"avatar_url":"https://avatars.githubusercontent.com/u/2319207?v=3","gravatar_id":"","url":"https://api.github.com/users/EliRibble","html_url":"https://github.com/EliRibble","followers_url":"https://api.github.com/users/EliRibble/followers","following_url":"https://api.github.com/users/EliRibble/following{/other_user}","gists_url":"https://api.github.com/users/EliRibble/gists{/gist_id}","starred_url":"https://api.github.com/users/EliRibble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliRibble/subscriptions","organizations_url":"https://api.github.com/users/EliRibble/orgs","repos_url":"https://api.github.com/users/EliRibble/repos","events_url":"https://api.github.com/users/EliRibble/events{/privacy}","received_events_url":"https://api.github.com/users/EliRibble/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":0,"changed_files":2}}