{"action":"created","comment":{"url":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/comments/56615277","id":56615277,"diff_hunk":"@@ -117,30 +127,35 @@ HTTP-заголовки:\n \n    Client -> DiadocApi : /Authenticate?key=key&id=serviceUserId\n    Client <- DiadocApi : UTF8-строка (token)\n+   Client -> DiadocApi : можно использовать методы API с token\n \n 4. Аутентификация по сертификату (V1)\n \n .. uml::\n \n    Client -> DiadocApi : /Authenticate (тело запроса = X509 Certificate)\n-   Client <- DiadocApi : зашифрованный token\n+   Client <- DiadocApi : encriptedToken","path":"docs/source/http/Authenticate.rst","position":null,"original_position":87,"commit_id":"c4ec7664cf4b88cb3b5351846e01eb39f48d3c2c","original_commit_id":"35ff4571db12d4375abdbe7330507b50f6853709","user":{"login":"etwirt","id":10939352,"avatar_url":"https://avatars.githubusercontent.com/u/10939352?v=3","gravatar_id":"","url":"https://api.github.com/users/etwirt","html_url":"https://github.com/etwirt","followers_url":"https://api.github.com/users/etwirt/followers","following_url":"https://api.github.com/users/etwirt/following{/other_user}","gists_url":"https://api.github.com/users/etwirt/gists{/gist_id}","starred_url":"https://api.github.com/users/etwirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etwirt/subscriptions","organizations_url":"https://api.github.com/users/etwirt/orgs","repos_url":"https://api.github.com/users/etwirt/repos","events_url":"https://api.github.com/users/etwirt/events{/privacy}","received_events_url":"https://api.github.com/users/etwirt/received_events","type":"User","site_admin":false},"body":"encrypted","created_at":"2016-03-18T05:43:43Z","updated_at":"2016-03-18T05:43:43Z","html_url":"https://github.com/skbkontur/diadocsdk/pull/25#discussion_r56615277","pull_request_url":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/comments/56615277"},"html":{"href":"https://github.com/skbkontur/diadocsdk/pull/25#discussion_r56615277"},"pull_request":{"href":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/25","id":62539929,"html_url":"https://github.com/skbkontur/diadocsdk/pull/25","diff_url":"https://github.com/skbkontur/diadocsdk/pull/25.diff","patch_url":"https://github.com/skbkontur/diadocsdk/pull/25.patch","issue_url":"https://api.github.com/repos/skbkontur/diadocsdk/issues/25","number":25,"state":"open","locked":false,"title":"add docs for new authentication method with certificate and trusted service key","user":{"login":"halex2005","id":1401048,"avatar_url":"https://avatars.githubusercontent.com/u/1401048?v=3","gravatar_id":"","url":"https://api.github.com/users/halex2005","html_url":"https://github.com/halex2005","followers_url":"https://api.github.com/users/halex2005/followers","following_url":"https://api.github.com/users/halex2005/following{/other_user}","gists_url":"https://api.github.com/users/halex2005/gists{/gist_id}","starred_url":"https://api.github.com/users/halex2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halex2005/subscriptions","organizations_url":"https://api.github.com/users/halex2005/orgs","repos_url":"https://api.github.com/users/halex2005/repos","events_url":"https://api.github.com/users/halex2005/events{/privacy}","received_events_url":"https://api.github.com/users/halex2005/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-11T13:01:30Z","updated_at":"2016-03-18T05:43:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e11dda1089e32dc5d9466dd39b0f6a87994dfcd4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/25/commits","review_comments_url":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/25/comments","review_comment_url":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/skbkontur/diadocsdk/issues/25/comments","statuses_url":"https://api.github.com/repos/skbkontur/diadocsdk/statuses/c4ec7664cf4b88cb3b5351846e01eb39f48d3c2c","head":{"label":"halex2005:master","ref":"master","sha":"c4ec7664cf4b88cb3b5351846e01eb39f48d3c2c","user":{"login":"halex2005","id":1401048,"avatar_url":"https://avatars.githubusercontent.com/u/1401048?v=3","gravatar_id":"","url":"https://api.github.com/users/halex2005","html_url":"https://github.com/halex2005","followers_url":"https://api.github.com/users/halex2005/followers","following_url":"https://api.github.com/users/halex2005/following{/other_user}","gists_url":"https://api.github.com/users/halex2005/gists{/gist_id}","starred_url":"https://api.github.com/users/halex2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halex2005/subscriptions","organizations_url":"https://api.github.com/users/halex2005/orgs","repos_url":"https://api.github.com/users/halex2005/repos","events_url":"https://api.github.com/users/halex2005/events{/privacy}","received_events_url":"https://api.github.com/users/halex2005/received_events","type":"User","site_admin":false},"repo":{"id":45901346,"name":"diadocsdk","full_name":"halex2005/diadocsdk","owner":{"login":"halex2005","id":1401048,"avatar_url":"https://avatars.githubusercontent.com/u/1401048?v=3","gravatar_id":"","url":"https://api.github.com/users/halex2005","html_url":"https://github.com/halex2005","followers_url":"https://api.github.com/users/halex2005/followers","following_url":"https://api.github.com/users/halex2005/following{/other_user}","gists_url":"https://api.github.com/users/halex2005/gists{/gist_id}","starred_url":"https://api.github.com/users/halex2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halex2005/subscriptions","organizations_url":"https://api.github.com/users/halex2005/orgs","repos_url":"https://api.github.com/users/halex2005/repos","events_url":"https://api.github.com/users/halex2005/events{/privacy}","received_events_url":"https://api.github.com/users/halex2005/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/halex2005/diadocsdk","description":"SDK for http://diadoc.ru","fork":true,"url":"https://api.github.com/repos/halex2005/diadocsdk","forks_url":"https://api.github.com/repos/halex2005/diadocsdk/forks","keys_url":"https://api.github.com/repos/halex2005/diadocsdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/halex2005/diadocsdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/halex2005/diadocsdk/teams","hooks_url":"https://api.github.com/repos/halex2005/diadocsdk/hooks","issue_events_url":"https://api.github.com/repos/halex2005/diadocsdk/issues/events{/number}","events_url":"https://api.github.com/repos/halex2005/diadocsdk/events","assignees_url":"https://api.github.com/repos/halex2005/diadocsdk/assignees{/user}","branches_url":"https://api.github.com/repos/halex2005/diadocsdk/branches{/branch}","tags_url":"https://api.github.com/repos/halex2005/diadocsdk/tags","blobs_url":"https://api.github.com/repos/halex2005/diadocsdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/halex2005/diadocsdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/halex2005/diadocsdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/halex2005/diadocsdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/halex2005/diadocsdk/statuses/{sha}","languages_url":"https://api.github.com/repos/halex2005/diadocsdk/languages","stargazers_url":"https://api.github.com/repos/halex2005/diadocsdk/stargazers","contributors_url":"https://api.github.com/repos/halex2005/diadocsdk/contributors","subscribers_url":"https://api.github.com/repos/halex2005/diadocsdk/subscribers","subscription_url":"https://api.github.com/repos/halex2005/diadocsdk/subscription","commits_url":"https://api.github.com/repos/halex2005/diadocsdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/halex2005/diadocsdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/halex2005/diadocsdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/halex2005/diadocsdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/halex2005/diadocsdk/contents/{+path}","compare_url":"https://api.github.com/repos/halex2005/diadocsdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/halex2005/diadocsdk/merges","archive_url":"https://api.github.com/repos/halex2005/diadocsdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/halex2005/diadocsdk/downloads","issues_url":"https://api.github.com/repos/halex2005/diadocsdk/issues{/number}","pulls_url":"https://api.github.com/repos/halex2005/diadocsdk/pulls{/number}","milestones_url":"https://api.github.com/repos/halex2005/diadocsdk/milestones{/number}","notifications_url":"https://api.github.com/repos/halex2005/diadocsdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/halex2005/diadocsdk/labels{/name}","releases_url":"https://api.github.com/repos/halex2005/diadocsdk/releases{/id}","deployments_url":"https://api.github.com/repos/halex2005/diadocsdk/deployments","created_at":"2015-11-10T09:26:06Z","updated_at":"2016-01-29T06:42:31Z","pushed_at":"2016-03-18T05:26:24Z","git_url":"git://github.com/halex2005/diadocsdk.git","ssh_url":"git@github.com:halex2005/diadocsdk.git","clone_url":"https://github.com/halex2005/diadocsdk.git","svn_url":"https://github.com/halex2005/diadocsdk","homepage":"","size":5335,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"skbkontur:master","ref":"master","sha":"af9dee1fbda5dbebbe96d5931538b319de39b067","user":{"login":"skbkontur","id":5087073,"avatar_url":"https://avatars.githubusercontent.com/u/5087073?v=3","gravatar_id":"","url":"https://api.github.com/users/skbkontur","html_url":"https://github.com/skbkontur","followers_url":"https://api.github.com/users/skbkontur/followers","following_url":"https://api.github.com/users/skbkontur/following{/other_user}","gists_url":"https://api.github.com/users/skbkontur/gists{/gist_id}","starred_url":"https://api.github.com/users/skbkontur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skbkontur/subscriptions","organizations_url":"https://api.github.com/users/skbkontur/orgs","repos_url":"https://api.github.com/users/skbkontur/repos","events_url":"https://api.github.com/users/skbkontur/events{/privacy}","received_events_url":"https://api.github.com/users/skbkontur/received_events","type":"Organization","site_admin":false},"repo":{"id":27759875,"name":"diadocsdk","full_name":"skbkontur/diadocsdk","owner":{"login":"skbkontur","id":5087073,"avatar_url":"https://avatars.githubusercontent.com/u/5087073?v=3","gravatar_id":"","url":"https://api.github.com/users/skbkontur","html_url":"https://github.com/skbkontur","followers_url":"https://api.github.com/users/skbkontur/followers","following_url":"https://api.github.com/users/skbkontur/following{/other_user}","gists_url":"https://api.github.com/users/skbkontur/gists{/gist_id}","starred_url":"https://api.github.com/users/skbkontur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skbkontur/subscriptions","organizations_url":"https://api.github.com/users/skbkontur/orgs","repos_url":"https://api.github.com/users/skbkontur/repos","events_url":"https://api.github.com/users/skbkontur/events{/privacy}","received_events_url":"https://api.github.com/users/skbkontur/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/skbkontur/diadocsdk","description":"SDK for http://diadoc.ru","fork":false,"url":"https://api.github.com/repos/skbkontur/diadocsdk","forks_url":"https://api.github.com/repos/skbkontur/diadocsdk/forks","keys_url":"https://api.github.com/repos/skbkontur/diadocsdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skbkontur/diadocsdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skbkontur/diadocsdk/teams","hooks_url":"https://api.github.com/repos/skbkontur/diadocsdk/hooks","issue_events_url":"https://api.github.com/repos/skbkontur/diadocsdk/issues/events{/number}","events_url":"https://api.github.com/repos/skbkontur/diadocsdk/events","assignees_url":"https://api.github.com/repos/skbkontur/diadocsdk/assignees{/user}","branches_url":"https://api.github.com/repos/skbkontur/diadocsdk/branches{/branch}","tags_url":"https://api.github.com/repos/skbkontur/diadocsdk/tags","blobs_url":"https://api.github.com/repos/skbkontur/diadocsdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skbkontur/diadocsdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skbkontur/diadocsdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/skbkontur/diadocsdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skbkontur/diadocsdk/statuses/{sha}","languages_url":"https://api.github.com/repos/skbkontur/diadocsdk/languages","stargazers_url":"https://api.github.com/repos/skbkontur/diadocsdk/stargazers","contributors_url":"https://api.github.com/repos/skbkontur/diadocsdk/contributors","subscribers_url":"https://api.github.com/repos/skbkontur/diadocsdk/subscribers","subscription_url":"https://api.github.com/repos/skbkontur/diadocsdk/subscription","commits_url":"https://api.github.com/repos/skbkontur/diadocsdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/skbkontur/diadocsdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/skbkontur/diadocsdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/skbkontur/diadocsdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/skbkontur/diadocsdk/contents/{+path}","compare_url":"https://api.github.com/repos/skbkontur/diadocsdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skbkontur/diadocsdk/merges","archive_url":"https://api.github.com/repos/skbkontur/diadocsdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skbkontur/diadocsdk/downloads","issues_url":"https://api.github.com/repos/skbkontur/diadocsdk/issues{/number}","pulls_url":"https://api.github.com/repos/skbkontur/diadocsdk/pulls{/number}","milestones_url":"https://api.github.com/repos/skbkontur/diadocsdk/milestones{/number}","notifications_url":"https://api.github.com/repos/skbkontur/diadocsdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skbkontur/diadocsdk/labels{/name}","releases_url":"https://api.github.com/repos/skbkontur/diadocsdk/releases{/id}","deployments_url":"https://api.github.com/repos/skbkontur/diadocsdk/deployments","created_at":"2014-12-09T09:48:24Z","updated_at":"2016-02-09T08:56:06Z","pushed_at":"2016-03-18T05:21:17Z","git_url":"git://github.com/skbkontur/diadocsdk.git","ssh_url":"git@github.com:skbkontur/diadocsdk.git","clone_url":"https://github.com/skbkontur/diadocsdk.git","svn_url":"https://github.com/skbkontur/diadocsdk","homepage":"","size":5338,"stargazers_count":9,"watchers_count":9,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":2,"forks":18,"open_issues":2,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/25"},"html":{"href":"https://github.com/skbkontur/diadocsdk/pull/25"},"issue":{"href":"https://api.github.com/repos/skbkontur/diadocsdk/issues/25"},"comments":{"href":"https://api.github.com/repos/skbkontur/diadocsdk/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/skbkontur/diadocsdk/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/skbkontur/diadocsdk/statuses/c4ec7664cf4b88cb3b5351846e01eb39f48d3c2c"}}}}