Version: 1.0.0
todo.ac API
RESTful API สำหรับ TodoMate — จัดการงาน เป้าหมาย และวิสัยทัศน์ด้วยการจัดเก็บบน GitHub
การยืนยันตัวตน
คำขอทั้งหมดต้องมีข้อมูลรับรองสองรายการในส่วนหัว:
| ส่วนหัว | ค่า |
|---|---|
Authorization | Bearer <jwt> — รับได้จาก /auth/token หรือ /auth/refresh |
Ocp-Apim-Subscription-Key | คีย์สมาชิก API — รับได้จาก บัญชี → API Keys ในแอป (ต้องมีแผน Pro) |
Authentication
- HTTP: Bearer Auth
- API Key: ApimKey
TodoMate JWT (issued by /auth/token or /auth/refresh)
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |
Subscription key from Account → API Keys (Pro plan required). Required alongside the Bearer JWT on all authenticated endpoints.
Security Scheme Type: | apiKey |
|---|---|
Header parameter name: | Ocp-Apim-Subscription-Key |