bid.hao.work/docs
Diff

18-docs-rest-api.md @ f8ef955

commit f8ef955b11e939285610302238adbb6c37d6f2c4 Author: bid-docs <bid-docs@localhost> Date: 2026-01-21T11:31:57+08:00 Add creative notes entry and API diff --git a/docs/18-docs-rest-api.md b/docs/18-docs-rest-api.md index 36a81de..cf4b585 100644 --- a/docs/18-docs-rest-api.md +++ b/docs/18-docs-rest-api.md @@ -47,6 +47,21 @@ POST Body 示例: } ``` +### 3.6 创意笔记 (Notes) +- `GET /api/notes` +- `POST /api/notes` +- `DELETE /api/notes?id=<note_id>` + +POST Body 示例: +```json +{ + "title": "竞品分析新方向", + "content": "考虑增加区域热力与胜率联动分析。", + "tags": ["analysis", "idea"], + "author": "admin" +} +``` + ## 4. 错误码 - `40101` 未认证或 Token 错误 - `40001` 参数错误