{"action":"closed","issue":{"url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/4","labels_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/4/comments","events_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/4/events","html_url":"https://github.com/OneDrive/onedrive-sdk-python/issues/4","id":110741778,"number":4,"title":"bug in uploading","user":{"login":"raingo","id":606565,"avatar_url":"https://avatars.githubusercontent.com/u/606565?v=3","gravatar_id":"","url":"https://api.github.com/users/raingo","html_url":"https://github.com/raingo","followers_url":"https://api.github.com/users/raingo/followers","following_url":"https://api.github.com/users/raingo/following{/other_user}","gists_url":"https://api.github.com/users/raingo/gists{/gist_id}","starred_url":"https://api.github.com/users/raingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raingo/subscriptions","organizations_url":"https://api.github.com/users/raingo/orgs","repos_url":"https://api.github.com/users/raingo/repos","events_url":"https://api.github.com/users/raingo/events{/privacy}","received_events_url":"https://api.github.com/users/raingo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"cmayer-ms","id":10051097,"avatar_url":"https://avatars.githubusercontent.com/u/10051097?v=3","gravatar_id":"","url":"https://api.github.com/users/cmayer-ms","html_url":"https://github.com/cmayer-ms","followers_url":"https://api.github.com/users/cmayer-ms/followers","following_url":"https://api.github.com/users/cmayer-ms/following{/other_user}","gists_url":"https://api.github.com/users/cmayer-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/cmayer-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmayer-ms/subscriptions","organizations_url":"https://api.github.com/users/cmayer-ms/orgs","repos_url":"https://api.github.com/users/cmayer-ms/repos","events_url":"https://api.github.com/users/cmayer-ms/events{/privacy}","received_events_url":"https://api.github.com/users/cmayer-ms/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-09T21:49:37Z","updated_at":"2015-10-13T17:06:13Z","closed_at":"2015-10-13T17:06:13Z","body":"In the line: https://github.com/OneDrive/onedrive-sdk-python/blob/master/src/python2/request/item_request_builder.py#L106\r\n\r\nthe `put` function should be `upload`, otherwise the uploading would fail on the example\r\n`returned_item = client.item(drive=\"me\", id=\"root\").children[\"newfile.txt\"].upload(\"./path_to_file.txt\")`"}}