docs: revise REQ-010/163 for archive upload, add REQ-178/179

This commit is contained in:
Andrew-AAAA committed 2026-09-29 08:58:34 +07:00
1 parent 92360660c7
commit 15cc9777b9
3 files changed
+32 -5

No files matched your search

+3 -1
View File
@@ -155,7 +155,7 @@ GET /api/health REQ-073
GET /api/projects REQ-001
POST /api/projects REQ-001,002,004,005
GET /api/projects/{id} # includes label_type_locked: bool (REQ-002)
GET /api/projects/{id} # includes label_type_locked: bool (REQ-002), video_root_linux/video_root_windows (REQ-179)
DELETE /api/projects/{id}
PATCH /api/projects/{id} # class prompts, val_every (REQ-005)
POST /api/projects/{id}/classes # add new class {name, prompt} (REQ-008)
@@ -166,6 +166,8 @@ GET /api/projects/{id}/dataset/download # zip (REQ-054)
GET /api/projects/{id}/library # list of dates (REQ-011)
GET /api/projects/{id}/library/{date} # videos + duration/resolution (REQ-012)
POST /api/projects/{id}/library/dates?date= # create YYYY-MM-DD folder, 409 if it exists (REQ-178)
POST /api/projects/{id}/library/upload?date= # multipart `file`, streamed to disk (REQ-178)
GET /api/projects/{id}/video?rel=… # Range streaming (REQ-013)
POST /api/projects/{id}/batches # {rel, start_sec, end_sec, fps} → extract job