{"action":"created","comment":{"url":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments/99729497","pull_request_review_id":20406874,"id":99729497,"diff_hunk":"@@ -23,6 +23,10 @@\n @property (nonatomic, readwrite, assign) BOOL enableCheckForCorruptionInTransit;\n \n - (instancetype)initWithPath:(NSString *)filePath targetFolderID:(NSString *)folderID;\n+\n+//initialize a request which will run in the background even if app terminates if tempUploadFilePath is provided\n+- (instancetype)initWithPath:(NSString *)filePath targetFolderID:(NSString *)folderID tempUploadFilePath:(NSString *)tempUploadFilePath;","path":"BoxContentSDK/BoxContentSDK/Requests/BOXFileUploadRequest.h","position":6,"original_position":6,"commit_id":"e07bd511dd2032cf8d2832097e33c8848b7835a4","original_commit_id":"e07bd511dd2032cf8d2832097e33c8848b7835a4","user":{"login":"boxtcarpel","id":1891864,"avatar_url":"https://avatars.githubusercontent.com/u/1891864?v=3","gravatar_id":"","url":"https://api.github.com/users/boxtcarpel","html_url":"https://github.com/boxtcarpel","followers_url":"https://api.github.com/users/boxtcarpel/followers","following_url":"https://api.github.com/users/boxtcarpel/following{/other_user}","gists_url":"https://api.github.com/users/boxtcarpel/gists{/gist_id}","starred_url":"https://api.github.com/users/boxtcarpel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxtcarpel/subscriptions","organizations_url":"https://api.github.com/users/boxtcarpel/orgs","repos_url":"https://api.github.com/users/boxtcarpel/repos","events_url":"https://api.github.com/users/boxtcarpel/events{/privacy}","received_events_url":"https://api.github.com/users/boxtcarpel/received_events","type":"User","site_admin":false},"body":"same","created_at":"2017-02-07T01:52:21Z","updated_at":"2017-02-07T01:53:07Z","html_url":"https://github.com/box/box-ios-sdk/pull/314#discussion_r99729497","pull_request_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/314","_links":{"self":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments/99729497"},"html":{"href":"https://github.com/box/box-ios-sdk/pull/314#discussion_r99729497"},"pull_request":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/314"}}},"pull_request":{"url":"https://api.github.com/repos/box/box-ios-sdk/pulls/314","id":104456796,"html_url":"https://github.com/box/box-ios-sdk/pull/314","diff_url":"https://github.com/box/box-ios-sdk/pull/314.diff","patch_url":"https://github.com/box/box-ios-sdk/pull/314.patch","issue_url":"https://api.github.com/repos/box/box-ios-sdk/issues/314","number":314,"state":"open","locked":false,"title":"multiple commits to support non-background/background uploads with NS…","user":{"login":"thuyBox","id":10490103,"avatar_url":"https://avatars.githubusercontent.com/u/10490103?v=3","gravatar_id":"","url":"https://api.github.com/users/thuyBox","html_url":"https://github.com/thuyBox","followers_url":"https://api.github.com/users/thuyBox/followers","following_url":"https://api.github.com/users/thuyBox/following{/other_user}","gists_url":"https://api.github.com/users/thuyBox/gists{/gist_id}","starred_url":"https://api.github.com/users/thuyBox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thuyBox/subscriptions","organizations_url":"https://api.github.com/users/thuyBox/orgs","repos_url":"https://api.github.com/users/thuyBox/repos","events_url":"https://api.github.com/users/thuyBox/events{/privacy}","received_events_url":"https://api.github.com/users/thuyBox/received_events","type":"User","site_admin":false},"body":"…URLSession\r\n\r\nsupport background upload if given tempUploadFilePath\r\nbringing in AFURLRequestSerialization  (from AFNetworking v3.1.0)(renamed to BOXURLRequestSerialization)\r\nsupport non-background upload with NSURLSession\r\nupdate BOXURLRequestSerialization to our need\r\nadd sample ap ui's button to upload in non-background or background mode\r\nremove requirement for MIMEType in multipart upload\r\nclean up multipart json operation","created_at":"2017-02-03T00:56:41Z","updated_at":"2017-02-07T01:53:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"598224bbe93b392bf9231d2afb98543599ee74bc","assignee":{"login":"boxtcarpel","id":1891864,"avatar_url":"https://avatars.githubusercontent.com/u/1891864?v=3","gravatar_id":"","url":"https://api.github.com/users/boxtcarpel","html_url":"https://github.com/boxtcarpel","followers_url":"https://api.github.com/users/boxtcarpel/followers","following_url":"https://api.github.com/users/boxtcarpel/following{/other_user}","gists_url":"https://api.github.com/users/boxtcarpel/gists{/gist_id}","starred_url":"https://api.github.com/users/boxtcarpel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxtcarpel/subscriptions","organizations_url":"https://api.github.com/users/boxtcarpel/orgs","repos_url":"https://api.github.com/users/boxtcarpel/repos","events_url":"https://api.github.com/users/boxtcarpel/events{/privacy}","received_events_url":"https://api.github.com/users/boxtcarpel/received_events","type":"User","site_admin":false},"assignees":[{"login":"boxtcarpel","id":1891864,"avatar_url":"https://avatars.githubusercontent.com/u/1891864?v=3","gravatar_id":"","url":"https://api.github.com/users/boxtcarpel","html_url":"https://github.com/boxtcarpel","followers_url":"https://api.github.com/users/boxtcarpel/followers","following_url":"https://api.github.com/users/boxtcarpel/following{/other_user}","gists_url":"https://api.github.com/users/boxtcarpel/gists{/gist_id}","starred_url":"https://api.github.com/users/boxtcarpel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxtcarpel/subscriptions","organizations_url":"https://api.github.com/users/boxtcarpel/orgs","repos_url":"https://api.github.com/users/boxtcarpel/repos","events_url":"https://api.github.com/users/boxtcarpel/events{/privacy}","received_events_url":"https://api.github.com/users/boxtcarpel/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/314/commits","review_comments_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/314/comments","review_comment_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/box/box-ios-sdk/issues/314/comments","statuses_url":"https://api.github.com/repos/box/box-ios-sdk/statuses/e07bd511dd2032cf8d2832097e33c8848b7835a4","head":{"label":"box:nsurlsession.uploadTask","ref":"nsurlsession.uploadTask","sha":"e07bd511dd2032cf8d2832097e33c8848b7835a4","user":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":33955225,"name":"box-ios-sdk","full_name":"box/box-ios-sdk","owner":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/box/box-ios-sdk","description":"iOS SDK for the Box Content API","fork":false,"url":"https://api.github.com/repos/box/box-ios-sdk","forks_url":"https://api.github.com/repos/box/box-ios-sdk/forks","keys_url":"https://api.github.com/repos/box/box-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/box-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/box-ios-sdk/teams","hooks_url":"https://api.github.com/repos/box/box-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/box/box-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/box/box-ios-sdk/events","assignees_url":"https://api.github.com/repos/box/box-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/box/box-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/box/box-ios-sdk/tags","blobs_url":"https://api.github.com/repos/box/box-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/box-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/box-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/box-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/box-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/box/box-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/box/box-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/box/box-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/box/box-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/box/box-ios-sdk/subscription","commits_url":"https://api.github.com/repos/box/box-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/box-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/box-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/box-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/box-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/box/box-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/box-ios-sdk/merges","archive_url":"https://api.github.com/repos/box/box-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/box-ios-sdk/downloads","issues_url":"https://api.github.com/repos/box/box-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/box/box-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/box/box-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/box/box-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/box-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/box/box-ios-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/box/box-ios-sdk/deployments","created_at":"2015-04-14T20:26:08Z","updated_at":"2017-01-27T23:41:21Z","pushed_at":"2017-02-06T22:16:58Z","git_url":"git://github.com/box/box-ios-sdk.git","ssh_url":"git@github.com:box/box-ios-sdk.git","clone_url":"https://github.com/box/box-ios-sdk.git","svn_url":"https://github.com/box/box-ios-sdk","homepage":"","size":2215,"stargazers_count":38,"watchers_count":38,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":16,"forks":47,"open_issues":16,"watchers":38,"default_branch":"master"}},"base":{"label":"box:nsurlsession","ref":"nsurlsession","sha":"e9eab944ea518b50d7be7e498e57ce8d252f74e0","user":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":33955225,"name":"box-ios-sdk","full_name":"box/box-ios-sdk","owner":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/box/box-ios-sdk","description":"iOS SDK for the Box Content API","fork":false,"url":"https://api.github.com/repos/box/box-ios-sdk","forks_url":"https://api.github.com/repos/box/box-ios-sdk/forks","keys_url":"https://api.github.com/repos/box/box-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/box-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/box-ios-sdk/teams","hooks_url":"https://api.github.com/repos/box/box-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/box/box-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/box/box-ios-sdk/events","assignees_url":"https://api.github.com/repos/box/box-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/box/box-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/box/box-ios-sdk/tags","blobs_url":"https://api.github.com/repos/box/box-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/box-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/box-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/box-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/box-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/box/box-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/box/box-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/box/box-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/box/box-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/box/box-ios-sdk/subscription","commits_url":"https://api.github.com/repos/box/box-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/box-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/box-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/box-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/box-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/box/box-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/box-ios-sdk/merges","archive_url":"https://api.github.com/repos/box/box-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/box-ios-sdk/downloads","issues_url":"https://api.github.com/repos/box/box-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/box/box-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/box/box-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/box/box-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/box-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/box/box-ios-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/box/box-ios-sdk/deployments","created_at":"2015-04-14T20:26:08Z","updated_at":"2017-01-27T23:41:21Z","pushed_at":"2017-02-06T22:16:58Z","git_url":"git://github.com/box/box-ios-sdk.git","ssh_url":"git@github.com:box/box-ios-sdk.git","clone_url":"https://github.com/box/box-ios-sdk.git","svn_url":"https://github.com/box/box-ios-sdk","homepage":"","size":2215,"stargazers_count":38,"watchers_count":38,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":16,"forks":47,"open_issues":16,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/314"},"html":{"href":"https://github.com/box/box-ios-sdk/pull/314"},"issue":{"href":"https://api.github.com/repos/box/box-ios-sdk/issues/314"},"comments":{"href":"https://api.github.com/repos/box/box-ios-sdk/issues/314/comments"},"review_comments":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/314/comments"},"review_comment":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/314/commits"},"statuses":{"href":"https://api.github.com/repos/box/box-ios-sdk/statuses/e07bd511dd2032cf8d2832097e33c8848b7835a4"}}}}
{"actor":{"display_login":"boxtcarpel"}}