{"action":"created","comment":{"url":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/comments/228893525","pull_request_review_id":169260725,"id":228893525,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODg5MzUyNQ==","diff_hunk":"@@ -93,10 +93,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {\n             self.checkForUpdates()\n         }\n \n-        if AuthInfo.shared.isAuthorized {\n-            NotificationRegistrator.shared.registerForRemoteNotificationsIfAlreadyAsked()\n-        }\n-\n+        NotificationsRegistrationService().renewDeviceToken()","path":"Stepic/AppDelegate.swift","position":8,"original_position":8,"commit_id":"24bae79a474dd6206079d591267d63bd5156e4b3","original_commit_id":"24bae79a474dd6206079d591267d63bd5156e4b3","user":{"login":"vanyaland","id":8586063,"node_id":"MDQ6VXNlcjg1ODYwNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/8586063?v=4","gravatar_id":"","url":"https://api.github.com/users/vanyaland","html_url":"https://github.com/vanyaland","followers_url":"https://api.github.com/users/vanyaland/followers","following_url":"https://api.github.com/users/vanyaland/following{/other_user}","gists_url":"https://api.github.com/users/vanyaland/gists{/gist_id}","starred_url":"https://api.github.com/users/vanyaland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanyaland/subscriptions","organizations_url":"https://api.github.com/users/vanyaland/orgs","repos_url":"https://api.github.com/users/vanyaland/repos","events_url":"https://api.github.com/users/vanyaland/events{/privacy}","received_events_url":"https://api.github.com/users/vanyaland/received_events","type":"User","site_admin":false},"body":"Там состояние состоит из 2-х переменных: `delegate`, `presenter` и они как-бы используются, поэтому да, стоит вынести в проперти у делегата.","created_at":"2018-10-29T11:48:51Z","updated_at":"2018-10-29T11:48:51Z","html_url":"https://github.com/StepicOrg/stepik-ios/pull/394#discussion_r228893525","pull_request_url":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/394","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/comments/228893525"},"html":{"href":"https://github.com/StepicOrg/stepik-ios/pull/394#discussion_r228893525"},"pull_request":{"href":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/394"}},"in_reply_to_id":228887274},"pull_request":{"url":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/394","id":226487606,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NDg3NjA2","html_url":"https://github.com/StepicOrg/stepik-ios/pull/394","diff_url":"https://github.com/StepicOrg/stepik-ios/pull/394.diff","patch_url":"https://github.com/StepicOrg/stepik-ios/pull/394.patch","issue_url":"https://api.github.com/repos/StepicOrg/stepik-ios/issues/394","number":394,"state":"open","locked":false,"title":"Notifications registration service","user":{"login":"vanyaland","id":8586063,"node_id":"MDQ6VXNlcjg1ODYwNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/8586063?v=4","gravatar_id":"","url":"https://api.github.com/users/vanyaland","html_url":"https://github.com/vanyaland","followers_url":"https://api.github.com/users/vanyaland/followers","following_url":"https://api.github.com/users/vanyaland/following{/other_user}","gists_url":"https://api.github.com/users/vanyaland/gists{/gist_id}","starred_url":"https://api.github.com/users/vanyaland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanyaland/subscriptions","organizations_url":"https://api.github.com/users/vanyaland/orgs","repos_url":"https://api.github.com/users/vanyaland/repos","events_url":"https://api.github.com/users/vanyaland/events{/privacy}","received_events_url":"https://api.github.com/users/vanyaland/received_events","type":"User","site_admin":false},"body":"**Задача**: [#APPS-2058](https://vyahhi.myjetbrains.com/youtrack/issue/APPS-2058)\r\n\r\n**Описание**:\r\nДобавили сервис контроля доступа для пуш-нотификаций.\r\n\r\nЦентральное звено при регистарции с APNs - [NotificationsRegistrationServiceProtocol](https://github.com/StepicOrg/stepik-ios/blob/24bae79a474dd6206079d591267d63bd5156e4b3/Stepic/Services/Notifications/Registration/NotificationsRegistrationServiceProtocol.swift) и его реализация [NotificationsRegistrationService](https://github.com/StepicOrg/stepik-ios/blob/24bae79a474dd6206079d591267d63bd5156e4b3/Stepic/Services/Notifications/Registration/NotificationsRegistrationService.swift).\r\n\r\nСуществует 2 главных метода для старта процесса регистрации:\r\n- `renewDeviceToken()` - сервис будет пытаться соедениться с APNs, чтобы обновить токен устройства, только в том случае, если пользователь дал разрешение на получение пуш-уведомлений.\r\n- `registerForRemoteNotifications()` - тоже самое, что и выше, только при необходимости будет запрошено разрешение на получение пуш-уведомлений.\r\n- Остальные 3 метода используются в делегате приложения для обработки событий о статусе регистрации с APNs.\r\n\r\nКомпоненты, которые использует сервис регистрации:\r\n- `delegate` - для принятия решения о показе кастомного алерта и нотификации о состоянии в течении жизненного цикла.\r\n- `presenter` - показывает кастомные алерты перед запросом разрешения на получечение пуш-уведомлений или перед переходом в настройки приложения, когда пользователь отключил их. Есть единственная реализация презентера - [NotificationsRequestAlertPresenter](https://github.com/StepicOrg/stepik-ios/blob/24bae79a474dd6206079d591267d63bd5156e4b3/Stepic/NotificationsRequestAlertPresenter.swift).","created_at":"2018-10-29T09:25:43Z","updated_at":"2018-10-29T11:48:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d70fbf2b33d24566e5ce3a0343baf412db49446","assignee":{"login":"vanyaland","id":8586063,"node_id":"MDQ6VXNlcjg1ODYwNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/8586063?v=4","gravatar_id":"","url":"https://api.github.com/users/vanyaland","html_url":"https://github.com/vanyaland","followers_url":"https://api.github.com/users/vanyaland/followers","following_url":"https://api.github.com/users/vanyaland/following{/other_user}","gists_url":"https://api.github.com/users/vanyaland/gists{/gist_id}","starred_url":"https://api.github.com/users/vanyaland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanyaland/subscriptions","organizations_url":"https://api.github.com/users/vanyaland/orgs","repos_url":"https://api.github.com/users/vanyaland/repos","events_url":"https://api.github.com/users/vanyaland/events{/privacy}","received_events_url":"https://api.github.com/users/vanyaland/received_events","type":"User","site_admin":false},"assignees":[{"login":"vanyaland","id":8586063,"node_id":"MDQ6VXNlcjg1ODYwNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/8586063?v=4","gravatar_id":"","url":"https://api.github.com/users/vanyaland","html_url":"https://github.com/vanyaland","followers_url":"https://api.github.com/users/vanyaland/followers","following_url":"https://api.github.com/users/vanyaland/following{/other_user}","gists_url":"https://api.github.com/users/vanyaland/gists{/gist_id}","starred_url":"https://api.github.com/users/vanyaland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanyaland/subscriptions","organizations_url":"https://api.github.com/users/vanyaland/orgs","repos_url":"https://api.github.com/users/vanyaland/repos","events_url":"https://api.github.com/users/vanyaland/events{/privacy}","received_events_url":"https://api.github.com/users/vanyaland/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":662974470,"node_id":"MDU6TGFiZWw2NjI5NzQ0NzA=","url":"https://api.github.com/repos/StepicOrg/stepik-ios/labels/main","name":"main","color":"66cc66","default":false},{"id":1006865893,"node_id":"MDU6TGFiZWwxMDA2ODY1ODkz","url":"https://api.github.com/repos/StepicOrg/stepik-ios/labels/wip%20%E2%8F%B3","name":"wip ⏳","color":"d93f0b","default":false}],"milestone":{"url":"https://api.github.com/repos/StepicOrg/stepik-ios/milestones/33","html_url":"https://github.com/StepicOrg/stepik-ios/milestone/33","labels_url":"https://api.github.com/repos/StepicOrg/stepik-ios/milestones/33/labels","id":3748853,"node_id":"MDk6TWlsZXN0b25lMzc0ODg1Mw==","number":33,"title":"1.71","description":"","creator":{"login":"kvld","id":1695403,"node_id":"MDQ6VXNlcjE2OTU0MDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1695403?v=4","gravatar_id":"","url":"https://api.github.com/users/kvld","html_url":"https://github.com/kvld","followers_url":"https://api.github.com/users/kvld/followers","following_url":"https://api.github.com/users/kvld/following{/other_user}","gists_url":"https://api.github.com/users/kvld/gists{/gist_id}","starred_url":"https://api.github.com/users/kvld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvld/subscriptions","organizations_url":"https://api.github.com/users/kvld/orgs","repos_url":"https://api.github.com/users/kvld/repos","events_url":"https://api.github.com/users/kvld/events{/privacy}","received_events_url":"https://api.github.com/users/kvld/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2018-10-18T09:15:26Z","updated_at":"2018-10-29T09:25:43Z","due_on":"2018-11-01T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/394/commits","review_comments_url":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/394/comments","review_comment_url":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StepicOrg/stepik-ios/issues/394/comments","statuses_url":"https://api.github.com/repos/StepicOrg/stepik-ios/statuses/24bae79a474dd6206079d591267d63bd5156e4b3","head":{"label":"StepicOrg:feature/notifications-permission-service","ref":"feature/notifications-permission-service","sha":"24bae79a474dd6206079d591267d63bd5156e4b3","user":{"login":"StepicOrg","id":6727350,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3MjczNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6727350?v=4","gravatar_id":"","url":"https://api.github.com/users/StepicOrg","html_url":"https://github.com/StepicOrg","followers_url":"https://api.github.com/users/StepicOrg/followers","following_url":"https://api.github.com/users/StepicOrg/following{/other_user}","gists_url":"https://api.github.com/users/StepicOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/StepicOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StepicOrg/subscriptions","organizations_url":"https://api.github.com/users/StepicOrg/orgs","repos_url":"https://api.github.com/users/StepicOrg/repos","events_url":"https://api.github.com/users/StepicOrg/events{/privacy}","received_events_url":"https://api.github.com/users/StepicOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":42045080,"node_id":"MDEwOlJlcG9zaXRvcnk0MjA0NTA4MA==","name":"stepik-ios","full_name":"StepicOrg/stepik-ios","private":false,"owner":{"login":"StepicOrg","id":6727350,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3MjczNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6727350?v=4","gravatar_id":"","url":"https://api.github.com/users/StepicOrg","html_url":"https://github.com/StepicOrg","followers_url":"https://api.github.com/users/StepicOrg/followers","following_url":"https://api.github.com/users/StepicOrg/following{/other_user}","gists_url":"https://api.github.com/users/StepicOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/StepicOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StepicOrg/subscriptions","organizations_url":"https://api.github.com/users/StepicOrg/orgs","repos_url":"https://api.github.com/users/StepicOrg/repos","events_url":"https://api.github.com/users/StepicOrg/events{/privacy}","received_events_url":"https://api.github.com/users/StepicOrg/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/StepicOrg/stepik-ios","description":"iOS application of online education platform","fork":false,"url":"https://api.github.com/repos/StepicOrg/stepik-ios","forks_url":"https://api.github.com/repos/StepicOrg/stepik-ios/forks","keys_url":"https://api.github.com/repos/StepicOrg/stepik-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StepicOrg/stepik-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StepicOrg/stepik-ios/teams","hooks_url":"https://api.github.com/repos/StepicOrg/stepik-ios/hooks","issue_events_url":"https://api.github.com/repos/StepicOrg/stepik-ios/issues/events{/number}","events_url":"https://api.github.com/repos/StepicOrg/stepik-ios/events","assignees_url":"https://api.github.com/repos/StepicOrg/stepik-ios/assignees{/user}","branches_url":"https://api.github.com/repos/StepicOrg/stepik-ios/branches{/branch}","tags_url":"https://api.github.com/repos/StepicOrg/stepik-ios/tags","blobs_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StepicOrg/stepik-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/StepicOrg/stepik-ios/languages","stargazers_url":"https://api.github.com/repos/StepicOrg/stepik-ios/stargazers","contributors_url":"https://api.github.com/repos/StepicOrg/stepik-ios/contributors","subscribers_url":"https://api.github.com/repos/StepicOrg/stepik-ios/subscribers","subscription_url":"https://api.github.com/repos/StepicOrg/stepik-ios/subscription","commits_url":"https://api.github.com/repos/StepicOrg/stepik-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/StepicOrg/stepik-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/StepicOrg/stepik-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/StepicOrg/stepik-ios/contents/{+path}","compare_url":"https://api.github.com/repos/StepicOrg/stepik-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StepicOrg/stepik-ios/merges","archive_url":"https://api.github.com/repos/StepicOrg/stepik-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StepicOrg/stepik-ios/downloads","issues_url":"https://api.github.com/repos/StepicOrg/stepik-ios/issues{/number}","pulls_url":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/StepicOrg/stepik-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/StepicOrg/stepik-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StepicOrg/stepik-ios/labels{/name}","releases_url":"https://api.github.com/repos/StepicOrg/stepik-ios/releases{/id}","deployments_url":"https://api.github.com/repos/StepicOrg/stepik-ios/deployments","created_at":"2015-09-07T09:51:32Z","updated_at":"2018-10-19T17:48:15Z","pushed_at":"2018-10-29T10:31:15Z","git_url":"git://github.com/StepicOrg/stepik-ios.git","ssh_url":"git@github.com:StepicOrg/stepik-ios.git","clone_url":"https://github.com/StepicOrg/stepik-ios.git","svn_url":"https://github.com/StepicOrg/stepik-ios","homepage":"https://stepik.org","size":78804,"stargazers_count":46,"watchers_count":46,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":17,"open_issues":8,"watchers":46,"default_branch":"master"}},"base":{"label":"StepicOrg:dev","ref":"dev","sha":"740d525b6a56541c5829682e4b6bfafcbc9cbf82","user":{"login":"StepicOrg","id":6727350,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3MjczNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6727350?v=4","gravatar_id":"","url":"https://api.github.com/users/StepicOrg","html_url":"https://github.com/StepicOrg","followers_url":"https://api.github.com/users/StepicOrg/followers","following_url":"https://api.github.com/users/StepicOrg/following{/other_user}","gists_url":"https://api.github.com/users/StepicOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/StepicOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StepicOrg/subscriptions","organizations_url":"https://api.github.com/users/StepicOrg/orgs","repos_url":"https://api.github.com/users/StepicOrg/repos","events_url":"https://api.github.com/users/StepicOrg/events{/privacy}","received_events_url":"https://api.github.com/users/StepicOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":42045080,"node_id":"MDEwOlJlcG9zaXRvcnk0MjA0NTA4MA==","name":"stepik-ios","full_name":"StepicOrg/stepik-ios","private":false,"owner":{"login":"StepicOrg","id":6727350,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3MjczNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6727350?v=4","gravatar_id":"","url":"https://api.github.com/users/StepicOrg","html_url":"https://github.com/StepicOrg","followers_url":"https://api.github.com/users/StepicOrg/followers","following_url":"https://api.github.com/users/StepicOrg/following{/other_user}","gists_url":"https://api.github.com/users/StepicOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/StepicOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StepicOrg/subscriptions","organizations_url":"https://api.github.com/users/StepicOrg/orgs","repos_url":"https://api.github.com/users/StepicOrg/repos","events_url":"https://api.github.com/users/StepicOrg/events{/privacy}","received_events_url":"https://api.github.com/users/StepicOrg/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/StepicOrg/stepik-ios","description":"iOS application of online education platform","fork":false,"url":"https://api.github.com/repos/StepicOrg/stepik-ios","forks_url":"https://api.github.com/repos/StepicOrg/stepik-ios/forks","keys_url":"https://api.github.com/repos/StepicOrg/stepik-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StepicOrg/stepik-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StepicOrg/stepik-ios/teams","hooks_url":"https://api.github.com/repos/StepicOrg/stepik-ios/hooks","issue_events_url":"https://api.github.com/repos/StepicOrg/stepik-ios/issues/events{/number}","events_url":"https://api.github.com/repos/StepicOrg/stepik-ios/events","assignees_url":"https://api.github.com/repos/StepicOrg/stepik-ios/assignees{/user}","branches_url":"https://api.github.com/repos/StepicOrg/stepik-ios/branches{/branch}","tags_url":"https://api.github.com/repos/StepicOrg/stepik-ios/tags","blobs_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StepicOrg/stepik-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/StepicOrg/stepik-ios/languages","stargazers_url":"https://api.github.com/repos/StepicOrg/stepik-ios/stargazers","contributors_url":"https://api.github.com/repos/StepicOrg/stepik-ios/contributors","subscribers_url":"https://api.github.com/repos/StepicOrg/stepik-ios/subscribers","subscription_url":"https://api.github.com/repos/StepicOrg/stepik-ios/subscription","commits_url":"https://api.github.com/repos/StepicOrg/stepik-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/StepicOrg/stepik-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/StepicOrg/stepik-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/StepicOrg/stepik-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/StepicOrg/stepik-ios/contents/{+path}","compare_url":"https://api.github.com/repos/StepicOrg/stepik-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StepicOrg/stepik-ios/merges","archive_url":"https://api.github.com/repos/StepicOrg/stepik-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StepicOrg/stepik-ios/downloads","issues_url":"https://api.github.com/repos/StepicOrg/stepik-ios/issues{/number}","pulls_url":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/StepicOrg/stepik-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/StepicOrg/stepik-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StepicOrg/stepik-ios/labels{/name}","releases_url":"https://api.github.com/repos/StepicOrg/stepik-ios/releases{/id}","deployments_url":"https://api.github.com/repos/StepicOrg/stepik-ios/deployments","created_at":"2015-09-07T09:51:32Z","updated_at":"2018-10-19T17:48:15Z","pushed_at":"2018-10-29T10:31:15Z","git_url":"git://github.com/StepicOrg/stepik-ios.git","ssh_url":"git@github.com:StepicOrg/stepik-ios.git","clone_url":"https://github.com/StepicOrg/stepik-ios.git","svn_url":"https://github.com/StepicOrg/stepik-ios","homepage":"https://stepik.org","size":78804,"stargazers_count":46,"watchers_count":46,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":17,"open_issues":8,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/394"},"html":{"href":"https://github.com/StepicOrg/stepik-ios/pull/394"},"issue":{"href":"https://api.github.com/repos/StepicOrg/stepik-ios/issues/394"},"comments":{"href":"https://api.github.com/repos/StepicOrg/stepik-ios/issues/394/comments"},"review_comments":{"href":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/394/comments"},"review_comment":{"href":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StepicOrg/stepik-ios/pulls/394/commits"},"statuses":{"href":"https://api.github.com/repos/StepicOrg/stepik-ios/statuses/24bae79a474dd6206079d591267d63bd5156e4b3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vanyaland"}}