Reference
Docs/Reference
Tài liệu sống được đồng bộ theo codebase hiện tại.

API Reference

Swagger, OpenAPI và các endpoint chính.

API root

http://localhost:3001/api

Swagger UI

http://localhost:3001/api/docs

OpenAPI source

  • Raw file: /openapi.yaml
  • Backend đang nạp từ docs/openapi.yaml

Resource groups chính

GroupVí dụ
Auth/auth/login, /auth/me, /auth/status
Tenant bootstrap/tenant/bootstrap, /tenant/bootstrap/minimal
Workspaces/workspaces
Memberships/memberships
Invitations/invitations
Websites/websites
Dashboard/dashboard/summary

Ghi chú auth

Baseline hiện tại ưu tiên cookie/session cho browser flow. Một số tooling hoặc flow kỹ thuật vẫn có thể dùng Authorization: Bearer <token> nếu backend cho phép fallback.