docs: fix api paths (remove /v1)
This commit is contained in:
@@ -174,7 +174,7 @@ python3 migrate_sqlite_to_d1.py
|
|||||||
|
|
||||||
## 1. 客户端上报短信
|
## 1. 客户端上报短信
|
||||||
|
|
||||||
`POST /api/v1/receive`
|
`POST /api/receive`
|
||||||
|
|
||||||
字段:
|
字段:
|
||||||
- `from`:发件人
|
- `from`:发件人
|
||||||
@@ -192,9 +192,14 @@ python3 migrate_sqlite_to_d1.py
|
|||||||
|
|
||||||
## 3. 管理 API 端点示例
|
## 3. 管理 API 端点示例
|
||||||
|
|
||||||
- `GET /api/v1/messages`
|
- `POST /api/auth/login`
|
||||||
- `GET /api/v1/messages/:id`
|
- `POST /api/auth/logout`
|
||||||
- `GET /api/v1/logs`
|
- `GET /api/auth/me`
|
||||||
|
- `GET /api/messages`
|
||||||
|
- `GET /api/messages/:id`
|
||||||
|
- `GET /api/logs`
|
||||||
|
- `GET /api/stats`
|
||||||
|
- `GET /api/health`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user