{"action":"created","issue":{"url":"https://api.github.com/repos/repo-utils/org-labels/issues/14","labels_url":"https://api.github.com/repos/repo-utils/org-labels/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/repo-utils/org-labels/issues/14/comments","events_url":"https://api.github.com/repos/repo-utils/org-labels/issues/14/events","html_url":"https://github.com/repo-utils/org-labels/pull/14","id":76124549,"number":14,"title":"Allow labels to be created for private repos","user":{"login":"slajax","id":18702,"avatar_url":"https://avatars.githubusercontent.com/u/18702?v=3","gravatar_id":"","url":"https://api.github.com/users/slajax","html_url":"https://github.com/slajax","followers_url":"https://api.github.com/users/slajax/followers","following_url":"https://api.github.com/users/slajax/following{/other_user}","gists_url":"https://api.github.com/users/slajax/gists{/gist_id}","starred_url":"https://api.github.com/users/slajax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slajax/subscriptions","organizations_url":"https://api.github.com/users/slajax/orgs","repos_url":"https://api.github.com/users/slajax/repos","events_url":"https://api.github.com/users/slajax/events{/privacy}","received_events_url":"https://api.github.com/users/slajax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-13T21:11:39Z","updated_at":"2015-05-14T01:44:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/repo-utils/org-labels/pulls/14","html_url":"https://github.com/repo-utils/org-labels/pull/14","diff_url":"https://github.com/repo-utils/org-labels/pull/14.diff","patch_url":"https://github.com/repo-utils/org-labels/pull/14.patch"},"body":"From my testing it appears that when you use the users endpoint, GH will only return public repos irregardless of your token privilege. If you change this to use orgs endpoint, then it will also add the private repos to your list of repos to be modified.\r\n\r\nHope you find this useful, I did."},"comment":{"url":"https://api.github.com/repos/repo-utils/org-labels/issues/comments/101877218","html_url":"https://github.com/repo-utils/org-labels/pull/14#issuecomment-101877218","issue_url":"https://api.github.com/repos/repo-utils/org-labels/issues/14","id":101877218,"user":{"login":"Fishrock123","id":1093990,"avatar_url":"https://avatars.githubusercontent.com/u/1093990?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishrock123","html_url":"https://github.com/Fishrock123","followers_url":"https://api.github.com/users/Fishrock123/followers","following_url":"https://api.github.com/users/Fishrock123/following{/other_user}","gists_url":"https://api.github.com/users/Fishrock123/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishrock123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishrock123/subscriptions","organizations_url":"https://api.github.com/users/Fishrock123/orgs","repos_url":"https://api.github.com/users/Fishrock123/repos","events_url":"https://api.github.com/users/Fishrock123/events{/privacy}","received_events_url":"https://api.github.com/users/Fishrock123/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T01:44:53Z","updated_at":"2015-05-14T01:44:53Z","body":"@slajax does this still work for non-orgs (users)? I'll have to take a look at the GitHub api docs again.."}}