API & Technical Literacy
TechnicalĐọc API doc, hiểu REST/GraphQL/webhook, async vs sync, để spec integration không phải đợi engineer giải thích.
Đăng nhập để đánh dấu kỹ năng và theo dõi tiến độ.
Roadmap — Cách học và đạt kỹ năng
PM technical literacy spectrum
Không cần code, nhưng cần read code + spec integration. Litmus test: bạn đọc API doc Stripe và spec được flow checkout không?
Core concepts
- REST API — verb (GET, POST, PUT, DELETE), status code (2xx, 4xx, 5xx).
- JSON payload — request body, response body.
- Authentication — API key, OAuth, JWT.
- Webhook — server-to-server callback.
- Async vs sync — queue, retry, idempotency.
- Rate limit — quota, backoff.
- Pagination — cursor vs offset.
- GraphQL — alternative to REST, client-specified query.
Reading API doc — Stripe example
Stripe doc là gold standard. PM nên đọc và identify:
- Authentication method.
- Endpoint nào dùng cho use case của bạn.
- Required vs optional field.
- Error code và handling.
- Webhook event để listen.
- Test mode vs production.
Spec integration cho PRD
- System diagram — who calls whom.
- Sequence diagram — order of API call.
- Data contract — schema input/output.
- Error handling — retry policy, fallback UX.
- Monitoring — what alert when fails.
Vietnam-specific integration
- VNPay, MoMo, ZaloPay payment API.
- VietQR transfer.
- eKYC API (FPT.AI, VinAI).
- Shipping API (GHN, GHTK, J&T).
Common pitfalls
- Spec dựa trên website screenshot mà không đọc API doc → reality khác.
- Bỏ qua webhook → poll inefficient.
- Không hiểu idempotency → duplicate charge.
Thảo luận & tài liệu thêm 0
Chia sẻ kinh nghiệm, đặt câu hỏi, hoặc đính kèm tài liệu/YouTube giúp người khác học kỹ năng này.