{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/harbor/issues/888","repository_url":"https://api.github.com/repos/vmware/harbor","labels_url":"https://api.github.com/repos/vmware/harbor/issues/888/labels{/name}","comments_url":"https://api.github.com/repos/vmware/harbor/issues/888/comments","events_url":"https://api.github.com/repos/vmware/harbor/issues/888/events","html_url":"https://github.com/vmware/harbor/issues/888","id":183260993,"number":888,"title":"How to use the 'Anonymous' user model with the swagger rest client","user":{"login":"huzhengchuan","id":6046031,"avatar_url":"https://avatars.githubusercontent.com/u/6046031?v=3","gravatar_id":"","url":"https://api.github.com/users/huzhengchuan","html_url":"https://github.com/huzhengchuan","followers_url":"https://api.github.com/users/huzhengchuan/followers","following_url":"https://api.github.com/users/huzhengchuan/following{/other_user}","gists_url":"https://api.github.com/users/huzhengchuan/gists{/gist_id}","starred_url":"https://api.github.com/users/huzhengchuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huzhengchuan/subscriptions","organizations_url":"https://api.github.com/users/huzhengchuan/orgs","repos_url":"https://api.github.com/users/huzhengchuan/repos","events_url":"https://api.github.com/users/huzhengchuan/events{/privacy}","received_events_url":"https://api.github.com/users/huzhengchuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"wknet123","id":5027302,"avatar_url":"https://avatars.githubusercontent.com/u/5027302?v=3","gravatar_id":"","url":"https://api.github.com/users/wknet123","html_url":"https://github.com/wknet123","followers_url":"https://api.github.com/users/wknet123/followers","following_url":"https://api.github.com/users/wknet123/following{/other_user}","gists_url":"https://api.github.com/users/wknet123/gists{/gist_id}","starred_url":"https://api.github.com/users/wknet123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wknet123/subscriptions","organizations_url":"https://api.github.com/users/wknet123/orgs","repos_url":"https://api.github.com/users/wknet123/repos","events_url":"https://api.github.com/users/wknet123/events{/privacy}","received_events_url":"https://api.github.com/users/wknet123/received_events","type":"User","site_admin":false},"assignees":[{"login":"wknet123","id":5027302,"avatar_url":"https://avatars.githubusercontent.com/u/5027302?v=3","gravatar_id":"","url":"https://api.github.com/users/wknet123","html_url":"https://github.com/wknet123","followers_url":"https://api.github.com/users/wknet123/followers","following_url":"https://api.github.com/users/wknet123/following{/other_user}","gists_url":"https://api.github.com/users/wknet123/gists{/gist_id}","starred_url":"https://api.github.com/users/wknet123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wknet123/subscriptions","organizations_url":"https://api.github.com/users/wknet123/orgs","repos_url":"https://api.github.com/users/wknet123/repos","events_url":"https://api.github.com/users/wknet123/events{/privacy}","received_events_url":"https://api.github.com/users/wknet123/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-16T11:00:08Z","updated_at":"2016-11-02T08:00:42Z","closed_at":null,"body":"I use the harbor in 0.4 version. In the guide, it say 'An anonymous user has no access to private projects and has read-only access to public projects.'. When I visit the api/projects with the python client , which generated by swagger-tools. I not setting the auth_setting in https headers. it response 401 authorize error. I didnot know how to visit harbor in an anonymous user with the swagger-rest-client.\n"},"comment":{"url":"https://api.github.com/repos/vmware/harbor/issues/comments/257796568","html_url":"https://github.com/vmware/harbor/issues/888#issuecomment-257796568","issue_url":"https://api.github.com/repos/vmware/harbor/issues/888","id":257796568,"user":{"login":"hainingzhang","id":2161887,"avatar_url":"https://avatars.githubusercontent.com/u/2161887?v=3","gravatar_id":"","url":"https://api.github.com/users/hainingzhang","html_url":"https://github.com/hainingzhang","followers_url":"https://api.github.com/users/hainingzhang/followers","following_url":"https://api.github.com/users/hainingzhang/following{/other_user}","gists_url":"https://api.github.com/users/hainingzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/hainingzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hainingzhang/subscriptions","organizations_url":"https://api.github.com/users/hainingzhang/orgs","repos_url":"https://api.github.com/users/hainingzhang/repos","events_url":"https://api.github.com/users/hainingzhang/events{/privacy}","received_events_url":"https://api.github.com/users/hainingzhang/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T08:00:42Z","updated_at":"2016-11-02T08:00:42Z","body":"even as a anonymous user, you still need to log in as a user of Harbor in order to perform anonymous access. The swagger guide with user login can be found in this link: \r\nhttps://github.com/vmware/harbor/blob/master/docs/configure_swagger.md"}}
{"actor":{"display_login":"hainingzhang"}}