{"openapi":"3.0.0","info":{"title":"APIServer API","version":"1.0.0"},"baseUrl":"https:\/\/apiserver.hclou.com\/api\/v1","auth":"Bearer JWT in Authorization header","endpoints":[{"method":"POST","path":"\/auth\/register","auth":false,"desc":"Register account"},{"method":"POST","path":"\/auth\/login","auth":false,"desc":"Login → JWT + refresh cookie"},{"method":"POST","path":"\/auth\/refresh","auth":false,"desc":"Refresh access token"},{"method":"POST","path":"\/auth\/logout","auth":true,"desc":"Logout"},{"method":"GET","path":"\/auth\/me","auth":true,"desc":"Current user info"},{"method":"PUT","path":"\/auth\/me","auth":true,"desc":"Update profile"},{"method":"GET","path":"\/keys","auth":true,"desc":"List keys"},{"method":"POST","path":"\/keys","auth":true,"desc":"Create key"},{"method":"GET","path":"\/keys\/:id","auth":true,"desc":"Get key detail"},{"method":"PUT","path":"\/keys\/:id","auth":true,"desc":"Update key"},{"method":"PATCH","path":"\/keys\/:id","auth":true,"desc":"Enable\/Disable"},{"method":"POST","path":"\/keys\/:id\/reset","auth":true,"desc":"Regenerate key"},{"method":"DELETE","path":"\/keys\/:id","auth":true,"desc":"Revoke key"},{"method":"GET","path":"\/projects","auth":true,"desc":"List projects"},{"method":"POST","path":"\/projects","auth":true,"desc":"Create project"},{"method":"GET","path":"\/projects\/:id","auth":true,"desc":"Get project"},{"method":"PUT","path":"\/projects\/:id","auth":true,"desc":"Update project"},{"method":"DELETE","path":"\/projects\/:id","auth":true,"desc":"Delete project"},{"method":"GET","path":"\/logs","auth":true,"desc":"API request logs"},{"method":"GET","path":"\/stats","auth":true,"desc":"Dashboard stats"},{"method":"GET","path":"\/audit","auth":true,"desc":"Audit log (admin)"},{"method":"GET","path":"\/webhooks","auth":true,"desc":"List webhooks"},{"method":"POST","path":"\/webhooks","auth":true,"desc":"Create webhook"}]}