{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments/186514141","pull_request_review_id":118107791,"id":186514141,"diff_hunk":"@@ -0,0 +1,80 @@\n+package tc\n+\n+import \"time\"\n+\n+/*\n+\n+   Licensed under the Apache License, Version 2.0 (the \"License\");\n+   you may not use this file except in compliance with the License.\n+   You may obtain a copy of the License at\n+\n+   http://www.apache.org/licenses/LICENSE-2.0\n+\n+   Unless required by applicable law or agreed to in writing, software\n+   distributed under the License is distributed on an \"AS IS\" BASIS,\n+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+   See the License for the specific language governing permissions and\n+   limitations under the License.\n+*/\n+\n+// DeliveryServiceServerResponse ...\n+type DeliveryServiceServerResponse struct {\n+\tResponse []DeliveryServiceServer `json:\"response\"`\n+\tSize     int                     `json:\"size\"`\n+\tOrderBy  string                  `json:\"orderby\"`\n+\tLimit    int                     `json:\"limit\"`\n+}\n+\n+// DeliveryServiceServer ...\n+type DeliveryServiceServer struct {\n+\tServer          *int             `json:\"server\"`\n+\tDeliveryService *int             `json:\"deliveryService\"`\n+\tLastUpdated     *TimeNoMod       `json:\"lastUpdated\" db:\"last_updated\"`\n+}\n+\n+\n+type DssServer struct {","path":"lib/go-tc/deliveryservice_servers.go","position":36,"original_position":36,"commit_id":"d138f607aa2b30da38e467920ca767fc3fa0cf5f","original_commit_id":"d138f607aa2b30da38e467920ca767fc3fa0cf5f","user":{"login":"rob05c","id":5113421,"avatar_url":"https://avatars3.githubusercontent.com/u/5113421?v=4","gravatar_id":"","url":"https://api.github.com/users/rob05c","html_url":"https://github.com/rob05c","followers_url":"https://api.github.com/users/rob05c/followers","following_url":"https://api.github.com/users/rob05c/following{/other_user}","gists_url":"https://api.github.com/users/rob05c/gists{/gist_id}","starred_url":"https://api.github.com/users/rob05c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob05c/subscriptions","organizations_url":"https://api.github.com/users/rob05c/orgs","repos_url":"https://api.github.com/users/rob05c/repos","events_url":"https://api.github.com/users/rob05c/events{/privacy}","received_events_url":"https://api.github.com/users/rob05c/received_events","type":"User","site_admin":false},"body":"Go names should have abbreviations consistently cased (all caps, or all lower). This should be `DSSServer`","created_at":"2018-05-07T18:52:15Z","updated_at":"2018-05-07T18:52:15Z","html_url":"https://github.com/apache/incubator-trafficcontrol/pull/2228#discussion_r186514141","pull_request_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2228","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments/186514141"},"html":{"href":"https://github.com/apache/incubator-trafficcontrol/pull/2228#discussion_r186514141"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2228"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2228","id":186110936,"html_url":"https://github.com/apache/incubator-trafficcontrol/pull/2228","diff_url":"https://github.com/apache/incubator-trafficcontrol/pull/2228.diff","patch_url":"https://github.com/apache/incubator-trafficcontrol/pull/2228.patch","issue_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/2228","number":2228,"state":"open","locked":false,"title":"Added the Get API in Go for the DeliveryserviceServers endpoint","user":{"login":"ajschmidt","id":3253742,"avatar_url":"https://avatars3.githubusercontent.com/u/3253742?v=4","gravatar_id":"","url":"https://api.github.com/users/ajschmidt","html_url":"https://github.com/ajschmidt","followers_url":"https://api.github.com/users/ajschmidt/followers","following_url":"https://api.github.com/users/ajschmidt/following{/other_user}","gists_url":"https://api.github.com/users/ajschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/ajschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajschmidt/subscriptions","organizations_url":"https://api.github.com/users/ajschmidt/orgs","repos_url":"https://api.github.com/users/ajschmidt/repos","events_url":"https://api.github.com/users/ajschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/ajschmidt/received_events","type":"User","site_admin":false},"body":"This is the first of 6 methods in the API.  More to come. ","created_at":"2018-05-04T21:43:18Z","updated_at":"2018-05-07T18:52:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45c1d905a4a3c800bf697b25f73b114feca163f2","assignee":{"login":"rob05c","id":5113421,"avatar_url":"https://avatars3.githubusercontent.com/u/5113421?v=4","gravatar_id":"","url":"https://api.github.com/users/rob05c","html_url":"https://github.com/rob05c","followers_url":"https://api.github.com/users/rob05c/followers","following_url":"https://api.github.com/users/rob05c/following{/other_user}","gists_url":"https://api.github.com/users/rob05c/gists{/gist_id}","starred_url":"https://api.github.com/users/rob05c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob05c/subscriptions","organizations_url":"https://api.github.com/users/rob05c/orgs","repos_url":"https://api.github.com/users/rob05c/repos","events_url":"https://api.github.com/users/rob05c/events{/privacy}","received_events_url":"https://api.github.com/users/rob05c/received_events","type":"User","site_admin":false},"assignees":[{"login":"rob05c","id":5113421,"avatar_url":"https://avatars3.githubusercontent.com/u/5113421?v=4","gravatar_id":"","url":"https://api.github.com/users/rob05c","html_url":"https://github.com/rob05c","followers_url":"https://api.github.com/users/rob05c/followers","following_url":"https://api.github.com/users/rob05c/following{/other_user}","gists_url":"https://api.github.com/users/rob05c/gists{/gist_id}","starred_url":"https://api.github.com/users/rob05c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob05c/subscriptions","organizations_url":"https://api.github.com/users/rob05c/orgs","repos_url":"https://api.github.com/users/rob05c/repos","events_url":"https://api.github.com/users/rob05c/events{/privacy}","received_events_url":"https://api.github.com/users/rob05c/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2228/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2228/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/2228/comments","statuses_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/statuses/d138f607aa2b30da38e467920ca767fc3fa0cf5f","head":{"label":"ajschmidt:dssGet","ref":"dssGet","sha":"d138f607aa2b30da38e467920ca767fc3fa0cf5f","user":{"login":"ajschmidt","id":3253742,"avatar_url":"https://avatars3.githubusercontent.com/u/3253742?v=4","gravatar_id":"","url":"https://api.github.com/users/ajschmidt","html_url":"https://github.com/ajschmidt","followers_url":"https://api.github.com/users/ajschmidt/followers","following_url":"https://api.github.com/users/ajschmidt/following{/other_user}","gists_url":"https://api.github.com/users/ajschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/ajschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajschmidt/subscriptions","organizations_url":"https://api.github.com/users/ajschmidt/orgs","repos_url":"https://api.github.com/users/ajschmidt/repos","events_url":"https://api.github.com/users/ajschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/ajschmidt/received_events","type":"User","site_admin":false},"repo":{"id":113892352,"name":"incubator-trafficcontrol","full_name":"ajschmidt/incubator-trafficcontrol","owner":{"login":"ajschmidt","id":3253742,"avatar_url":"https://avatars3.githubusercontent.com/u/3253742?v=4","gravatar_id":"","url":"https://api.github.com/users/ajschmidt","html_url":"https://github.com/ajschmidt","followers_url":"https://api.github.com/users/ajschmidt/followers","following_url":"https://api.github.com/users/ajschmidt/following{/other_user}","gists_url":"https://api.github.com/users/ajschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/ajschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajschmidt/subscriptions","organizations_url":"https://api.github.com/users/ajschmidt/orgs","repos_url":"https://api.github.com/users/ajschmidt/repos","events_url":"https://api.github.com/users/ajschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/ajschmidt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajschmidt/incubator-trafficcontrol","description":"Mirror of Apache Traffic Control (incubating)","fork":true,"url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol","forks_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/forks","keys_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/teams","hooks_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/hooks","issue_events_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/issues/events{/number}","events_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/events","assignees_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/assignees{/user}","branches_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/branches{/branch}","tags_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/tags","blobs_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/statuses/{sha}","languages_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/languages","stargazers_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/stargazers","contributors_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/contributors","subscribers_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/subscribers","subscription_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/subscription","commits_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/contents/{+path}","compare_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/merges","archive_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/downloads","issues_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/issues{/number}","pulls_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/pulls{/number}","milestones_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/milestones{/number}","notifications_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/labels{/name}","releases_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/releases{/id}","deployments_url":"https://api.github.com/repos/ajschmidt/incubator-trafficcontrol/deployments","created_at":"2017-12-11T18:12:27Z","updated_at":"2018-05-04T21:08:47Z","pushed_at":"2018-05-07T18:19:34Z","git_url":"git://github.com/ajschmidt/incubator-trafficcontrol.git","ssh_url":"git@github.com:ajschmidt/incubator-trafficcontrol.git","clone_url":"https://github.com/ajschmidt/incubator-trafficcontrol.git","svn_url":"https://github.com/ajschmidt/incubator-trafficcontrol","homepage":null,"size":71710,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"87e96129ff82674186690f8301bb39e662109390","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":67198520,"name":"incubator-trafficcontrol","full_name":"apache/incubator-trafficcontrol","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-trafficcontrol","description":"Mirror of Apache Traffic Control (incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-trafficcontrol","forks_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/forks","keys_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/teams","hooks_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/events","assignees_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/tags","blobs_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/subscription","commits_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/merges","archive_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/downloads","issues_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/deployments","created_at":"2016-09-02T07:00:06Z","updated_at":"2018-05-07T17:37:27Z","pushed_at":"2018-05-07T18:19:35Z","git_url":"git://github.com/apache/incubator-trafficcontrol.git","ssh_url":"git@github.com:apache/incubator-trafficcontrol.git","clone_url":"https://github.com/apache/incubator-trafficcontrol.git","svn_url":"https://github.com/apache/incubator-trafficcontrol","homepage":null,"size":71626,"stargazers_count":125,"watchers_count":125,"language":"Perl","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":440,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":105,"open_issues":440,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2228"},"html":{"href":"https://github.com/apache/incubator-trafficcontrol/pull/2228"},"issue":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/2228"},"comments":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/2228/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2228/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/2228/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/statuses/d138f607aa2b30da38e467920ca767fc3fa0cf5f"}},"author_association":"NONE"}}
{"actor":{"display_login":"rob05c"}}