{"action":"created","comment":{"url":"https://api.github.com/repos/owncloud/core/pulls/comments/206856012","pull_request_review_id":142348085,"id":206856012,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjg1NjAxMg==","diff_hunk":"@@ -22,54 +22,185 @@\n namespace OCA\\FederatedFileSharing;\n \n use OCA\\Files_Sharing\\Activity;\n-use OCP\\Activity\\IManager;\n+use OCP\\Activity\\IManager as ActivityManager;\n use OCP\\Files\\NotFoundException;\n-use OCP\\ILogger;\n use OCP\\IUserManager;\n+use OCP\\Notification\\IManager as NotificationManager;\n use OCP\\Share\\IShare;\n+use Symfony\\Component\\EventDispatcher\\EventDispatcherInterface;\n+use Symfony\\Component\\EventDispatcher\\GenericEvent;\n \n /**\n  * Class FedShareManager holds the share logic\n  *\n  * @package OCA\\FederatedFileSharing\n  */\n class FedShareManager {\n+\tconst ACTION_URL = 'ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending/';\n+\n \t/**\n \t * @var FederatedShareProvider\n \t */\n \tprivate $federatedShareProvider;\n \n+\t/**\n+\t * @var Notifications\n+\t */\n+\tprivate $notifications;\n+\n \t/**\n \t * @var IUserManager\n \t */\n \tprivate $userManager;\n \n \t/**\n-\t * @var IManager\n+\t * @var ActivityManager\n \t */\n \tprivate $activityManager;\n \n \t/**\n-\t * @var ILogger\n+\t * @var NotificationManager\n \t */\n-\tprivate $logger;\n+\tprivate $notificationManager;\n+\n+\t/**\n+\t * @var AddressHandler\n+\t */\n+\tprivate $addressHandler;\n+\n+\t/**\n+\t * @var EventDispatcherInterface\n+\t */\n+\tprivate $eventDispatcher;\n \n \t/**\n \t * FedShareManager constructor.\n \t *\n \t * @param FederatedShareProvider $federatedShareProvider\n+\t * @param Notifications $notifications\n \t * @param IUserManager $userManager\n-\t * @param IManager $activityManager\n-\t * @param ILogger $logger\n+\t * @param ActivityManager $activityManager\n+\t * @param NotificationManager $notificationManager\n+\t * @param AddressHandler $addressHandler\n+\t * @param EventDispatcherInterface $eventDispatcher\n \t */\n \tpublic function __construct(FederatedShareProvider $federatedShareProvider,\n+\t\t\t\t\t\t\t\tNotifications $notifications,\n \t\t\t\t\t\t\t\tIUserManager $userManager,\n-\t\t\t\t\t\t\t\tIManager $activityManager,\n-\t\t\t\t\t\t\t\tILogger $logger) {\n+\t\t\t\t\t\t\t\tActivityManager $activityManager,\n+\t\t\t\t\t\t\t\tNotificationManager $notificationManager,\n+\t\t\t\t\t\t\t\tAddressHandler $addressHandler,\n+\t\t\t\t\t\t\t\tEventDispatcherInterface $eventDispatcher\n+\t) {\n \t\t$this->federatedShareProvider = $federatedShareProvider;\n+\t\t$this->notifications = $notifications;\n \t\t$this->userManager = $userManager;\n \t\t$this->activityManager = $activityManager;\n-\t\t$this->logger = $logger;\n+\t\t$this->notificationManager = $notificationManager;\n+\t\t$this->addressHandler = $addressHandler;\n+\t\t$this->eventDispatcher = $eventDispatcher;\n+\t}\n+\n+\t/**\n+\t * Create an incoming share\n+\t *\n+\t * @param string $shareWith\n+\t * @param string $remote\n+\t * @param int $remoteId\n+\t * @param string $owner\n+\t * @param string $name\n+\t * @param int $ownerFederatedId\n+\t * @param int $sharedByFederatedId\n+\t * @param string $sharedBy\n+\t * @param string $token\n+\t *\n+\t * @return void\n+\t */\n+\tpublic function createShare($shareWith,\n+\t\t\t\t\t\t\t\t$remote,","path":"apps/federatedfilesharing/lib/FedShareManager.php","position":109,"original_position":109,"commit_id":"18b0d0273811d4111b1e701811c0671f2980586e","original_commit_id":"18b0d0273811d4111b1e701811c0671f2980586e","user":{"login":"VicDeo","id":991300,"node_id":"MDQ6VXNlcjk5MTMwMA==","avatar_url":"https://avatars1.githubusercontent.com/u/991300?v=4","gravatar_id":"","url":"https://api.github.com/users/VicDeo","html_url":"https://github.com/VicDeo","followers_url":"https://api.github.com/users/VicDeo/followers","following_url":"https://api.github.com/users/VicDeo/following{/other_user}","gists_url":"https://api.github.com/users/VicDeo/gists{/gist_id}","starred_url":"https://api.github.com/users/VicDeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VicDeo/subscriptions","organizations_url":"https://api.github.com/users/VicDeo/orgs","repos_url":"https://api.github.com/users/VicDeo/repos","events_url":"https://api.github.com/users/VicDeo/events{/privacy}","received_events_url":"https://api.github.com/users/VicDeo/received_events","type":"User","site_admin":false},"body":"yes, it can be the IShare  object with some additional params","created_at":"2018-08-01T12:17:48Z","updated_at":"2018-08-01T12:17:48Z","html_url":"https://github.com/owncloud/core/pull/32113#discussion_r206856012","pull_request_url":"https://api.github.com/repos/owncloud/core/pulls/32113","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/owncloud/core/pulls/comments/206856012"},"html":{"href":"https://github.com/owncloud/core/pull/32113#discussion_r206856012"},"pull_request":{"href":"https://api.github.com/repos/owncloud/core/pulls/32113"}},"in_reply_to_id":206791684},"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/32113","id":202966525,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyOTY2NTI1","html_url":"https://github.com/owncloud/core/pull/32113","diff_url":"https://github.com/owncloud/core/pull/32113.diff","patch_url":"https://github.com/owncloud/core/pull/32113.patch","issue_url":"https://api.github.com/repos/owncloud/core/issues/32113","number":32113,"state":"open","locked":false,"title":"Cleanup federation phase 2","user":{"login":"VicDeo","id":991300,"node_id":"MDQ6VXNlcjk5MTMwMA==","avatar_url":"https://avatars1.githubusercontent.com/u/991300?v=4","gravatar_id":"","url":"https://api.github.com/users/VicDeo","html_url":"https://github.com/VicDeo","followers_url":"https://api.github.com/users/VicDeo/followers","following_url":"https://api.github.com/users/VicDeo/following{/other_user}","gists_url":"https://api.github.com/users/VicDeo/gists{/gist_id}","starred_url":"https://api.github.com/users/VicDeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VicDeo/subscriptions","organizations_url":"https://api.github.com/users/VicDeo/orgs","repos_url":"https://api.github.com/users/VicDeo/repos","events_url":"https://api.github.com/users/VicDeo/events{/privacy}","received_events_url":"https://api.github.com/users/VicDeo/received_events","type":"User","site_admin":false},"body":"## Description\r\nFollow up on https://github.com/owncloud/core/pull/32086\r\n- Separates input params validation and handling external shares\r\n- Increases code coverage\r\n- Decreases C&P at some degree\r\n\r\n## Related Issue\r\nhttps://github.com/owncloud/enterprise/issues/2564\r\n\r\n## Motivation and Context\r\nExtract business logic from controller, make it reusable.\r\n\r\n## How Has This Been Tested?\r\nTesting in progress... basic tests are:\r\n#### Case 1 :heavy_check_mark: \r\n- [owner] create a federated share with share permision\r\n- [recipient] accept it\r\n\r\nexpectations:\r\n[x] owner see that file is shared\r\n[x] recipient see a file and can reshare \r\n\r\n- [owner] change share permissions\r\n\r\nexpectations: \r\n[x] recipient can NOT reshare any more\r\n\r\n- [recipient] unshare it\r\nexpectations: \r\n[x] owner see that file is NOT shared\r\n\r\n#### Case 2 :heavy_check_mark: \r\n- [owner] create a federated share with sharing perms\r\n- [recipient] accept it\r\n- [recipient] reshare it with another user\r\n\r\nexpectations: \r\n[x] another user see a reshare\r\n\r\n- [owner] revokes a share\r\n\r\nexpectations: \r\n[x] recipient can NOT see the file any more\r\n[x] another user can NOT see a reshare\r\n\r\n\r\n#### Case 3 :heavy_check_mark: \r\n- [owner] create a federated share\r\n- [recipient] decline it\r\n\r\nexpectations: \r\n[x] owner see that file is NOT shared\r\n\r\n## Types of changes\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [x] Technical debt\r\n- [x] Tests\r\n\r\n## Checklist:\r\n- [x] Code changes\r\n- [x] Unit tests added\r\n- [ ] Acceptance tests added\r\n- [ ] Documentation ticket raised: <link> \r\n\r\n## Open tasks:\r\n- [ ] Backport (if applicable set \"backport-request\" label and remove when the backport was done)\r\n","created_at":"2018-07-20T22:05:07Z","updated_at":"2018-08-01T12:17:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"600008c6ba5c31a54f787e3e6d1eba6a81158077","assignee":{"login":"VicDeo","id":991300,"node_id":"MDQ6VXNlcjk5MTMwMA==","avatar_url":"https://avatars1.githubusercontent.com/u/991300?v=4","gravatar_id":"","url":"https://api.github.com/users/VicDeo","html_url":"https://github.com/VicDeo","followers_url":"https://api.github.com/users/VicDeo/followers","following_url":"https://api.github.com/users/VicDeo/following{/other_user}","gists_url":"https://api.github.com/users/VicDeo/gists{/gist_id}","starred_url":"https://api.github.com/users/VicDeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VicDeo/subscriptions","organizations_url":"https://api.github.com/users/VicDeo/orgs","repos_url":"https://api.github.com/users/VicDeo/repos","events_url":"https://api.github.com/users/VicDeo/events{/privacy}","received_events_url":"https://api.github.com/users/VicDeo/received_events","type":"User","site_admin":false},"assignees":[{"login":"VicDeo","id":991300,"node_id":"MDQ6VXNlcjk5MTMwMA==","avatar_url":"https://avatars1.githubusercontent.com/u/991300?v=4","gravatar_id":"","url":"https://api.github.com/users/VicDeo","html_url":"https://github.com/VicDeo","followers_url":"https://api.github.com/users/VicDeo/followers","following_url":"https://api.github.com/users/VicDeo/following{/other_user}","gists_url":"https://api.github.com/users/VicDeo/gists{/gist_id}","starred_url":"https://api.github.com/users/VicDeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VicDeo/subscriptions","organizations_url":"https://api.github.com/users/VicDeo/orgs","repos_url":"https://api.github.com/users/VicDeo/repos","events_url":"https://api.github.com/users/VicDeo/events{/privacy}","received_events_url":"https://api.github.com/users/VicDeo/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":17709846,"node_id":"MDU6TGFiZWwxNzcwOTg0Ng==","url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed","default":false}],"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/120","html_url":"https://github.com/owncloud/core/milestone/120","labels_url":"https://api.github.com/repos/owncloud/core/milestones/120/labels","id":3031526,"node_id":"MDk6TWlsZXN0b25lMzAzMTUyNg==","number":120,"title":"development","description":"10.0.10","creator":{"login":"PVince81","id":277525,"node_id":"MDQ6VXNlcjI3NzUyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/277525?v=4","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"open_issues":65,"closed_issues":265,"state":"open","created_at":"2018-01-12T14:07:35Z","updated_at":"2018-08-01T12:13:31Z","due_on":"2018-08-24T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/owncloud/core/pulls/32113/commits","review_comments_url":"https://api.github.com/repos/owncloud/core/pulls/32113/comments","review_comment_url":"https://api.github.com/repos/owncloud/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owncloud/core/issues/32113/comments","statuses_url":"https://api.github.com/repos/owncloud/core/statuses/18b0d0273811d4111b1e701811c0671f2980586e","head":{"label":"owncloud:cleanup-federation-phase-2","ref":"cleanup-federation-phase-2","sha":"18b0d0273811d4111b1e701811c0671f2980586e","user":{"login":"owncloud","id":1645051,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDUwNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":5550552,"node_id":"MDEwOlJlcG9zaXRvcnk1NTUwNTUy","name":"core","full_name":"owncloud/core","owner":{"login":"owncloud","id":1645051,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDUwNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/core","description":":cloud: ownCloud web server core (Files, DAV, etc.)","fork":false,"url":"https://api.github.com/repos/owncloud/core","forks_url":"https://api.github.com/repos/owncloud/core/forks","keys_url":"https://api.github.com/repos/owncloud/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/core/teams","hooks_url":"https://api.github.com/repos/owncloud/core/hooks","issue_events_url":"https://api.github.com/repos/owncloud/core/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/core/events","assignees_url":"https://api.github.com/repos/owncloud/core/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/core/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/core/tags","blobs_url":"https://api.github.com/repos/owncloud/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/core/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/core/languages","stargazers_url":"https://api.github.com/repos/owncloud/core/stargazers","contributors_url":"https://api.github.com/repos/owncloud/core/contributors","subscribers_url":"https://api.github.com/repos/owncloud/core/subscribers","subscription_url":"https://api.github.com/repos/owncloud/core/subscription","commits_url":"https://api.github.com/repos/owncloud/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/core/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/core/merges","archive_url":"https://api.github.com/repos/owncloud/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/core/downloads","issues_url":"https://api.github.com/repos/owncloud/core/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/core/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/core/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/core/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/core/releases{/id}","deployments_url":"https://api.github.com/repos/owncloud/core/deployments","created_at":"2012-08-25T10:32:48Z","updated_at":"2018-08-01T09:42:28Z","pushed_at":"2018-08-01T12:13:31Z","git_url":"git://github.com/owncloud/core.git","ssh_url":"git@github.com:owncloud/core.git","clone_url":"https://github.com/owncloud/core.git","svn_url":"https://github.com/owncloud/core","homepage":"https://owncloud.org/","size":241069,"stargazers_count":6135,"watchers_count":6135,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1828,"mirror_url":null,"archived":false,"open_issues_count":1253,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1828,"open_issues":1253,"watchers":6135,"default_branch":"master"}},"base":{"label":"owncloud:master","ref":"master","sha":"843c405ae11fd320485fea1db937eb64a9497745","user":{"login":"owncloud","id":1645051,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDUwNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":5550552,"node_id":"MDEwOlJlcG9zaXRvcnk1NTUwNTUy","name":"core","full_name":"owncloud/core","owner":{"login":"owncloud","id":1645051,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDUwNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/core","description":":cloud: ownCloud web server core (Files, DAV, etc.)","fork":false,"url":"https://api.github.com/repos/owncloud/core","forks_url":"https://api.github.com/repos/owncloud/core/forks","keys_url":"https://api.github.com/repos/owncloud/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/core/teams","hooks_url":"https://api.github.com/repos/owncloud/core/hooks","issue_events_url":"https://api.github.com/repos/owncloud/core/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/core/events","assignees_url":"https://api.github.com/repos/owncloud/core/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/core/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/core/tags","blobs_url":"https://api.github.com/repos/owncloud/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/core/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/core/languages","stargazers_url":"https://api.github.com/repos/owncloud/core/stargazers","contributors_url":"https://api.github.com/repos/owncloud/core/contributors","subscribers_url":"https://api.github.com/repos/owncloud/core/subscribers","subscription_url":"https://api.github.com/repos/owncloud/core/subscription","commits_url":"https://api.github.com/repos/owncloud/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/core/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/core/merges","archive_url":"https://api.github.com/repos/owncloud/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/core/downloads","issues_url":"https://api.github.com/repos/owncloud/core/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/core/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/core/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/core/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/core/releases{/id}","deployments_url":"https://api.github.com/repos/owncloud/core/deployments","created_at":"2012-08-25T10:32:48Z","updated_at":"2018-08-01T09:42:28Z","pushed_at":"2018-08-01T12:13:31Z","git_url":"git://github.com/owncloud/core.git","ssh_url":"git@github.com:owncloud/core.git","clone_url":"https://github.com/owncloud/core.git","svn_url":"https://github.com/owncloud/core","homepage":"https://owncloud.org/","size":241069,"stargazers_count":6135,"watchers_count":6135,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1828,"mirror_url":null,"archived":false,"open_issues_count":1253,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1828,"open_issues":1253,"watchers":6135,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owncloud/core/pulls/32113"},"html":{"href":"https://github.com/owncloud/core/pull/32113"},"issue":{"href":"https://api.github.com/repos/owncloud/core/issues/32113"},"comments":{"href":"https://api.github.com/repos/owncloud/core/issues/32113/comments"},"review_comments":{"href":"https://api.github.com/repos/owncloud/core/pulls/32113/comments"},"review_comment":{"href":"https://api.github.com/repos/owncloud/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owncloud/core/pulls/32113/commits"},"statuses":{"href":"https://api.github.com/repos/owncloud/core/statuses/18b0d0273811d4111b1e701811c0671f2980586e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"VicDeo"}}