Góp ý
Giúp cải thiện docs và hành vi API Gommo Developer.
Trước khi báo
Health check
bashcurl http://localhost:3001/healthTái hiện tối thiểu — Quickstart hoặc Playground.
Ghi lại — HTTP status, body
{ success, message, code }, version/commit gateway.
Nội dung cần có
| Trường | Ví dụ |
|---|---|
| Environment | local / Railway / Fly, phiên bản Node |
| Mode | B REST / C proxy / direct upstream |
| Endpoint | POST https://v2.api.gommo.net/ai/jobs/image/{model_id} |
| Request | Che token — chỉ shape JSON |
| Response | Envelope lỗi đầy đủ |
| Expected | Kỳ 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
