{"action":"created","issue":{"url":"https://api.github.com/repos/MitjaBezensek/SharpBucket/issues/26","labels_url":"https://api.github.com/repos/MitjaBezensek/SharpBucket/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/MitjaBezensek/SharpBucket/issues/26/comments","events_url":"https://api.github.com/repos/MitjaBezensek/SharpBucket/issues/26/events","html_url":"https://github.com/MitjaBezensek/SharpBucket/pull/26","id":116753445,"number":26,"title":"Repository creation through v2 api + test case.","user":{"login":"jokokko","id":1404295,"avatar_url":"https://avatars.githubusercontent.com/u/1404295?v=3","gravatar_id":"","url":"https://api.github.com/users/jokokko","html_url":"https://github.com/jokokko","followers_url":"https://api.github.com/users/jokokko/followers","following_url":"https://api.github.com/users/jokokko/following{/other_user}","gists_url":"https://api.github.com/users/jokokko/gists{/gist_id}","starred_url":"https://api.github.com/users/jokokko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jokokko/subscriptions","organizations_url":"https://api.github.com/users/jokokko/orgs","repos_url":"https://api.github.com/users/jokokko/repos","events_url":"https://api.github.com/users/jokokko/events{/privacy}","received_events_url":"https://api.github.com/users/jokokko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T11:46:30Z","updated_at":"2015-11-16T08:50:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MitjaBezensek/SharpBucket/pulls/26","html_url":"https://github.com/MitjaBezensek/SharpBucket/pull/26","diff_url":"https://github.com/MitjaBezensek/SharpBucket/pull/26.diff","patch_url":"https://github.com/MitjaBezensek/SharpBucket/pull/26.patch"},"body":"A quick implementation for repository creation as I needed it. See if you like it or want to expand on it. I also created a mixin for fluent repository creation configuration. See RepositoriesEndPointMixinsTests.cs:\r\n\r\n```csharp\r\n          var repositoryResource = repositoriesEndPoint.CreateRepository(ACCOUNT_NAME, repositoryToCreate, c =>\r\n          {\r\n              c.MakePrivate();\r\n              c.SetLanguage(\"c#\");\r\n              c.SetForkPolicy(ForkWord.NoForks);\r\n          });\r\n```"},"comment":{"url":"https://api.github.com/repos/MitjaBezensek/SharpBucket/issues/comments/156958040","html_url":"https://github.com/MitjaBezensek/SharpBucket/pull/26#issuecomment-156958040","issue_url":"https://api.github.com/repos/MitjaBezensek/SharpBucket/issues/26","id":156958040,"user":{"login":"jokokko","id":1404295,"avatar_url":"https://avatars.githubusercontent.com/u/1404295?v=3","gravatar_id":"","url":"https://api.github.com/users/jokokko","html_url":"https://github.com/jokokko","followers_url":"https://api.github.com/users/jokokko/followers","following_url":"https://api.github.com/users/jokokko/following{/other_user}","gists_url":"https://api.github.com/users/jokokko/gists{/gist_id}","starred_url":"https://api.github.com/users/jokokko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jokokko/subscriptions","organizations_url":"https://api.github.com/users/jokokko/orgs","repos_url":"https://api.github.com/users/jokokko/repos","events_url":"https://api.github.com/users/jokokko/events{/privacy}","received_events_url":"https://api.github.com/users/jokokko/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T08:50:51Z","updated_at":"2015-11-16T08:50:51Z","body":"Oh and as the tests exercise repository creation (and deletion on cleanup), they require repo admin permissions on the oauth consumer... Thus the failing AppVeyor build."}}