Version: 1.0.0
todo.ac API
TodoMate 的 RESTful API — 使用 GitHub 存储管理待办事项、目标和愿景。
认证
所有请求需要在请求头中提供两个凭证:
| 请求头 | 值 |
|---|---|
Authorization | Bearer <jwt> — 从 /auth/token 或 /auth/refresh 获取 |
Ocp-Apim-Subscription-Key | API 订阅密钥 — 在应用的账户 → API 密钥中获取(需要 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 |