ChensAPI

v1.0.0 — Internal API service. All endpoints require x-api-key header.


Endpoints

MethodPathDescription
GET/api/healthHealth check (public)
POST/api/auth/registerRegister new user
POST/api/auth/loginVerify credentials
POST/api/auth/googleUpsert Google OAuth user
GET/api/usersList all users (admin)
GET/api/users/:idGet user by ID
PATCH/api/users/:idUpdate user
DELETE/api/users/:idDelete user (admin)