{"action":"created","issue":{"url":"https://api.github.com/repos/octokit/octokit.net/issues/1065","repository_url":"https://api.github.com/repos/octokit/octokit.net","labels_url":"https://api.github.com/repos/octokit/octokit.net/issues/1065/labels{/name}","comments_url":"https://api.github.com/repos/octokit/octokit.net/issues/1065/comments","events_url":"https://api.github.com/repos/octokit/octokit.net/issues/1065/events","html_url":"https://github.com/octokit/octokit.net/issues/1065","id":128914519,"number":1065,"title":"New Parameters on \"List Your Repositories\"","user":{"login":"shiftkey","id":359239,"avatar_url":"https://avatars.githubusercontent.com/u/359239?v=3","gravatar_id":"","url":"https://api.github.com/users/shiftkey","html_url":"https://github.com/shiftkey","followers_url":"https://api.github.com/users/shiftkey/followers","following_url":"https://api.github.com/users/shiftkey/following{/other_user}","gists_url":"https://api.github.com/users/shiftkey/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftkey/subscriptions","organizations_url":"https://api.github.com/users/shiftkey/orgs","repos_url":"https://api.github.com/users/shiftkey/repos","events_url":"https://api.github.com/users/shiftkey/events{/privacy}","received_events_url":"https://api.github.com/users/shiftkey/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/octokit/octokit.net/labels/up-for-grabs","name":"up-for-grabs","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-26T19:12:14Z","updated_at":"2016-04-12T07:28:25Z","closed_at":null,"body":"As per the [API documentation](https://developer.github.com/v3/repos/#list-your-repositories) the [RepositoryRequest class](https://github.com/octokit/octokit.net/blob/b9eeed3a8a9411cfe8ae79e2271c4ca9906e723f/Octokit/Models/Request/RepositoryRequest.cs) is missing some options.\r\nThe options missing are `visibility` and `affiliation`.\r\n\r\n[Read this to get setup for contributing](https://github.com/octokit/octokit.net/blob/master/CONTRIBUTING.md)\r\n\r\nSteps to implement:\r\n- Add the following `enum`s\r\n - Visibility:\r\n    - Public\r\n    - Private\r\n    - All\r\n - Affiliation: Some of the `Affiliation` enum members have to be decorated with the `Parameter` attribute so they are serialized properly\r\n    - Owner\r\n    - Collaborator\r\n    - OrganizationMember:`[Parameter(Value = \"organization_member\")]`\r\n    - OwnerAndCollaborator:`[Parameter(Value = \"owner, collaborator\")]`\r\n    - OwnerAndOrganizationMember:`[Parameter(Value = \"owner, organization_member\")]`\r\n    - CollaboratorAndOrganizationMember:`[Parameter(Value = \"collaborator, organization_member\")]`\r\n    - All:`[Parameter(Value = \"owner, collaborator, organization_member\")]`\r\n  \r\n- Add properties to the `RepositoryRequest` class associated with the enums created earlier."},"comment":{"url":"https://api.github.com/repos/octokit/octokit.net/issues/comments/208753726","html_url":"https://github.com/octokit/octokit.net/issues/1065#issuecomment-208753726","issue_url":"https://api.github.com/repos/octokit/octokit.net/issues/1065","id":208753726,"user":{"login":"devkhan","id":8049092,"avatar_url":"https://avatars.githubusercontent.com/u/8049092?v=3","gravatar_id":"","url":"https://api.github.com/users/devkhan","html_url":"https://github.com/devkhan","followers_url":"https://api.github.com/users/devkhan/followers","following_url":"https://api.github.com/users/devkhan/following{/other_user}","gists_url":"https://api.github.com/users/devkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/devkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devkhan/subscriptions","organizations_url":"https://api.github.com/users/devkhan/orgs","repos_url":"https://api.github.com/users/devkhan/repos","events_url":"https://api.github.com/users/devkhan/events{/privacy}","received_events_url":"https://api.github.com/users/devkhan/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T07:28:25Z","updated_at":"2016-04-12T07:28:25Z","body":"Can be closed now."}}