{"action":"created","comment":{"url":"https://api.github.com/repos/digipost/ios/pulls/comments/31128383","id":31128383,"diff_hunk":"@@ -417,6 +417,14 @@ class APIClient : NSObject, NSURLSessionTaskDelegate, NSURLSessionDelegate, NSUR\n         self.isUploadingFile = true\n     }\n \n+    func postLog(#uri: String, parameters: [String : AnyObject]) {\n+        self.urlSessionTask(httpMethod.post, url: uri, parameters: parameters, success: { () -> Void in\n+            println(\"success\")","path":"Digipost/APIClient.swift","position":6,"original_position":6,"commit_id":"619d4ce9e84f2e5249c66425d38d575faf86ff6f","original_commit_id":"619d4ce9e84f2e5249c66425d38d575faf86ff6f","user":{"login":"lillesand","id":92167,"avatar_url":"https://avatars.githubusercontent.com/u/92167?v=3","gravatar_id":"","url":"https://api.github.com/users/lillesand","html_url":"https://github.com/lillesand","followers_url":"https://api.github.com/users/lillesand/followers","following_url":"https://api.github.com/users/lillesand/following{/other_user}","gists_url":"https://api.github.com/users/lillesand/gists{/gist_id}","starred_url":"https://api.github.com/users/lillesand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lillesand/subscriptions","organizations_url":"https://api.github.com/users/lillesand/orgs","repos_url":"https://api.github.com/users/lillesand/repos","events_url":"https://api.github.com/users/lillesand/events{/privacy}","received_events_url":"https://api.github.com/users/lillesand/received_events","type":"User","site_admin":false},"body":"What happens to stdout on iOS?","created_at":"2015-05-27T12:38:03Z","updated_at":"2015-05-27T12:38:03Z","html_url":"https://github.com/digipost/ios/pull/5#discussion_r31128383","pull_request_url":"https://api.github.com/repos/digipost/ios/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/digipost/ios/pulls/comments/31128383"},"html":{"href":"https://github.com/digipost/ios/pull/5#discussion_r31128383"},"pull_request":{"href":"https://api.github.com/repos/digipost/ios/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/digipost/ios/pulls/5","id":36293718,"html_url":"https://github.com/digipost/ios/pull/5","diff_url":"https://github.com/digipost/ios/pull/5.diff","patch_url":"https://github.com/digipost/ios/pull/5.patch","issue_url":"https://api.github.com/repos/digipost/ios/issues/5","number":5,"state":"open","locked":false,"title":"Logging","user":{"login":"haaakon","id":1579465,"avatar_url":"https://avatars.githubusercontent.com/u/1579465?v=3","gravatar_id":"","url":"https://api.github.com/users/haaakon","html_url":"https://github.com/haaakon","followers_url":"https://api.github.com/users/haaakon/followers","following_url":"https://api.github.com/users/haaakon/following{/other_user}","gists_url":"https://api.github.com/users/haaakon/gists{/gist_id}","starred_url":"https://api.github.com/users/haaakon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haaakon/subscriptions","organizations_url":"https://api.github.com/users/haaakon/orgs","repos_url":"https://api.github.com/users/haaakon/repos","events_url":"https://api.github.com/users/haaakon/events{/privacy}","received_events_url":"https://api.github.com/users/haaakon/received_events","type":"User","site_admin":false},"body":"Since String enum is not available in obj-c the different severitys is split into different methods","created_at":"2015-05-27T11:28:50Z","updated_at":"2015-05-27T12:38:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76e56480d9a983ff54f3147601a37ae230a346c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/digipost/ios/pulls/5/commits","review_comments_url":"https://api.github.com/repos/digipost/ios/pulls/5/comments","review_comment_url":"https://api.github.com/repos/digipost/ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/digipost/ios/issues/5/comments","statuses_url":"https://api.github.com/repos/digipost/ios/statuses/619d4ce9e84f2e5249c66425d38d575faf86ff6f","head":{"label":"digipost:logging","ref":"logging","sha":"619d4ce9e84f2e5249c66425d38d575faf86ff6f","user":{"login":"digipost","id":1013853,"avatar_url":"https://avatars.githubusercontent.com/u/1013853?v=3","gravatar_id":"","url":"https://api.github.com/users/digipost","html_url":"https://github.com/digipost","followers_url":"https://api.github.com/users/digipost/followers","following_url":"https://api.github.com/users/digipost/following{/other_user}","gists_url":"https://api.github.com/users/digipost/gists{/gist_id}","starred_url":"https://api.github.com/users/digipost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digipost/subscriptions","organizations_url":"https://api.github.com/users/digipost/orgs","repos_url":"https://api.github.com/users/digipost/repos","events_url":"https://api.github.com/users/digipost/events{/privacy}","received_events_url":"https://api.github.com/users/digipost/received_events","type":"Organization","site_admin":false},"repo":{"id":14979171,"name":"ios","full_name":"digipost/ios","owner":{"login":"digipost","id":1013853,"avatar_url":"https://avatars.githubusercontent.com/u/1013853?v=3","gravatar_id":"","url":"https://api.github.com/users/digipost","html_url":"https://github.com/digipost","followers_url":"https://api.github.com/users/digipost/followers","following_url":"https://api.github.com/users/digipost/following{/other_user}","gists_url":"https://api.github.com/users/digipost/gists{/gist_id}","starred_url":"https://api.github.com/users/digipost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digipost/subscriptions","organizations_url":"https://api.github.com/users/digipost/orgs","repos_url":"https://api.github.com/users/digipost/repos","events_url":"https://api.github.com/users/digipost/events{/privacy}","received_events_url":"https://api.github.com/users/digipost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digipost/ios","description":"Digipost for iOS","fork":false,"url":"https://api.github.com/repos/digipost/ios","forks_url":"https://api.github.com/repos/digipost/ios/forks","keys_url":"https://api.github.com/repos/digipost/ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digipost/ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digipost/ios/teams","hooks_url":"https://api.github.com/repos/digipost/ios/hooks","issue_events_url":"https://api.github.com/repos/digipost/ios/issues/events{/number}","events_url":"https://api.github.com/repos/digipost/ios/events","assignees_url":"https://api.github.com/repos/digipost/ios/assignees{/user}","branches_url":"https://api.github.com/repos/digipost/ios/branches{/branch}","tags_url":"https://api.github.com/repos/digipost/ios/tags","blobs_url":"https://api.github.com/repos/digipost/ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digipost/ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digipost/ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/digipost/ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digipost/ios/statuses/{sha}","languages_url":"https://api.github.com/repos/digipost/ios/languages","stargazers_url":"https://api.github.com/repos/digipost/ios/stargazers","contributors_url":"https://api.github.com/repos/digipost/ios/contributors","subscribers_url":"https://api.github.com/repos/digipost/ios/subscribers","subscription_url":"https://api.github.com/repos/digipost/ios/subscription","commits_url":"https://api.github.com/repos/digipost/ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/digipost/ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/digipost/ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/digipost/ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/digipost/ios/contents/{+path}","compare_url":"https://api.github.com/repos/digipost/ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digipost/ios/merges","archive_url":"https://api.github.com/repos/digipost/ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digipost/ios/downloads","issues_url":"https://api.github.com/repos/digipost/ios/issues{/number}","pulls_url":"https://api.github.com/repos/digipost/ios/pulls{/number}","milestones_url":"https://api.github.com/repos/digipost/ios/milestones{/number}","notifications_url":"https://api.github.com/repos/digipost/ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digipost/ios/labels{/name}","releases_url":"https://api.github.com/repos/digipost/ios/releases{/id}","created_at":"2013-12-06T09:48:19Z","updated_at":"2015-04-30T17:16:29Z","pushed_at":"2015-05-27T12:35:08Z","git_url":"git://github.com/digipost/ios.git","ssh_url":"git@github.com:digipost/ios.git","clone_url":"https://github.com/digipost/ios.git","svn_url":"https://github.com/digipost/ios","homepage":null,"size":211179,"stargazers_count":11,"watchers_count":11,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":11,"default_branch":"master"}},"base":{"label":"digipost:master","ref":"master","sha":"e095623bc3a876ff053ac51534b6bfb5f7b2e4e4","user":{"login":"digipost","id":1013853,"avatar_url":"https://avatars.githubusercontent.com/u/1013853?v=3","gravatar_id":"","url":"https://api.github.com/users/digipost","html_url":"https://github.com/digipost","followers_url":"https://api.github.com/users/digipost/followers","following_url":"https://api.github.com/users/digipost/following{/other_user}","gists_url":"https://api.github.com/users/digipost/gists{/gist_id}","starred_url":"https://api.github.com/users/digipost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digipost/subscriptions","organizations_url":"https://api.github.com/users/digipost/orgs","repos_url":"https://api.github.com/users/digipost/repos","events_url":"https://api.github.com/users/digipost/events{/privacy}","received_events_url":"https://api.github.com/users/digipost/received_events","type":"Organization","site_admin":false},"repo":{"id":14979171,"name":"ios","full_name":"digipost/ios","owner":{"login":"digipost","id":1013853,"avatar_url":"https://avatars.githubusercontent.com/u/1013853?v=3","gravatar_id":"","url":"https://api.github.com/users/digipost","html_url":"https://github.com/digipost","followers_url":"https://api.github.com/users/digipost/followers","following_url":"https://api.github.com/users/digipost/following{/other_user}","gists_url":"https://api.github.com/users/digipost/gists{/gist_id}","starred_url":"https://api.github.com/users/digipost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digipost/subscriptions","organizations_url":"https://api.github.com/users/digipost/orgs","repos_url":"https://api.github.com/users/digipost/repos","events_url":"https://api.github.com/users/digipost/events{/privacy}","received_events_url":"https://api.github.com/users/digipost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digipost/ios","description":"Digipost for iOS","fork":false,"url":"https://api.github.com/repos/digipost/ios","forks_url":"https://api.github.com/repos/digipost/ios/forks","keys_url":"https://api.github.com/repos/digipost/ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digipost/ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digipost/ios/teams","hooks_url":"https://api.github.com/repos/digipost/ios/hooks","issue_events_url":"https://api.github.com/repos/digipost/ios/issues/events{/number}","events_url":"https://api.github.com/repos/digipost/ios/events","assignees_url":"https://api.github.com/repos/digipost/ios/assignees{/user}","branches_url":"https://api.github.com/repos/digipost/ios/branches{/branch}","tags_url":"https://api.github.com/repos/digipost/ios/tags","blobs_url":"https://api.github.com/repos/digipost/ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digipost/ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digipost/ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/digipost/ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digipost/ios/statuses/{sha}","languages_url":"https://api.github.com/repos/digipost/ios/languages","stargazers_url":"https://api.github.com/repos/digipost/ios/stargazers","contributors_url":"https://api.github.com/repos/digipost/ios/contributors","subscribers_url":"https://api.github.com/repos/digipost/ios/subscribers","subscription_url":"https://api.github.com/repos/digipost/ios/subscription","commits_url":"https://api.github.com/repos/digipost/ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/digipost/ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/digipost/ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/digipost/ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/digipost/ios/contents/{+path}","compare_url":"https://api.github.com/repos/digipost/ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digipost/ios/merges","archive_url":"https://api.github.com/repos/digipost/ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digipost/ios/downloads","issues_url":"https://api.github.com/repos/digipost/ios/issues{/number}","pulls_url":"https://api.github.com/repos/digipost/ios/pulls{/number}","milestones_url":"https://api.github.com/repos/digipost/ios/milestones{/number}","notifications_url":"https://api.github.com/repos/digipost/ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digipost/ios/labels{/name}","releases_url":"https://api.github.com/repos/digipost/ios/releases{/id}","created_at":"2013-12-06T09:48:19Z","updated_at":"2015-04-30T17:16:29Z","pushed_at":"2015-05-27T12:35:08Z","git_url":"git://github.com/digipost/ios.git","ssh_url":"git@github.com:digipost/ios.git","clone_url":"https://github.com/digipost/ios.git","svn_url":"https://github.com/digipost/ios","homepage":null,"size":211179,"stargazers_count":11,"watchers_count":11,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/digipost/ios/pulls/5"},"html":{"href":"https://github.com/digipost/ios/pull/5"},"issue":{"href":"https://api.github.com/repos/digipost/ios/issues/5"},"comments":{"href":"https://api.github.com/repos/digipost/ios/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/digipost/ios/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/digipost/ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/digipost/ios/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/digipost/ios/statuses/619d4ce9e84f2e5249c66425d38d575faf86ff6f"}}}}