TaskProgressEvent
Task progress event for background operations
book_idstring,null<uuid>nullable
Book ID if this task is related to a book
completed_atstring,null<date-time>nullable
When the task completed (success or failure)
errorstring | nullnullable
Error message (for failed tasks)
library_idstring,null<uuid>nullable
Library ID if this task is related to a library
progress object
oneOf
- null
- TaskProgress
null
currentintegerrequired
Current progress value
Possible values: >= 0
Example:
5messagestring | nullnullable
Optional progress message
Example:
Processing book 5 of 10totalintegerrequired
Total work to be done
Possible values: >= 0
Example:
10series_idstring,null<uuid>nullable
Series ID if this task is related to a series
started_atstring<date-time>required
When the task started
statusTaskStatus (string)required
Current status of the task
Possible values: [pending, running, completed, failed]
task_idstring<uuid>required
Unique identifier for this task instance
task_typestringrequired
Type of task being executed
TaskProgressEvent
{
"book_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"completed_at": "2024-07-29T15:51:28.071Z",
"error": "string",
"library_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"progress": "null",
"series_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"started_at": "2024-07-29T15:51:28.071Z",
"status": "pending",
"task_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"task_type": "string"
}