{"action":"created","issue":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/4247","repository_url":"https://api.github.com/repos/go-gitea/gitea","labels_url":"https://api.github.com/repos/go-gitea/gitea/issues/4247/labels{/name}","comments_url":"https://api.github.com/repos/go-gitea/gitea/issues/4247/comments","events_url":"https://api.github.com/repos/go-gitea/gitea/issues/4247/events","html_url":"https://github.com/go-gitea/gitea/issues/4247","id":332518791,"node_id":"MDU6SXNzdWUzMzI1MTg3OTE=","number":4247,"title":"Create API client docs or guide ","user":{"login":"stevegt","id":591668,"node_id":"MDQ6VXNlcjU5MTY2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/591668?v=4","gravatar_id":"","url":"https://api.github.com/users/stevegt","html_url":"https://github.com/stevegt","followers_url":"https://api.github.com/users/stevegt/followers","following_url":"https://api.github.com/users/stevegt/following{/other_user}","gists_url":"https://api.github.com/users/stevegt/gists{/gist_id}","starred_url":"https://api.github.com/users/stevegt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevegt/subscriptions","organizations_url":"https://api.github.com/users/stevegt/orgs","repos_url":"https://api.github.com/users/stevegt/repos","events_url":"https://api.github.com/users/stevegt/events{/privacy}","received_events_url":"https://api.github.com/users/stevegt/received_events","type":"User","site_admin":false},"labels":[{"id":474798688,"node_id":"MDU6TGFiZWw0NzQ3OTg2ODg=","url":"https://api.github.com/repos/go-gitea/gitea/labels/kind/docs","name":"kind/docs","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-06-14T18:41:24Z","updated_at":"2018-06-25T01:12:45Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We need some API client docs.  This would be a place to list gitea-compatible swagger or openapi client libraries, gitea-specific clients, and client developer docs, hints, tips, or suggestions.  \r\n\r\nAs an example use case, I just now spent the last 24 hours trying to get the `Authorization:` header to work from an openapi client.  I wound up duplicating #3673 with #4243, but only after grepping around and finally finding this: https://github.com/go-gitea/gitea/blob/6efdcaed86565c91a3dc77631372a9cc45a58e89/modules/auth/auth.go#L47  For lack of any better place to put it, I've put a mini-HOWTO into the comments of #4243.  A google search right now for `site:docs.gitea.io authorization` turns up nothing relevant.\r\n\r\nI'm assuming client docs or guides should go into the ./docs tree.  If there are no objections, I'll start a single page for now,  e.g. ./docs/content/doc/advanced/api.XXX.md, later promoting to ./docs/content/doc/api/* as the content accumulates.\r\n\r\nPinging @daviian because #4037 provided most of the API docs we have so far.  ;-)\r\n"},"comment":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/comments/399804804","html_url":"https://github.com/go-gitea/gitea/issues/4247#issuecomment-399804804","issue_url":"https://api.github.com/repos/go-gitea/gitea/issues/4247","id":399804804,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTgwNDgwNA==","user":{"login":"tungsheng","id":1232684,"node_id":"MDQ6VXNlcjEyMzI2ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1232684?v=4","gravatar_id":"","url":"https://api.github.com/users/tungsheng","html_url":"https://github.com/tungsheng","followers_url":"https://api.github.com/users/tungsheng/followers","following_url":"https://api.github.com/users/tungsheng/following{/other_user}","gists_url":"https://api.github.com/users/tungsheng/gists{/gist_id}","starred_url":"https://api.github.com/users/tungsheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tungsheng/subscriptions","organizations_url":"https://api.github.com/users/tungsheng/orgs","repos_url":"https://api.github.com/users/tungsheng/repos","events_url":"https://api.github.com/users/tungsheng/events{/privacy}","received_events_url":"https://api.github.com/users/tungsheng/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T01:12:45Z","updated_at":"2018-06-25T01:12:45Z","author_association":"NONE","body":"@stevegt Awesome!! Thank you for helping me learn to contribute!"}}
{"actor":{"display_login":"tungsheng"}}