Version: 1.0.0
todo.ac API
API RESTful cho TodoMate — quản lý công việc, mục tiêu và tầm nhìn với lưu trữ GitHub.
Xác thực
Tất cả các yêu cầu cần hai thông tin xác thực trong header:
| Header | Giá trị |
|---|---|
Authorization | Bearer <jwt> — lấy từ /auth/token hoặc /auth/refresh |
Ocp-Apim-Subscription-Key | Khóa đăng ký API — lấy từ Tài khoản → Khóa API trong ứng dụng (yêu cầu gói 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 |