screencastgen

Jobs API

Client functions for job CRUD operations.

Source: web/frontend/src/api/jobs.ts


Functions

Function HTTP Endpoint Description
createJob(req) POST /api/jobs Create job + dispatch
listJobs(status?, limit, offset) GET /api/jobs List with filter/pagination
getJob(id) GET /api/jobs/{id} Get single job
deleteJob(id) DELETE /api/jobs/{id} Delete job + files
stopJob(id) POST /api/jobs/{id}/stop Request early stop for a running lip-sync job
getDownloadUrl(id) /api/jobs/{id}/download Returns URL string
requestEpubExport(id) POST /api/jobs/{id}/export-epub Start a text-and-narration EPUB export
getEpubExportStatus(id) GET /api/jobs/{id}/export-epub/status Poll EPUB export state
getEpubExportDownloadUrl(id) /api/jobs/{id}/export-epub/download Returns exported EPUB URL string

Types Used

All types defined in types/index.ts.


Consumers


Backend

Calls Jobs Router endpoints.


See Also