Skip to main content

CreateTaskRequest

priorityinteger,null<int32>nullable

Priority level (higher = more urgent)

Example: 0
scheduled_forstring,null<date-time>nullable

When to run the task (defaults to now)

Example: 2024-01-15T12:00:00Z
task_type objectrequired

Type of task to create

oneOf
library_idstring<uuid>required
modestring
typestringrequired

Possible values: [scan_library]

CreateTaskRequest
{
"priority": 0,
"scheduled_for": "2024-01-15T12:00:00Z",
"task_type": {
"library_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"mode": "string",
"type": "scan_library"
}
}