{"action":"opened","number":57,"pull_request":{"url":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls/57","id":144734917,"html_url":"https://github.com/woocommerce/wc-api-dev/pull/57","diff_url":"https://github.com/woocommerce/wc-api-dev/pull/57.diff","patch_url":"https://github.com/woocommerce/wc-api-dev/pull/57.patch","issue_url":"https://api.github.com/repos/woocommerce/wc-api-dev/issues/57","number":57,"state":"open","locked":false,"title":"Add Store link to Masterbar","user":{"login":"timmyc","id":22080,"avatar_url":"https://avatars0.githubusercontent.com/u/22080?v=4","gravatar_id":"","url":"https://api.github.com/users/timmyc","html_url":"https://github.com/timmyc","followers_url":"https://api.github.com/users/timmyc/followers","following_url":"https://api.github.com/users/timmyc/following{/other_user}","gists_url":"https://api.github.com/users/timmyc/gists{/gist_id}","starred_url":"https://api.github.com/users/timmyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmyc/subscriptions","organizations_url":"https://api.github.com/users/timmyc/orgs","repos_url":"https://api.github.com/users/timmyc/repos","events_url":"https://api.github.com/users/timmyc/events{/privacy}","received_events_url":"https://api.github.com/users/timmyc/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/Automattic/wp-calypso/issues/16812\r\n\r\nNow that Jetpack 5.4 is launched, this PR utilizes the new `jetpack_masterbar` ( thanks @justinshreve ) to add the Store menu item to the masterbar on the remote store site.\r\n\r\n<img width=\"710\" alt=\"timmy_s_flies_ _come_fly_with_me\" src=\"https://user-images.githubusercontent.com/22080/31191229-5cb1abd0-a8f2-11e7-8d30-df4caf275ee0.png\">\r\n\r\n__To Test__\r\n- Open up the front-end of a store site while logged in to the associated wpcom account\r\n- Click \"My Site(s)\" in the masterbar, verify the \"Shop (BETA)\" link is shown\r\n- Click on the Shop link, verify the calypso store section is opened properly\r\n- Repeat the same steps above but from within `wp-admin` on the store site","created_at":"2017-10-04T17:54:43Z","updated_at":"2017-10-04T17:54:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"timmyc","id":22080,"avatar_url":"https://avatars0.githubusercontent.com/u/22080?v=4","gravatar_id":"","url":"https://api.github.com/users/timmyc","html_url":"https://github.com/timmyc","followers_url":"https://api.github.com/users/timmyc/followers","following_url":"https://api.github.com/users/timmyc/following{/other_user}","gists_url":"https://api.github.com/users/timmyc/gists{/gist_id}","starred_url":"https://api.github.com/users/timmyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmyc/subscriptions","organizations_url":"https://api.github.com/users/timmyc/orgs","repos_url":"https://api.github.com/users/timmyc/repos","events_url":"https://api.github.com/users/timmyc/events{/privacy}","received_events_url":"https://api.github.com/users/timmyc/received_events","type":"User","site_admin":false},"assignees":[{"login":"timmyc","id":22080,"avatar_url":"https://avatars0.githubusercontent.com/u/22080?v=4","gravatar_id":"","url":"https://api.github.com/users/timmyc","html_url":"https://github.com/timmyc","followers_url":"https://api.github.com/users/timmyc/followers","following_url":"https://api.github.com/users/timmyc/following{/other_user}","gists_url":"https://api.github.com/users/timmyc/gists{/gist_id}","starred_url":"https://api.github.com/users/timmyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmyc/subscriptions","organizations_url":"https://api.github.com/users/timmyc/orgs","repos_url":"https://api.github.com/users/timmyc/repos","events_url":"https://api.github.com/users/timmyc/events{/privacy}","received_events_url":"https://api.github.com/users/timmyc/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"justinshreve","id":689165,"avatar_url":"https://avatars2.githubusercontent.com/u/689165?v=4","gravatar_id":"","url":"https://api.github.com/users/justinshreve","html_url":"https://github.com/justinshreve","followers_url":"https://api.github.com/users/justinshreve/followers","following_url":"https://api.github.com/users/justinshreve/following{/other_user}","gists_url":"https://api.github.com/users/justinshreve/gists{/gist_id}","starred_url":"https://api.github.com/users/justinshreve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinshreve/subscriptions","organizations_url":"https://api.github.com/users/justinshreve/orgs","repos_url":"https://api.github.com/users/justinshreve/repos","events_url":"https://api.github.com/users/justinshreve/events{/privacy}","received_events_url":"https://api.github.com/users/justinshreve/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls/57/commits","review_comments_url":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls/57/comments","review_comment_url":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/woocommerce/wc-api-dev/issues/57/comments","statuses_url":"https://api.github.com/repos/woocommerce/wc-api-dev/statuses/1292ff683ee4f3f6180a0a411397bb02ec8a6219","head":{"label":"woocommerce:add/masterbar-store-link","ref":"add/masterbar-store-link","sha":"1292ff683ee4f3f6180a0a411397bb02ec8a6219","user":{"login":"woocommerce","id":473596,"avatar_url":"https://avatars0.githubusercontent.com/u/473596?v=4","gravatar_id":"","url":"https://api.github.com/users/woocommerce","html_url":"https://github.com/woocommerce","followers_url":"https://api.github.com/users/woocommerce/followers","following_url":"https://api.github.com/users/woocommerce/following{/other_user}","gists_url":"https://api.github.com/users/woocommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/woocommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woocommerce/subscriptions","organizations_url":"https://api.github.com/users/woocommerce/orgs","repos_url":"https://api.github.com/users/woocommerce/repos","events_url":"https://api.github.com/users/woocommerce/events{/privacy}","received_events_url":"https://api.github.com/users/woocommerce/received_events","type":"Organization","site_admin":false},"repo":{"id":92654570,"name":"wc-api-dev","full_name":"woocommerce/wc-api-dev","owner":{"login":"woocommerce","id":473596,"avatar_url":"https://avatars0.githubusercontent.com/u/473596?v=4","gravatar_id":"","url":"https://api.github.com/users/woocommerce","html_url":"https://github.com/woocommerce","followers_url":"https://api.github.com/users/woocommerce/followers","following_url":"https://api.github.com/users/woocommerce/following{/other_user}","gists_url":"https://api.github.com/users/woocommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/woocommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woocommerce/subscriptions","organizations_url":"https://api.github.com/users/woocommerce/orgs","repos_url":"https://api.github.com/users/woocommerce/repos","events_url":"https://api.github.com/users/woocommerce/events{/privacy}","received_events_url":"https://api.github.com/users/woocommerce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/woocommerce/wc-api-dev","description":"Internal/development version of the next WooCommerce REST API release.","fork":false,"url":"https://api.github.com/repos/woocommerce/wc-api-dev","forks_url":"https://api.github.com/repos/woocommerce/wc-api-dev/forks","keys_url":"https://api.github.com/repos/woocommerce/wc-api-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/woocommerce/wc-api-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/woocommerce/wc-api-dev/teams","hooks_url":"https://api.github.com/repos/woocommerce/wc-api-dev/hooks","issue_events_url":"https://api.github.com/repos/woocommerce/wc-api-dev/issues/events{/number}","events_url":"https://api.github.com/repos/woocommerce/wc-api-dev/events","assignees_url":"https://api.github.com/repos/woocommerce/wc-api-dev/assignees{/user}","branches_url":"https://api.github.com/repos/woocommerce/wc-api-dev/branches{/branch}","tags_url":"https://api.github.com/repos/woocommerce/wc-api-dev/tags","blobs_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/woocommerce/wc-api-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/woocommerce/wc-api-dev/languages","stargazers_url":"https://api.github.com/repos/woocommerce/wc-api-dev/stargazers","contributors_url":"https://api.github.com/repos/woocommerce/wc-api-dev/contributors","subscribers_url":"https://api.github.com/repos/woocommerce/wc-api-dev/subscribers","subscription_url":"https://api.github.com/repos/woocommerce/wc-api-dev/subscription","commits_url":"https://api.github.com/repos/woocommerce/wc-api-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/woocommerce/wc-api-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/woocommerce/wc-api-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/woocommerce/wc-api-dev/contents/{+path}","compare_url":"https://api.github.com/repos/woocommerce/wc-api-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/woocommerce/wc-api-dev/merges","archive_url":"https://api.github.com/repos/woocommerce/wc-api-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/woocommerce/wc-api-dev/downloads","issues_url":"https://api.github.com/repos/woocommerce/wc-api-dev/issues{/number}","pulls_url":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/woocommerce/wc-api-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/woocommerce/wc-api-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/woocommerce/wc-api-dev/labels{/name}","releases_url":"https://api.github.com/repos/woocommerce/wc-api-dev/releases{/id}","deployments_url":"https://api.github.com/repos/woocommerce/wc-api-dev/deployments","created_at":"2017-05-28T10:31:44Z","updated_at":"2017-08-28T15:55:10Z","pushed_at":"2017-10-04T17:51:08Z","git_url":"git://github.com/woocommerce/wc-api-dev.git","ssh_url":"git@github.com:woocommerce/wc-api-dev.git","clone_url":"https://github.com/woocommerce/wc-api-dev.git","svn_url":"https://github.com/woocommerce/wc-api-dev","homepage":null,"size":146,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":10,"default_branch":"master"}},"base":{"label":"woocommerce:master","ref":"master","sha":"255890f96b58f4a9ff898d9b0c3276087427bcb0","user":{"login":"woocommerce","id":473596,"avatar_url":"https://avatars0.githubusercontent.com/u/473596?v=4","gravatar_id":"","url":"https://api.github.com/users/woocommerce","html_url":"https://github.com/woocommerce","followers_url":"https://api.github.com/users/woocommerce/followers","following_url":"https://api.github.com/users/woocommerce/following{/other_user}","gists_url":"https://api.github.com/users/woocommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/woocommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woocommerce/subscriptions","organizations_url":"https://api.github.com/users/woocommerce/orgs","repos_url":"https://api.github.com/users/woocommerce/repos","events_url":"https://api.github.com/users/woocommerce/events{/privacy}","received_events_url":"https://api.github.com/users/woocommerce/received_events","type":"Organization","site_admin":false},"repo":{"id":92654570,"name":"wc-api-dev","full_name":"woocommerce/wc-api-dev","owner":{"login":"woocommerce","id":473596,"avatar_url":"https://avatars0.githubusercontent.com/u/473596?v=4","gravatar_id":"","url":"https://api.github.com/users/woocommerce","html_url":"https://github.com/woocommerce","followers_url":"https://api.github.com/users/woocommerce/followers","following_url":"https://api.github.com/users/woocommerce/following{/other_user}","gists_url":"https://api.github.com/users/woocommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/woocommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woocommerce/subscriptions","organizations_url":"https://api.github.com/users/woocommerce/orgs","repos_url":"https://api.github.com/users/woocommerce/repos","events_url":"https://api.github.com/users/woocommerce/events{/privacy}","received_events_url":"https://api.github.com/users/woocommerce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/woocommerce/wc-api-dev","description":"Internal/development version of the next WooCommerce REST API release.","fork":false,"url":"https://api.github.com/repos/woocommerce/wc-api-dev","forks_url":"https://api.github.com/repos/woocommerce/wc-api-dev/forks","keys_url":"https://api.github.com/repos/woocommerce/wc-api-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/woocommerce/wc-api-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/woocommerce/wc-api-dev/teams","hooks_url":"https://api.github.com/repos/woocommerce/wc-api-dev/hooks","issue_events_url":"https://api.github.com/repos/woocommerce/wc-api-dev/issues/events{/number}","events_url":"https://api.github.com/repos/woocommerce/wc-api-dev/events","assignees_url":"https://api.github.com/repos/woocommerce/wc-api-dev/assignees{/user}","branches_url":"https://api.github.com/repos/woocommerce/wc-api-dev/branches{/branch}","tags_url":"https://api.github.com/repos/woocommerce/wc-api-dev/tags","blobs_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/woocommerce/wc-api-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/woocommerce/wc-api-dev/languages","stargazers_url":"https://api.github.com/repos/woocommerce/wc-api-dev/stargazers","contributors_url":"https://api.github.com/repos/woocommerce/wc-api-dev/contributors","subscribers_url":"https://api.github.com/repos/woocommerce/wc-api-dev/subscribers","subscription_url":"https://api.github.com/repos/woocommerce/wc-api-dev/subscription","commits_url":"https://api.github.com/repos/woocommerce/wc-api-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/woocommerce/wc-api-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/woocommerce/wc-api-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/woocommerce/wc-api-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/woocommerce/wc-api-dev/contents/{+path}","compare_url":"https://api.github.com/repos/woocommerce/wc-api-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/woocommerce/wc-api-dev/merges","archive_url":"https://api.github.com/repos/woocommerce/wc-api-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/woocommerce/wc-api-dev/downloads","issues_url":"https://api.github.com/repos/woocommerce/wc-api-dev/issues{/number}","pulls_url":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/woocommerce/wc-api-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/woocommerce/wc-api-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/woocommerce/wc-api-dev/labels{/name}","releases_url":"https://api.github.com/repos/woocommerce/wc-api-dev/releases{/id}","deployments_url":"https://api.github.com/repos/woocommerce/wc-api-dev/deployments","created_at":"2017-05-28T10:31:44Z","updated_at":"2017-08-28T15:55:10Z","pushed_at":"2017-10-04T17:51:08Z","git_url":"git://github.com/woocommerce/wc-api-dev.git","ssh_url":"git@github.com:woocommerce/wc-api-dev.git","clone_url":"https://github.com/woocommerce/wc-api-dev.git","svn_url":"https://github.com/woocommerce/wc-api-dev","homepage":null,"size":146,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls/57"},"html":{"href":"https://github.com/woocommerce/wc-api-dev/pull/57"},"issue":{"href":"https://api.github.com/repos/woocommerce/wc-api-dev/issues/57"},"comments":{"href":"https://api.github.com/repos/woocommerce/wc-api-dev/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/woocommerce/wc-api-dev/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/woocommerce/wc-api-dev/statuses/1292ff683ee4f3f6180a0a411397bb02ec8a6219"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":45,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"timmyc"}}