{"action":"created","comment":{"url":"https://api.github.com/repos/LykkeCity/MT/pulls/comments/172056845","pull_request_review_id":101005300,"id":172056845,"diff_hunk":"@@ -0,0 +1,65 @@\n+﻿using System.Threading.Tasks;\n+using MarginTrading.Backend.Contracts;\n+using MarginTrading.Backend.Contracts.AssetPairSettings;\n+using MarginTrading.Backend.Core;\n+using MarginTrading.Backend.Services.AssetPairs;\n+using MarginTrading.Common.Middleware;\n+using MarginTrading.Common.Services;\n+using Microsoft.AspNetCore.Authorization;\n+using Microsoft.AspNetCore.Mvc;\n+\n+namespace MarginTrading.Backend.Controllers\n+{\n+    [Route(\"api/[controller]\"), Authorize, MiddlewareFilter(typeof(RequestLoggingPipeline))]\n+    public class AssetPairSettingsController : Controller, IAssetPairSettingsEditingApi\n+    {\n+        private readonly IConvertService _convertService;\n+        private readonly IAssetPairsManager _assetPairsManager;\n+\n+        public AssetPairSettingsController(IConvertService convertService, IAssetPairsManager assetPairsManager)\n+        {\n+            _convertService = convertService;\n+            _assetPairsManager = assetPairsManager;\n+        }\n+","path":"src/MarginTrading.Backend/Controllers/AssetPairSettingsController.cs","position":24,"original_position":24,"commit_id":"81b02bc39d0643ee4a97ac5fe4f7342ad7d031d9","original_commit_id":"1a83f4dc14e9eee045d3a721f84114837a79c403","user":{"login":"GSailen","id":3401283,"avatar_url":"https://avatars2.githubusercontent.com/u/3401283?v=4","gravatar_id":"","url":"https://api.github.com/users/GSailen","html_url":"https://github.com/GSailen","followers_url":"https://api.github.com/users/GSailen/followers","following_url":"https://api.github.com/users/GSailen/following{/other_user}","gists_url":"https://api.github.com/users/GSailen/gists{/gist_id}","starred_url":"https://api.github.com/users/GSailen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSailen/subscriptions","organizations_url":"https://api.github.com/users/GSailen/orgs","repos_url":"https://api.github.com/users/GSailen/repos","events_url":"https://api.github.com/users/GSailen/events{/privacy}","received_events_url":"https://api.github.com/users/GSailen/received_events","type":"User","site_admin":false},"body":"Maybe it is reasonable to add READ action. When using swagger you just can't see what's in the cache.","created_at":"2018-03-04T17:29:48Z","updated_at":"2018-03-04T17:43:15Z","html_url":"https://github.com/LykkeCity/MT/pull/111#discussion_r172056845","pull_request_url":"https://api.github.com/repos/LykkeCity/MT/pulls/111","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/LykkeCity/MT/pulls/comments/172056845"},"html":{"href":"https://github.com/LykkeCity/MT/pull/111#discussion_r172056845"},"pull_request":{"href":"https://api.github.com/repos/LykkeCity/MT/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/LykkeCity/MT/pulls/111","id":172712533,"html_url":"https://github.com/LykkeCity/MT/pull/111","diff_url":"https://github.com/LykkeCity/MT/pull/111.diff","patch_url":"https://github.com/LykkeCity/MT/pull/111.patch","issue_url":"https://api.github.com/repos/LykkeCity/MT/issues/111","number":111,"state":"open","locked":false,"title":"Feature lwdev 5940 asset pairs settings","user":{"login":"mihail-yartsev","id":30798026,"avatar_url":"https://avatars0.githubusercontent.com/u/30798026?v=4","gravatar_id":"","url":"https://api.github.com/users/mihail-yartsev","html_url":"https://github.com/mihail-yartsev","followers_url":"https://api.github.com/users/mihail-yartsev/followers","following_url":"https://api.github.com/users/mihail-yartsev/following{/other_user}","gists_url":"https://api.github.com/users/mihail-yartsev/gists{/gist_id}","starred_url":"https://api.github.com/users/mihail-yartsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihail-yartsev/subscriptions","organizations_url":"https://api.github.com/users/mihail-yartsev/orgs","repos_url":"https://api.github.com/users/mihail-yartsev/repos","events_url":"https://api.github.com/users/mihail-yartsev/events{/privacy}","received_events_url":"https://api.github.com/users/mihail-yartsev/received_events","type":"User","site_admin":false},"body":"Please note that this branch is based on not yet merged LWDEV-5775.\r\nOnly the 2 last commits are to be reviewed here.","created_at":"2018-03-04T10:22:59Z","updated_at":"2018-03-04T17:43:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LykkeCity/MT/pulls/111/commits","review_comments_url":"https://api.github.com/repos/LykkeCity/MT/pulls/111/comments","review_comment_url":"https://api.github.com/repos/LykkeCity/MT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LykkeCity/MT/issues/111/comments","statuses_url":"https://api.github.com/repos/LykkeCity/MT/statuses/81b02bc39d0643ee4a97ac5fe4f7342ad7d031d9","head":{"label":"LykkeCity:feature_LWDEV-5940-asset-pairs-settings","ref":"feature_LWDEV-5940-asset-pairs-settings","sha":"81b02bc39d0643ee4a97ac5fe4f7342ad7d031d9","user":{"login":"LykkeCity","id":14153330,"avatar_url":"https://avatars0.githubusercontent.com/u/14153330?v=4","gravatar_id":"","url":"https://api.github.com/users/LykkeCity","html_url":"https://github.com/LykkeCity","followers_url":"https://api.github.com/users/LykkeCity/followers","following_url":"https://api.github.com/users/LykkeCity/following{/other_user}","gists_url":"https://api.github.com/users/LykkeCity/gists{/gist_id}","starred_url":"https://api.github.com/users/LykkeCity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LykkeCity/subscriptions","organizations_url":"https://api.github.com/users/LykkeCity/orgs","repos_url":"https://api.github.com/users/LykkeCity/repos","events_url":"https://api.github.com/users/LykkeCity/events{/privacy}","received_events_url":"https://api.github.com/users/LykkeCity/received_events","type":"Organization","site_admin":false},"repo":{"id":90738587,"name":"MT","full_name":"LykkeCity/MT","owner":{"login":"LykkeCity","id":14153330,"avatar_url":"https://avatars0.githubusercontent.com/u/14153330?v=4","gravatar_id":"","url":"https://api.github.com/users/LykkeCity","html_url":"https://github.com/LykkeCity","followers_url":"https://api.github.com/users/LykkeCity/followers","following_url":"https://api.github.com/users/LykkeCity/following{/other_user}","gists_url":"https://api.github.com/users/LykkeCity/gists{/gist_id}","starred_url":"https://api.github.com/users/LykkeCity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LykkeCity/subscriptions","organizations_url":"https://api.github.com/users/LykkeCity/orgs","repos_url":"https://api.github.com/users/LykkeCity/repos","events_url":"https://api.github.com/users/LykkeCity/events{/privacy}","received_events_url":"https://api.github.com/users/LykkeCity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LykkeCity/MT","description":"Margin Trading Platform","fork":false,"url":"https://api.github.com/repos/LykkeCity/MT","forks_url":"https://api.github.com/repos/LykkeCity/MT/forks","keys_url":"https://api.github.com/repos/LykkeCity/MT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LykkeCity/MT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LykkeCity/MT/teams","hooks_url":"https://api.github.com/repos/LykkeCity/MT/hooks","issue_events_url":"https://api.github.com/repos/LykkeCity/MT/issues/events{/number}","events_url":"https://api.github.com/repos/LykkeCity/MT/events","assignees_url":"https://api.github.com/repos/LykkeCity/MT/assignees{/user}","branches_url":"https://api.github.com/repos/LykkeCity/MT/branches{/branch}","tags_url":"https://api.github.com/repos/LykkeCity/MT/tags","blobs_url":"https://api.github.com/repos/LykkeCity/MT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LykkeCity/MT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LykkeCity/MT/git/refs{/sha}","trees_url":"https://api.github.com/repos/LykkeCity/MT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LykkeCity/MT/statuses/{sha}","languages_url":"https://api.github.com/repos/LykkeCity/MT/languages","stargazers_url":"https://api.github.com/repos/LykkeCity/MT/stargazers","contributors_url":"https://api.github.com/repos/LykkeCity/MT/contributors","subscribers_url":"https://api.github.com/repos/LykkeCity/MT/subscribers","subscription_url":"https://api.github.com/repos/LykkeCity/MT/subscription","commits_url":"https://api.github.com/repos/LykkeCity/MT/commits{/sha}","git_commits_url":"https://api.github.com/repos/LykkeCity/MT/git/commits{/sha}","comments_url":"https://api.github.com/repos/LykkeCity/MT/comments{/number}","issue_comment_url":"https://api.github.com/repos/LykkeCity/MT/issues/comments{/number}","contents_url":"https://api.github.com/repos/LykkeCity/MT/contents/{+path}","compare_url":"https://api.github.com/repos/LykkeCity/MT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LykkeCity/MT/merges","archive_url":"https://api.github.com/repos/LykkeCity/MT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LykkeCity/MT/downloads","issues_url":"https://api.github.com/repos/LykkeCity/MT/issues{/number}","pulls_url":"https://api.github.com/repos/LykkeCity/MT/pulls{/number}","milestones_url":"https://api.github.com/repos/LykkeCity/MT/milestones{/number}","notifications_url":"https://api.github.com/repos/LykkeCity/MT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LykkeCity/MT/labels{/name}","releases_url":"https://api.github.com/repos/LykkeCity/MT/releases{/id}","deployments_url":"https://api.github.com/repos/LykkeCity/MT/deployments","created_at":"2017-05-09T11:34:43Z","updated_at":"2018-02-28T15:14:58Z","pushed_at":"2018-03-04T15:17:15Z","git_url":"git://github.com/LykkeCity/MT.git","ssh_url":"git@github.com:LykkeCity/MT.git","clone_url":"https://github.com/LykkeCity/MT.git","svn_url":"https://github.com/LykkeCity/MT","homepage":null,"size":2144,"stargazers_count":7,"watchers_count":7,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":6,"watchers":7,"default_branch":"master"}},"base":{"label":"LykkeCity:master","ref":"master","sha":"e7c50fa0f60a791af44d0cc046abca63d446804f","user":{"login":"LykkeCity","id":14153330,"avatar_url":"https://avatars0.githubusercontent.com/u/14153330?v=4","gravatar_id":"","url":"https://api.github.com/users/LykkeCity","html_url":"https://github.com/LykkeCity","followers_url":"https://api.github.com/users/LykkeCity/followers","following_url":"https://api.github.com/users/LykkeCity/following{/other_user}","gists_url":"https://api.github.com/users/LykkeCity/gists{/gist_id}","starred_url":"https://api.github.com/users/LykkeCity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LykkeCity/subscriptions","organizations_url":"https://api.github.com/users/LykkeCity/orgs","repos_url":"https://api.github.com/users/LykkeCity/repos","events_url":"https://api.github.com/users/LykkeCity/events{/privacy}","received_events_url":"https://api.github.com/users/LykkeCity/received_events","type":"Organization","site_admin":false},"repo":{"id":90738587,"name":"MT","full_name":"LykkeCity/MT","owner":{"login":"LykkeCity","id":14153330,"avatar_url":"https://avatars0.githubusercontent.com/u/14153330?v=4","gravatar_id":"","url":"https://api.github.com/users/LykkeCity","html_url":"https://github.com/LykkeCity","followers_url":"https://api.github.com/users/LykkeCity/followers","following_url":"https://api.github.com/users/LykkeCity/following{/other_user}","gists_url":"https://api.github.com/users/LykkeCity/gists{/gist_id}","starred_url":"https://api.github.com/users/LykkeCity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LykkeCity/subscriptions","organizations_url":"https://api.github.com/users/LykkeCity/orgs","repos_url":"https://api.github.com/users/LykkeCity/repos","events_url":"https://api.github.com/users/LykkeCity/events{/privacy}","received_events_url":"https://api.github.com/users/LykkeCity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LykkeCity/MT","description":"Margin Trading Platform","fork":false,"url":"https://api.github.com/repos/LykkeCity/MT","forks_url":"https://api.github.com/repos/LykkeCity/MT/forks","keys_url":"https://api.github.com/repos/LykkeCity/MT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LykkeCity/MT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LykkeCity/MT/teams","hooks_url":"https://api.github.com/repos/LykkeCity/MT/hooks","issue_events_url":"https://api.github.com/repos/LykkeCity/MT/issues/events{/number}","events_url":"https://api.github.com/repos/LykkeCity/MT/events","assignees_url":"https://api.github.com/repos/LykkeCity/MT/assignees{/user}","branches_url":"https://api.github.com/repos/LykkeCity/MT/branches{/branch}","tags_url":"https://api.github.com/repos/LykkeCity/MT/tags","blobs_url":"https://api.github.com/repos/LykkeCity/MT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LykkeCity/MT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LykkeCity/MT/git/refs{/sha}","trees_url":"https://api.github.com/repos/LykkeCity/MT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LykkeCity/MT/statuses/{sha}","languages_url":"https://api.github.com/repos/LykkeCity/MT/languages","stargazers_url":"https://api.github.com/repos/LykkeCity/MT/stargazers","contributors_url":"https://api.github.com/repos/LykkeCity/MT/contributors","subscribers_url":"https://api.github.com/repos/LykkeCity/MT/subscribers","subscription_url":"https://api.github.com/repos/LykkeCity/MT/subscription","commits_url":"https://api.github.com/repos/LykkeCity/MT/commits{/sha}","git_commits_url":"https://api.github.com/repos/LykkeCity/MT/git/commits{/sha}","comments_url":"https://api.github.com/repos/LykkeCity/MT/comments{/number}","issue_comment_url":"https://api.github.com/repos/LykkeCity/MT/issues/comments{/number}","contents_url":"https://api.github.com/repos/LykkeCity/MT/contents/{+path}","compare_url":"https://api.github.com/repos/LykkeCity/MT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LykkeCity/MT/merges","archive_url":"https://api.github.com/repos/LykkeCity/MT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LykkeCity/MT/downloads","issues_url":"https://api.github.com/repos/LykkeCity/MT/issues{/number}","pulls_url":"https://api.github.com/repos/LykkeCity/MT/pulls{/number}","milestones_url":"https://api.github.com/repos/LykkeCity/MT/milestones{/number}","notifications_url":"https://api.github.com/repos/LykkeCity/MT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LykkeCity/MT/labels{/name}","releases_url":"https://api.github.com/repos/LykkeCity/MT/releases{/id}","deployments_url":"https://api.github.com/repos/LykkeCity/MT/deployments","created_at":"2017-05-09T11:34:43Z","updated_at":"2018-02-28T15:14:58Z","pushed_at":"2018-03-04T15:17:15Z","git_url":"git://github.com/LykkeCity/MT.git","ssh_url":"git@github.com:LykkeCity/MT.git","clone_url":"https://github.com/LykkeCity/MT.git","svn_url":"https://github.com/LykkeCity/MT","homepage":null,"size":2144,"stargazers_count":7,"watchers_count":7,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":6,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LykkeCity/MT/pulls/111"},"html":{"href":"https://github.com/LykkeCity/MT/pull/111"},"issue":{"href":"https://api.github.com/repos/LykkeCity/MT/issues/111"},"comments":{"href":"https://api.github.com/repos/LykkeCity/MT/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/LykkeCity/MT/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/LykkeCity/MT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LykkeCity/MT/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/LykkeCity/MT/statuses/81b02bc39d0643ee4a97ac5fe4f7342ad7d031d9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"GSailen"}}