{"action":"opened","number":3609,"pull_request":{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3609","id":28791568,"html_url":"https://github.com/borisyankov/DefinitelyTyped/pull/3609","diff_url":"https://github.com/borisyankov/DefinitelyTyped/pull/3609.diff","patch_url":"https://github.com/borisyankov/DefinitelyTyped/pull/3609.patch","issue_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3609","number":3609,"state":"open","locked":false,"title":"Fixed config type of $upload.http()","user":{"login":"biswarup91","id":9945073,"avatar_url":"https://avatars.githubusercontent.com/u/9945073?v=3","gravatar_id":"","url":"https://api.github.com/users/biswarup91","html_url":"https://github.com/biswarup91","followers_url":"https://api.github.com/users/biswarup91/followers","following_url":"https://api.github.com/users/biswarup91/following{/other_user}","gists_url":"https://api.github.com/users/biswarup91/gists{/gist_id}","starred_url":"https://api.github.com/users/biswarup91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biswarup91/subscriptions","organizations_url":"https://api.github.com/users/biswarup91/orgs","repos_url":"https://api.github.com/users/biswarup91/repos","events_url":"https://api.github.com/users/biswarup91/events{/privacy}","received_events_url":"https://api.github.com/users/biswarup91/received_events","type":"User","site_admin":false},"body":"`$upload.http()` is used to send the file binary or any data to the server through the 'data' field in the config object, not the 'file' field. Hence, its config type should be just `ng.IRequestConfig`, and not `ng.IFileUploadConfig`","created_at":"2015-02-06T08:13:31Z","updated_at":"2015-02-06T08:13:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3609/commits","review_comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3609/comments","review_comment_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/comments/{number}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3609/comments","statuses_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/statuses/9f41619a13610e03671d29244024278afc38817e","head":{"label":"biswarup91:patch-2","ref":"patch-2","sha":"9f41619a13610e03671d29244024278afc38817e","user":{"login":"biswarup91","id":9945073,"avatar_url":"https://avatars.githubusercontent.com/u/9945073?v=3","gravatar_id":"","url":"https://api.github.com/users/biswarup91","html_url":"https://github.com/biswarup91","followers_url":"https://api.github.com/users/biswarup91/followers","following_url":"https://api.github.com/users/biswarup91/following{/other_user}","gists_url":"https://api.github.com/users/biswarup91/gists{/gist_id}","starred_url":"https://api.github.com/users/biswarup91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biswarup91/subscriptions","organizations_url":"https://api.github.com/users/biswarup91/orgs","repos_url":"https://api.github.com/users/biswarup91/repos","events_url":"https://api.github.com/users/biswarup91/events{/privacy}","received_events_url":"https://api.github.com/users/biswarup91/received_events","type":"User","site_admin":false},"repo":{"id":27118822,"name":"DefinitelyTyped","full_name":"biswarup91/DefinitelyTyped","owner":{"login":"biswarup91","id":9945073,"avatar_url":"https://avatars.githubusercontent.com/u/9945073?v=3","gravatar_id":"","url":"https://api.github.com/users/biswarup91","html_url":"https://github.com/biswarup91","followers_url":"https://api.github.com/users/biswarup91/followers","following_url":"https://api.github.com/users/biswarup91/following{/other_user}","gists_url":"https://api.github.com/users/biswarup91/gists{/gist_id}","starred_url":"https://api.github.com/users/biswarup91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biswarup91/subscriptions","organizations_url":"https://api.github.com/users/biswarup91/orgs","repos_url":"https://api.github.com/users/biswarup91/repos","events_url":"https://api.github.com/users/biswarup91/events{/privacy}","received_events_url":"https://api.github.com/users/biswarup91/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/biswarup91/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/biswarup91/DefinitelyTyped","forks_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/issues/comments/{number}","contents_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/biswarup91/DefinitelyTyped/releases{/id}","created_at":"2014-11-25T09:41:20Z","updated_at":"2014-11-25T10:07:03Z","pushed_at":"2015-02-06T08:09:48Z","git_url":"git://github.com/biswarup91/DefinitelyTyped.git","ssh_url":"git@github.com:biswarup91/DefinitelyTyped.git","clone_url":"https://github.com/biswarup91/DefinitelyTyped.git","svn_url":"https://github.com/biswarup91/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":20545,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"borisyankov:master","ref":"master","sha":"42c8a3b74c05f6887ce21dd63c6234e424f9f8fe","user":{"login":"borisyankov","id":867242,"avatar_url":"https://avatars.githubusercontent.com/u/867242?v=3","gravatar_id":"","url":"https://api.github.com/users/borisyankov","html_url":"https://github.com/borisyankov","followers_url":"https://api.github.com/users/borisyankov/followers","following_url":"https://api.github.com/users/borisyankov/following{/other_user}","gists_url":"https://api.github.com/users/borisyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/borisyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisyankov/subscriptions","organizations_url":"https://api.github.com/users/borisyankov/orgs","repos_url":"https://api.github.com/users/borisyankov/repos","events_url":"https://api.github.com/users/borisyankov/events{/privacy}","received_events_url":"https://api.github.com/users/borisyankov/received_events","type":"User","site_admin":false},"repo":{"id":6093316,"name":"DefinitelyTyped","full_name":"borisyankov/DefinitelyTyped","owner":{"login":"borisyankov","id":867242,"avatar_url":"https://avatars.githubusercontent.com/u/867242?v=3","gravatar_id":"","url":"https://api.github.com/users/borisyankov","html_url":"https://github.com/borisyankov","followers_url":"https://api.github.com/users/borisyankov/followers","following_url":"https://api.github.com/users/borisyankov/following{/other_user}","gists_url":"https://api.github.com/users/borisyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/borisyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisyankov/subscriptions","organizations_url":"https://api.github.com/users/borisyankov/orgs","repos_url":"https://api.github.com/users/borisyankov/repos","events_url":"https://api.github.com/users/borisyankov/events{/privacy}","received_events_url":"https://api.github.com/users/borisyankov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borisyankov/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":false,"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped","forks_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/comments/{number}","contents_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/releases{/id}","created_at":"2012-10-05T16:39:45Z","updated_at":"2015-02-06T05:45:57Z","pushed_at":"2015-02-05T13:16:47Z","git_url":"git://github.com/borisyankov/DefinitelyTyped.git","ssh_url":"git@github.com:borisyankov/DefinitelyTyped.git","clone_url":"https://github.com/borisyankov/DefinitelyTyped.git","svn_url":"https://github.com/borisyankov/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":49690,"stargazers_count":3118,"watchers_count":3118,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2006,"mirror_url":null,"open_issues_count":404,"forks":2006,"open_issues":404,"watchers":3118,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3609"},"html":{"href":"https://github.com/borisyankov/DefinitelyTyped/pull/3609"},"issue":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3609"},"comments":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3609/comments"},"review_comments":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3609/comments"},"review_comment":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3609/commits"},"statuses":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/statuses/9f41619a13610e03671d29244024278afc38817e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}