{"action":"created","comment":{"url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/comments/132104938","pull_request_review_id":55149410,"id":132104938,"diff_hunk":"@@ -0,0 +1,41 @@\n+//\n+//  Api.Hot.swift\n+//  MyApp\n+//\n+//  Created by asiantech on 8/9/17.\n+//  Copyright © 2017 Asian Tech Co., Ltd. All rights reserved.\n+//\n+\n+import Foundation\n+import Alamofire\n+import ObjectMapper\n+\n+extension Api.Hot {\n+\n+    // MARK: - Properties\n+    struct QueryParams {\n+        let a: String\n+\n+        func toJson() -> Parameters {\n+            return [\n+                \"a\": a\n+            ]\n+        }\n+    }\n+\n+    @discardableResult\n+    static func query(params: QueryParams, completion: @escaping ([Item]) -> Void) -> Request? {\n+        let path = Api.Path.Hot()\n+\n+        return api.request(method: .get, urlString: path, parameters: params.toJson(), completion: { (result) in","path":"MyApp/Model/API/Core/Api.Hot.swift","position":30,"original_position":30,"commit_id":"a0a5bed5e2a13c4f1272b3fe3f16d38187ece53f","original_commit_id":"a0a5bed5e2a13c4f1272b3fe3f16d38187ece53f","user":{"login":"at-daiho","id":13515505,"avatar_url":"https://avatars2.githubusercontent.com/u/13515505?v=4","gravatar_id":"","url":"https://api.github.com/users/at-daiho","html_url":"https://github.com/at-daiho","followers_url":"https://api.github.com/users/at-daiho/followers","following_url":"https://api.github.com/users/at-daiho/following{/other_user}","gists_url":"https://api.github.com/users/at-daiho/gists{/gist_id}","starred_url":"https://api.github.com/users/at-daiho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-daiho/subscriptions","organizations_url":"https://api.github.com/users/at-daiho/orgs","repos_url":"https://api.github.com/users/at-daiho/repos","events_url":"https://api.github.com/users/at-daiho/events{/privacy}","received_events_url":"https://api.github.com/users/at-daiho/received_events","type":"User","site_admin":false},"body":"WARNING - Unused parameter \"result\" in a closure should be replaced with _.\n","created_at":"2017-08-09T07:08:36Z","updated_at":"2017-08-09T07:08:36Z","html_url":"https://github.com/blkbrds/intern09_final_project_tung_bien/pull/34#discussion_r132104938","pull_request_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/comments/132104938"},"html":{"href":"https://github.com/blkbrds/intern09_final_project_tung_bien/pull/34#discussion_r132104938"},"pull_request":{"href":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/34","id":134822279,"html_url":"https://github.com/blkbrds/intern09_final_project_tung_bien/pull/34","diff_url":"https://github.com/blkbrds/intern09_final_project_tung_bien/pull/34.diff","patch_url":"https://github.com/blkbrds/intern09_final_project_tung_bien/pull/34.patch","issue_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues/34","number":34,"state":"open","locked":false,"title":"feature - home api","user":{"login":"at-tungnguyen","id":29196769,"avatar_url":"https://avatars2.githubusercontent.com/u/29196769?v=4","gravatar_id":"","url":"https://api.github.com/users/at-tungnguyen","html_url":"https://github.com/at-tungnguyen","followers_url":"https://api.github.com/users/at-tungnguyen/followers","following_url":"https://api.github.com/users/at-tungnguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-tungnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-tungnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-tungnguyen/subscriptions","organizations_url":"https://api.github.com/users/at-tungnguyen/orgs","repos_url":"https://api.github.com/users/at-tungnguyen/repos","events_url":"https://api.github.com/users/at-tungnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-tungnguyen/received_events","type":"User","site_admin":false},"body":"#### Github Issue URL/Tags `(required)`\r\n#### What's this PR do? Please give a technical summary `(required)`\r\n- [x] create home api\r\n#### Any references (stackoverflow …) `(optional)`\r\n","created_at":"2017-08-09T06:56:57Z","updated_at":"2017-08-09T07:08:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c51a3bb8acf64930d170e5ed3f1559e6da29fc1","assignee":{"login":"at-linhvo","id":25501549,"avatar_url":"https://avatars3.githubusercontent.com/u/25501549?v=4","gravatar_id":"","url":"https://api.github.com/users/at-linhvo","html_url":"https://github.com/at-linhvo","followers_url":"https://api.github.com/users/at-linhvo/followers","following_url":"https://api.github.com/users/at-linhvo/following{/other_user}","gists_url":"https://api.github.com/users/at-linhvo/gists{/gist_id}","starred_url":"https://api.github.com/users/at-linhvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-linhvo/subscriptions","organizations_url":"https://api.github.com/users/at-linhvo/orgs","repos_url":"https://api.github.com/users/at-linhvo/repos","events_url":"https://api.github.com/users/at-linhvo/events{/privacy}","received_events_url":"https://api.github.com/users/at-linhvo/received_events","type":"User","site_admin":false},"assignees":[{"login":"at-linhvo","id":25501549,"avatar_url":"https://avatars3.githubusercontent.com/u/25501549?v=4","gravatar_id":"","url":"https://api.github.com/users/at-linhvo","html_url":"https://github.com/at-linhvo","followers_url":"https://api.github.com/users/at-linhvo/followers","following_url":"https://api.github.com/users/at-linhvo/following{/other_user}","gists_url":"https://api.github.com/users/at-linhvo/gists{/gist_id}","starred_url":"https://api.github.com/users/at-linhvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-linhvo/subscriptions","organizations_url":"https://api.github.com/users/at-linhvo/orgs","repos_url":"https://api.github.com/users/at-linhvo/repos","events_url":"https://api.github.com/users/at-linhvo/events{/privacy}","received_events_url":"https://api.github.com/users/at-linhvo/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"at-linhvo","id":25501549,"avatar_url":"https://avatars3.githubusercontent.com/u/25501549?v=4","gravatar_id":"","url":"https://api.github.com/users/at-linhvo","html_url":"https://github.com/at-linhvo","followers_url":"https://api.github.com/users/at-linhvo/followers","following_url":"https://api.github.com/users/at-linhvo/following{/other_user}","gists_url":"https://api.github.com/users/at-linhvo/gists{/gist_id}","starred_url":"https://api.github.com/users/at-linhvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-linhvo/subscriptions","organizations_url":"https://api.github.com/users/at-linhvo/orgs","repos_url":"https://api.github.com/users/at-linhvo/repos","events_url":"https://api.github.com/users/at-linhvo/events{/privacy}","received_events_url":"https://api.github.com/users/at-linhvo/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/34/commits","review_comments_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/34/comments","review_comment_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues/34/comments","statuses_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/statuses/a0a5bed5e2a13c4f1272b3fe3f16d38187ece53f","head":{"label":"blkbrds:feature/home-api","ref":"feature/home-api","sha":"a0a5bed5e2a13c4f1272b3fe3f16d38187ece53f","user":{"login":"blkbrds","id":28261672,"avatar_url":"https://avatars1.githubusercontent.com/u/28261672?v=4","gravatar_id":"","url":"https://api.github.com/users/blkbrds","html_url":"https://github.com/blkbrds","followers_url":"https://api.github.com/users/blkbrds/followers","following_url":"https://api.github.com/users/blkbrds/following{/other_user}","gists_url":"https://api.github.com/users/blkbrds/gists{/gist_id}","starred_url":"https://api.github.com/users/blkbrds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blkbrds/subscriptions","organizations_url":"https://api.github.com/users/blkbrds/orgs","repos_url":"https://api.github.com/users/blkbrds/repos","events_url":"https://api.github.com/users/blkbrds/events{/privacy}","received_events_url":"https://api.github.com/users/blkbrds/received_events","type":"Organization","site_admin":false},"repo":{"id":97538088,"name":"intern09_final_project_tung_bien","full_name":"blkbrds/intern09_final_project_tung_bien","owner":{"login":"blkbrds","id":28261672,"avatar_url":"https://avatars1.githubusercontent.com/u/28261672?v=4","gravatar_id":"","url":"https://api.github.com/users/blkbrds","html_url":"https://github.com/blkbrds","followers_url":"https://api.github.com/users/blkbrds/followers","following_url":"https://api.github.com/users/blkbrds/following{/other_user}","gists_url":"https://api.github.com/users/blkbrds/gists{/gist_id}","starred_url":"https://api.github.com/users/blkbrds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blkbrds/subscriptions","organizations_url":"https://api.github.com/users/blkbrds/orgs","repos_url":"https://api.github.com/users/blkbrds/repos","events_url":"https://api.github.com/users/blkbrds/events{/privacy}","received_events_url":"https://api.github.com/users/blkbrds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blkbrds/intern09_final_project_tung_bien","description":"iOS intern - Final Project - TungCT & BienLQ","fork":false,"url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien","forks_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/forks","keys_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/teams","hooks_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/hooks","issue_events_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues/events{/number}","events_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/events","assignees_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/assignees{/user}","branches_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/branches{/branch}","tags_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/tags","blobs_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/refs{/sha}","trees_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/statuses/{sha}","languages_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/languages","stargazers_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/stargazers","contributors_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/contributors","subscribers_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/subscribers","subscription_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/subscription","commits_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/commits{/sha}","git_commits_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/commits{/sha}","comments_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/comments{/number}","issue_comment_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues/comments{/number}","contents_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/contents/{+path}","compare_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/merges","archive_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/downloads","issues_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues{/number}","pulls_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls{/number}","milestones_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/milestones{/number}","notifications_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/labels{/name}","releases_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/releases{/id}","deployments_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/deployments","created_at":"2017-07-18T01:24:57Z","updated_at":"2017-07-18T04:29:54Z","pushed_at":"2017-08-09T06:56:57Z","git_url":"git://github.com/blkbrds/intern09_final_project_tung_bien.git","ssh_url":"git@github.com:blkbrds/intern09_final_project_tung_bien.git","clone_url":"https://github.com/blkbrds/intern09_final_project_tung_bien.git","svn_url":"https://github.com/blkbrds/intern09_final_project_tung_bien","homepage":null,"size":3093,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"blkbrds:master","ref":"master","sha":"9242338493fbcbda7c59cc6c66b3763742c41628","user":{"login":"blkbrds","id":28261672,"avatar_url":"https://avatars1.githubusercontent.com/u/28261672?v=4","gravatar_id":"","url":"https://api.github.com/users/blkbrds","html_url":"https://github.com/blkbrds","followers_url":"https://api.github.com/users/blkbrds/followers","following_url":"https://api.github.com/users/blkbrds/following{/other_user}","gists_url":"https://api.github.com/users/blkbrds/gists{/gist_id}","starred_url":"https://api.github.com/users/blkbrds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blkbrds/subscriptions","organizations_url":"https://api.github.com/users/blkbrds/orgs","repos_url":"https://api.github.com/users/blkbrds/repos","events_url":"https://api.github.com/users/blkbrds/events{/privacy}","received_events_url":"https://api.github.com/users/blkbrds/received_events","type":"Organization","site_admin":false},"repo":{"id":97538088,"name":"intern09_final_project_tung_bien","full_name":"blkbrds/intern09_final_project_tung_bien","owner":{"login":"blkbrds","id":28261672,"avatar_url":"https://avatars1.githubusercontent.com/u/28261672?v=4","gravatar_id":"","url":"https://api.github.com/users/blkbrds","html_url":"https://github.com/blkbrds","followers_url":"https://api.github.com/users/blkbrds/followers","following_url":"https://api.github.com/users/blkbrds/following{/other_user}","gists_url":"https://api.github.com/users/blkbrds/gists{/gist_id}","starred_url":"https://api.github.com/users/blkbrds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blkbrds/subscriptions","organizations_url":"https://api.github.com/users/blkbrds/orgs","repos_url":"https://api.github.com/users/blkbrds/repos","events_url":"https://api.github.com/users/blkbrds/events{/privacy}","received_events_url":"https://api.github.com/users/blkbrds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blkbrds/intern09_final_project_tung_bien","description":"iOS intern - Final Project - TungCT & BienLQ","fork":false,"url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien","forks_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/forks","keys_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/teams","hooks_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/hooks","issue_events_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues/events{/number}","events_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/events","assignees_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/assignees{/user}","branches_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/branches{/branch}","tags_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/tags","blobs_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/refs{/sha}","trees_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/statuses/{sha}","languages_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/languages","stargazers_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/stargazers","contributors_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/contributors","subscribers_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/subscribers","subscription_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/subscription","commits_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/commits{/sha}","git_commits_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/git/commits{/sha}","comments_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/comments{/number}","issue_comment_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues/comments{/number}","contents_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/contents/{+path}","compare_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/merges","archive_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/downloads","issues_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues{/number}","pulls_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls{/number}","milestones_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/milestones{/number}","notifications_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/labels{/name}","releases_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/releases{/id}","deployments_url":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/deployments","created_at":"2017-07-18T01:24:57Z","updated_at":"2017-07-18T04:29:54Z","pushed_at":"2017-08-09T06:56:57Z","git_url":"git://github.com/blkbrds/intern09_final_project_tung_bien.git","ssh_url":"git@github.com:blkbrds/intern09_final_project_tung_bien.git","clone_url":"https://github.com/blkbrds/intern09_final_project_tung_bien.git","svn_url":"https://github.com/blkbrds/intern09_final_project_tung_bien","homepage":null,"size":3093,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/34"},"html":{"href":"https://github.com/blkbrds/intern09_final_project_tung_bien/pull/34"},"issue":{"href":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues/34"},"comments":{"href":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/blkbrds/intern09_final_project_tung_bien/statuses/a0a5bed5e2a13c4f1272b3fe3f16d38187ece53f"}}}}
{"actor":{"display_login":"at-daiho"}}