{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://velox.dev/schema/methods/download.cancel.schema.json", "title": "download.cancel", "description": "Stop the given tasks and mark them cancelled. The .veloxpart file is kept so the user can still resume from the list; download.remove is what deletes bytes.", "x-privileged": false, "x-transports": [ "uds", "ws" ], "x-deadlineMs": 5000, "x-errors": [ -32010 ], "type": "object", "properties": { "params": { "type": "object", "additionalProperties": false, "required": [ "taskIds" ], "properties": { "taskIds": { "type": "array", "minItems": 1, "maxItems": 5000, "items": { "type": "string", "format": "uuid" } } } }, "result": { "$ref": "https://velox.dev/schema/types/BulkTaskResult.schema.json" } } }