{"action":"opened","issue":{"url":"https://api.github.com/repos/wp-net/WordPressPCL/issues/104","repository_url":"https://api.github.com/repos/wp-net/WordPressPCL","labels_url":"https://api.github.com/repos/wp-net/WordPressPCL/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/wp-net/WordPressPCL/issues/104/comments","events_url":"https://api.github.com/repos/wp-net/WordPressPCL/issues/104/events","html_url":"https://github.com/wp-net/WordPressPCL/issues/104","id":304353406,"number":104,"title":"Support wordpress.com sites","user":{"login":"ThomasPe","id":4225039,"avatar_url":"https://avatars1.githubusercontent.com/u/4225039?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasPe","html_url":"https://github.com/ThomasPe","followers_url":"https://api.github.com/users/ThomasPe/followers","following_url":"https://api.github.com/users/ThomasPe/following{/other_user}","gists_url":"https://api.github.com/users/ThomasPe/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasPe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasPe/subscriptions","organizations_url":"https://api.github.com/users/ThomasPe/orgs","repos_url":"https://api.github.com/users/ThomasPe/repos","events_url":"https://api.github.com/users/ThomasPe/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasPe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-12T12:34:44Z","updated_at":"2018-03-12T12:34:44Z","closed_at":null,"author_association":"OWNER","body":"Hosted blogs on wordpress.com at least partly support the new REST API V2.\r\nFor this package to work we would need probably flag hosted vs. selfhosted since the API URL structure is slightly different:\r\n\r\n`https://public-api.wordpress.com/wp/v2/sites/$wpcom_site/posts`\r\nvs\r\n`https://$wphosted_site/wp-json/wp/v2/posts`\r\n"}}
{"actor":{"display_login":"ThomasPe"}}