chore: track M4's register_api_404 report
This commit is contained in:
37
docs_v1.0/M4_workspace/2026-05-14_register_api_404.md
Normal file
37
docs_v1.0/M4_workspace/2026-05-14_register_api_404.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# 2026-05-14_register_api_404.md
|
||||
|
||||
## 問題
|
||||
|
||||
`POST /api/v1/register` 在 build `fc1d775` 回傳 **404 Not Found**。
|
||||
|
||||
## 測試
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:3002/api/v1/register \
|
||||
-H 'X-API-Key: ...' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"file_name":"test.svg","file_path":"/Users/accusys/momentry/var/sftpgo/data/demo/diagram-0.svg"}'
|
||||
# → HTTP 404 Not Found
|
||||
```
|
||||
|
||||
## 影響
|
||||
|
||||
| 檔案 | 磁碟 | 3002 DB |
|
||||
|------|:--:|:--:|
|
||||
| diagram-0.svg, diagram-1.svg, diagram-2.svg | ✅ | ❌ |
|
||||
| animal10.jpg, animal11.jpg | ✅ | ❌ |
|
||||
| Screenshot 2026-04-01...png, Screenshot 2026-05-04...png | ✅ | ❌ |
|
||||
|
||||
無法註冊 → 無法加入 MarkBase 虛擬樹 → 無法 preview。
|
||||
|
||||
## 環境
|
||||
|
||||
| 項目 | 值 |
|
||||
|------|-----|
|
||||
| Build | `fc1d775` |
|
||||
| Demo dir | `/Users/accusys/momentry/var/sftpgo/data/demo/` |
|
||||
| 已註冊 | 26 files |
|
||||
|
||||
## 請求
|
||||
|
||||
確認 `POST /api/v1/register` 端點是否已移除或變更路徑。若已變更,請提供新的註冊 API 路徑。
|
||||
Reference in New Issue
Block a user