13. REST & WebSocket APIs
- POST /api/batch → { batch_id, accepted_count, skipped_count }.
- GET /api/batch/{batch_id}/status → { state: PROCESSING|DONE|ERROR, progress: 0‑100 }.
- PUT /api/image/{image_id}/filename accepts { new_name } and returns the updated record.
- POST /api/keywords/enhance accepts { keywords[] } and returns { enhanced_keywords[] }.
- WebSocket ws://…/progress/{batch_id} streams JSON events { image_id, status }.
No due date
0% Completed
No results
Try adjusting your search filters.