Skip to main content

CreateTaskRequest

priorityinteger,null<int32>nullable

Priority level (higher = more urgent)

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

When to run the task (defaults to now)

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

Type of task to create

oneOf
libraryIdstring<uuid>required
modestring
typestringrequired

Possible values: [scan_library]

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