13. REST & WebSocket APIs

  1. POST /api/batch → { batch_id, accepted_count, skipped_count }.
  2. GET /api/batch/{batch_id}/status → { state: PROCESSING|DONE|ERROR, progress: 0‑100 }.
  3. PUT /api/image/{image_id}/filename accepts { new_name } and returns the updated record.
  4. POST /api/keywords/enhance accepts { keywords[] } and returns { enhanced_keywords[] }.
  5. WebSocket ws://…/progress/{batch_id} streams JSON events { image_id, status }.
No due date
0% Completed

No results

Try adjusting your search filters.