{"action":"opened","number":1981,"pull_request":{"url":"https://api.github.com/repos/hyperledger/composer/pulls/1981","id":137210077,"html_url":"https://github.com/hyperledger/composer/pull/1981","diff_url":"https://github.com/hyperledger/composer/pull/1981.diff","patch_url":"https://github.com/hyperledger/composer/pull/1981.patch","issue_url":"https://api.github.com/repos/hyperledger/composer/issues/1981","number":1981,"state":"open","locked":false,"title":"Add docs for publishing events from the REST server","user":{"login":"sstone1","id":7118158,"avatar_url":"https://avatars2.githubusercontent.com/u/7118158?v=4","gravatar_id":"","url":"https://api.github.com/users/sstone1","html_url":"https://github.com/sstone1","followers_url":"https://api.github.com/users/sstone1/followers","following_url":"https://api.github.com/users/sstone1/following{/other_user}","gists_url":"https://api.github.com/users/sstone1/gists{/gist_id}","starred_url":"https://api.github.com/users/sstone1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstone1/subscriptions","organizations_url":"https://api.github.com/users/sstone1/orgs","repos_url":"https://api.github.com/users/sstone1/repos","events_url":"https://api.github.com/users/sstone1/events{/privacy}","received_events_url":"https://api.github.com/users/sstone1/received_events","type":"User","site_admin":false},"body":"<!--- Provide a general summary of the pull request in the Title above -->\r\n\r\n## Checklist\r\n - [ ]  A link to the issue/user story that the pull request relates to\r\n - [ ]  How to recreate the problem without the fix\r\n - [ ]  Design of the fix\r\n - [ ]  How to prove that the fix works\r\n - [ ]  Automated tests that prove the fix keeps on working\r\n - [ ]  Documentation - any JSDoc, website, or Stackoverflow answers?\r\n\r\n## Issue/User story\r\n<!--- What issue / user story is this for -->\r\nhttps://github.com/hyperledger/composer/issues/1788\r\n\r\n## Steps to Reproduce\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug include code to reproduce, if relevant -->\r\n1.\r\n2.\r\n3.\r\n4.\r\n\r\n\r\n## Existing issues\r\n<!-- Have you searched for any existing issues or are their any similar issues that you've found? -->\r\n- [ ] [Stack Overflow issues](http://stackoverflow.com/tags/hyperledger-composer)\r\n- [ ] [GitHub Issues](https://github.com/hyperledger/composer/issues)\r\n- [ ] [Rocket Chat history](https://chat.hyperledger.org/channel/composer)\r\n\r\n<!-- please include any links to issues here -->\r\n\r\n## Design of the fix\r\n<!-- Focus on why you designed this fix this way, and what was discounted. Do not describe just the code - we can read that! -->\r\nAdd documentation that describes how to publish events from the REST server by enabling WebSockets.\r\n\r\n## Validation of the fix\r\n<!-- Over and above the tests, what has been done to prove this works? -->\r\n\r\n## Automated Tests\r\n<!-- Please describe the automated tests that are put in place to stop this recurring -->\r\n\r\n## What documentation has been provided for this pull request\r\n<!-- JSDocs, WebSite and answers to Stack Overflow questions are possible documentation sources -->","created_at":"2017-08-23T12:54:18Z","updated_at":"2017-08-23T12:54:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"sstone1","id":7118158,"avatar_url":"https://avatars2.githubusercontent.com/u/7118158?v=4","gravatar_id":"","url":"https://api.github.com/users/sstone1","html_url":"https://github.com/sstone1","followers_url":"https://api.github.com/users/sstone1/followers","following_url":"https://api.github.com/users/sstone1/following{/other_user}","gists_url":"https://api.github.com/users/sstone1/gists{/gist_id}","starred_url":"https://api.github.com/users/sstone1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstone1/subscriptions","organizations_url":"https://api.github.com/users/sstone1/orgs","repos_url":"https://api.github.com/users/sstone1/repos","events_url":"https://api.github.com/users/sstone1/events{/privacy}","received_events_url":"https://api.github.com/users/sstone1/received_events","type":"User","site_admin":false},"assignees":[{"login":"sstone1","id":7118158,"avatar_url":"https://avatars2.githubusercontent.com/u/7118158?v=4","gravatar_id":"","url":"https://api.github.com/users/sstone1","html_url":"https://github.com/sstone1","followers_url":"https://api.github.com/users/sstone1/followers","following_url":"https://api.github.com/users/sstone1/following{/other_user}","gists_url":"https://api.github.com/users/sstone1/gists{/gist_id}","starred_url":"https://api.github.com/users/sstone1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstone1/subscriptions","organizations_url":"https://api.github.com/users/sstone1/orgs","repos_url":"https://api.github.com/users/sstone1/repos","events_url":"https://api.github.com/users/sstone1/events{/privacy}","received_events_url":"https://api.github.com/users/sstone1/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/hyperledger/composer/pulls/1981/commits","review_comments_url":"https://api.github.com/repos/hyperledger/composer/pulls/1981/comments","review_comment_url":"https://api.github.com/repos/hyperledger/composer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperledger/composer/issues/1981/comments","statuses_url":"https://api.github.com/repos/hyperledger/composer/statuses/581a47c8eeb2f10b52167d8279573b67079ef407","head":{"label":"sstone1:rest-server-events-docs","ref":"rest-server-events-docs","sha":"581a47c8eeb2f10b52167d8279573b67079ef407","user":{"login":"sstone1","id":7118158,"avatar_url":"https://avatars2.githubusercontent.com/u/7118158?v=4","gravatar_id":"","url":"https://api.github.com/users/sstone1","html_url":"https://github.com/sstone1","followers_url":"https://api.github.com/users/sstone1/followers","following_url":"https://api.github.com/users/sstone1/following{/other_user}","gists_url":"https://api.github.com/users/sstone1/gists{/gist_id}","starred_url":"https://api.github.com/users/sstone1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstone1/subscriptions","organizations_url":"https://api.github.com/users/sstone1/orgs","repos_url":"https://api.github.com/users/sstone1/repos","events_url":"https://api.github.com/users/sstone1/events{/privacy}","received_events_url":"https://api.github.com/users/sstone1/received_events","type":"User","site_admin":false},"repo":{"id":80453103,"name":"composer","full_name":"sstone1/composer","owner":{"login":"sstone1","id":7118158,"avatar_url":"https://avatars2.githubusercontent.com/u/7118158?v=4","gravatar_id":"","url":"https://api.github.com/users/sstone1","html_url":"https://github.com/sstone1","followers_url":"https://api.github.com/users/sstone1/followers","following_url":"https://api.github.com/users/sstone1/following{/other_user}","gists_url":"https://api.github.com/users/sstone1/gists{/gist_id}","starred_url":"https://api.github.com/users/sstone1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstone1/subscriptions","organizations_url":"https://api.github.com/users/sstone1/orgs","repos_url":"https://api.github.com/users/sstone1/repos","events_url":"https://api.github.com/users/sstone1/events{/privacy}","received_events_url":"https://api.github.com/users/sstone1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sstone1/composer","description":"A development framework for Hyperledger Fabric","fork":true,"url":"https://api.github.com/repos/sstone1/composer","forks_url":"https://api.github.com/repos/sstone1/composer/forks","keys_url":"https://api.github.com/repos/sstone1/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sstone1/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sstone1/composer/teams","hooks_url":"https://api.github.com/repos/sstone1/composer/hooks","issue_events_url":"https://api.github.com/repos/sstone1/composer/issues/events{/number}","events_url":"https://api.github.com/repos/sstone1/composer/events","assignees_url":"https://api.github.com/repos/sstone1/composer/assignees{/user}","branches_url":"https://api.github.com/repos/sstone1/composer/branches{/branch}","tags_url":"https://api.github.com/repos/sstone1/composer/tags","blobs_url":"https://api.github.com/repos/sstone1/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sstone1/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sstone1/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/sstone1/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sstone1/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/sstone1/composer/languages","stargazers_url":"https://api.github.com/repos/sstone1/composer/stargazers","contributors_url":"https://api.github.com/repos/sstone1/composer/contributors","subscribers_url":"https://api.github.com/repos/sstone1/composer/subscribers","subscription_url":"https://api.github.com/repos/sstone1/composer/subscription","commits_url":"https://api.github.com/repos/sstone1/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/sstone1/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/sstone1/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/sstone1/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/sstone1/composer/contents/{+path}","compare_url":"https://api.github.com/repos/sstone1/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sstone1/composer/merges","archive_url":"https://api.github.com/repos/sstone1/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sstone1/composer/downloads","issues_url":"https://api.github.com/repos/sstone1/composer/issues{/number}","pulls_url":"https://api.github.com/repos/sstone1/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/sstone1/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/sstone1/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sstone1/composer/labels{/name}","releases_url":"https://api.github.com/repos/sstone1/composer/releases{/id}","deployments_url":"https://api.github.com/repos/sstone1/composer/deployments","created_at":"2017-01-30T19:04:22Z","updated_at":"2017-04-19T15:19:09Z","pushed_at":"2017-08-23T12:52:33Z","git_url":"git://github.com/sstone1/composer.git","ssh_url":"git@github.com:sstone1/composer.git","clone_url":"https://github.com/sstone1/composer.git","svn_url":"https://github.com/sstone1/composer","homepage":"","size":85107,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hyperledger:master","ref":"master","sha":"3b5df352504ce194cc12b1d83a6eab704fe313a8","user":{"login":"hyperledger","id":7657900,"avatar_url":"https://avatars2.githubusercontent.com/u/7657900?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperledger","html_url":"https://github.com/hyperledger","followers_url":"https://api.github.com/users/hyperledger/followers","following_url":"https://api.github.com/users/hyperledger/following{/other_user}","gists_url":"https://api.github.com/users/hyperledger/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperledger/subscriptions","organizations_url":"https://api.github.com/users/hyperledger/orgs","repos_url":"https://api.github.com/users/hyperledger/repos","events_url":"https://api.github.com/users/hyperledger/events{/privacy}","received_events_url":"https://api.github.com/users/hyperledger/received_events","type":"Organization","site_admin":false},"repo":{"id":80234065,"name":"composer","full_name":"hyperledger/composer","owner":{"login":"hyperledger","id":7657900,"avatar_url":"https://avatars2.githubusercontent.com/u/7657900?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperledger","html_url":"https://github.com/hyperledger","followers_url":"https://api.github.com/users/hyperledger/followers","following_url":"https://api.github.com/users/hyperledger/following{/other_user}","gists_url":"https://api.github.com/users/hyperledger/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperledger/subscriptions","organizations_url":"https://api.github.com/users/hyperledger/orgs","repos_url":"https://api.github.com/users/hyperledger/repos","events_url":"https://api.github.com/users/hyperledger/events{/privacy}","received_events_url":"https://api.github.com/users/hyperledger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperledger/composer","description":"Composer is a framework for building Blockchain business networks","fork":false,"url":"https://api.github.com/repos/hyperledger/composer","forks_url":"https://api.github.com/repos/hyperledger/composer/forks","keys_url":"https://api.github.com/repos/hyperledger/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperledger/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperledger/composer/teams","hooks_url":"https://api.github.com/repos/hyperledger/composer/hooks","issue_events_url":"https://api.github.com/repos/hyperledger/composer/issues/events{/number}","events_url":"https://api.github.com/repos/hyperledger/composer/events","assignees_url":"https://api.github.com/repos/hyperledger/composer/assignees{/user}","branches_url":"https://api.github.com/repos/hyperledger/composer/branches{/branch}","tags_url":"https://api.github.com/repos/hyperledger/composer/tags","blobs_url":"https://api.github.com/repos/hyperledger/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperledger/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperledger/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperledger/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperledger/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperledger/composer/languages","stargazers_url":"https://api.github.com/repos/hyperledger/composer/stargazers","contributors_url":"https://api.github.com/repos/hyperledger/composer/contributors","subscribers_url":"https://api.github.com/repos/hyperledger/composer/subscribers","subscription_url":"https://api.github.com/repos/hyperledger/composer/subscription","commits_url":"https://api.github.com/repos/hyperledger/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperledger/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperledger/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperledger/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperledger/composer/contents/{+path}","compare_url":"https://api.github.com/repos/hyperledger/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperledger/composer/merges","archive_url":"https://api.github.com/repos/hyperledger/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperledger/composer/downloads","issues_url":"https://api.github.com/repos/hyperledger/composer/issues{/number}","pulls_url":"https://api.github.com/repos/hyperledger/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperledger/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperledger/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperledger/composer/labels{/name}","releases_url":"https://api.github.com/repos/hyperledger/composer/releases{/id}","deployments_url":"https://api.github.com/repos/hyperledger/composer/deployments","created_at":"2017-01-27T18:27:47Z","updated_at":"2017-08-23T11:09:28Z","pushed_at":"2017-08-23T12:53:28Z","git_url":"git://github.com/hyperledger/composer.git","ssh_url":"git@github.com:hyperledger/composer.git","clone_url":"https://github.com/hyperledger/composer.git","svn_url":"https://github.com/hyperledger/composer","homepage":"https://hyperledger.github.io/composer","size":110497,"stargazers_count":242,"watchers_count":242,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":171,"mirror_url":null,"open_issues_count":286,"forks":171,"open_issues":286,"watchers":242,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperledger/composer/pulls/1981"},"html":{"href":"https://github.com/hyperledger/composer/pull/1981"},"issue":{"href":"https://api.github.com/repos/hyperledger/composer/issues/1981"},"comments":{"href":"https://api.github.com/repos/hyperledger/composer/issues/1981/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperledger/composer/pulls/1981/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperledger/composer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperledger/composer/pulls/1981/commits"},"statuses":{"href":"https://api.github.com/repos/hyperledger/composer/statuses/581a47c8eeb2f10b52167d8279573b67079ef407"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":53,"deletions":5,"changed_files":6}}
{"actor":{"display_login":"sstone1"}}