Skip to main content
Dùng các file OpenAPI khi generate client, validate payload hoặc đưa context API cho AI tools.

Specification files

REST API published hiện có 47 HTTP operations duy nhất.

Dùng với AI tools

Đưa OpenAPI file cho model kèm instruction này:

Quy tắc xác thực

  • Phần lớn REST endpoints dùng Authorization: Bearer <token>.
  • Các session endpoints có ghi rõ session auth thì dùng x-session-token.
  • Không gửi cả hai loại credential trừ khi endpoint document rõ là nhận cả hai.

Checklist implement

  1. Tìm operation theo operationId, method hoặc path.
  2. Đọc toàn bộ path, query, header và body parameters.
  3. Build request từ typed fields; tránh tự nối string nếu có structured client.
  4. Parse success response theo schema đã document.
  5. Parse error response dưới dạng JSON, Problem Details hoặc text vì gateway/backend errors có thể khác nhau.