Skip to content

Góp ý ​

Giúp cải thiện docs và hành vi API Gommo Developer.

Trước khi báo ​

  1. Health check

    bash
    curl http://localhost:3001/health
  2. Tái hiện tối thiểu — Quickstart hoặc Playground.

  3. Ghi lại — HTTP status, body { success, message, code }, version/commit gateway.

Nội dung cần có ​

TrườngVí dụ
Environmentlocal / Railway / Fly, phiên bản Node
ModeB REST / C proxy / direct upstream
EndpointPOST https://v2.api.gommo.net/ai/jobs/image/{model_id}
RequestChe token — chỉ shape JSON
ResponseEnvelope lỗi đầy đủ
ExpectedKỳ vọng của bạn

Phân loại ​

  • Lỗi gateway — mapping, poll, auth → GitHub Issues.
  • Docs sai/thiếu — PR hoặc issue kèm link trang.
  • Upstream Gommo — 4xx/5xx kèm message Gommo; ghi rõ direct call có giống không.
  • PayOS / billing — kèm orderCode, log webhook (không secret).

Bảo mật ​

  • Không dán GOMMO_ACCESS_TOKEN, ADMIN_API_KEY, PayOS key, hoặc mật khẩu user.
  • Rotate token nếu lỡ lộ.

MCP vs HTTP ​

Vấn đề liên quan Cursor MCP, ghi riêng khỏi HTTP gateway — xem MCP & agents.

Tiếp theo ​

→ Community · FAQ · Quickstart