{"action":"created","issue":{"url":"https://api.github.com/repos/microsoftgraph/msgraph-sdk-dotnet/issues/31","repository_url":"https://api.github.com/repos/microsoftgraph/msgraph-sdk-dotnet","labels_url":"https://api.github.com/repos/microsoftgraph/msgraph-sdk-dotnet/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/microsoftgraph/msgraph-sdk-dotnet/issues/31/comments","events_url":"https://api.github.com/repos/microsoftgraph/msgraph-sdk-dotnet/issues/31/events","html_url":"https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/31","id":169574739,"number":31,"title":"BUG: create drive item (DriveItemRequest class)","user":{"login":"VitorX","id":12635993,"avatar_url":"https://avatars.githubusercontent.com/u/12635993?v=3","gravatar_id":"","url":"https://api.github.com/users/VitorX","html_url":"https://github.com/VitorX","followers_url":"https://api.github.com/users/VitorX/followers","following_url":"https://api.github.com/users/VitorX/following{/other_user}","gists_url":"https://api.github.com/users/VitorX/gists{/gist_id}","starred_url":"https://api.github.com/users/VitorX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitorX/subscriptions","organizations_url":"https://api.github.com/users/VitorX/orgs","repos_url":"https://api.github.com/users/VitorX/repos","events_url":"https://api.github.com/users/VitorX/events{/privacy}","received_events_url":"https://api.github.com/users/VitorX/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-05T10:06:36Z","updated_at":"2016-08-08T21:19:52Z","closed_at":"2016-08-08T21:19:52Z","body":"**CreateAsync** method should use **POST** instead of **PUT**. \r\n\r\n// Microsoft.Graph.DriveItemRequest\r\npublic async Task<DriveItem> CreateAsync(DriveItem driveItemToCreate, CancellationToken cancellationToken)\r\n{\r\n\tthis.ContentType = \"application/json\";\r\n\tthis.Method = \"PUT\";\r\n\tDriveItem driveItem = await this.SendAsync<DriveItem>(driveItemToCreate, cancellationToken, HttpCompletionOption.ResponseContentRead).ConfigureAwait(false);\r\n\tthis.InitializeCollectionProperties(driveItem);\r\n\treturn driveItem;\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/microsoftgraph/msgraph-sdk-dotnet/issues/comments/238381119","html_url":"https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/31#issuecomment-238381119","issue_url":"https://api.github.com/repos/microsoftgraph/msgraph-sdk-dotnet/issues/31","id":238381119,"user":{"login":"shiftylogic","id":11233697,"avatar_url":"https://avatars.githubusercontent.com/u/11233697?v=3","gravatar_id":"","url":"https://api.github.com/users/shiftylogic","html_url":"https://github.com/shiftylogic","followers_url":"https://api.github.com/users/shiftylogic/followers","following_url":"https://api.github.com/users/shiftylogic/following{/other_user}","gists_url":"https://api.github.com/users/shiftylogic/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftylogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftylogic/subscriptions","organizations_url":"https://api.github.com/users/shiftylogic/orgs","repos_url":"https://api.github.com/users/shiftylogic/repos","events_url":"https://api.github.com/users/shiftylogic/events{/privacy}","received_events_url":"https://api.github.com/users/shiftylogic/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T21:19:52Z","updated_at":"2016-08-08T21:19:52Z","body":"This appears to be a bug in the generator templates. A fix has been [submitted to the code generator](4c10e293161f2ef460b22bd85b07356eba2b16cc). repo. The SDK will be updated in the next release.\r\n\r\nThanks for reporting."}}
{"actor":{"display_login":"shiftylogic"}}