{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://velox.dev/schema/methods/grabber.harvest.schema.json", "title": "grabber.harvest", "description": "Turn selected crawl results into tasks. This is the only grabber call that creates downloads, and it names exactly the files the user ticked \u2014 a crawl never starts a download on its own.", "x-privileged": true, "x-transports": [ "uds" ], "x-deadlineMs": 30000, "x-errors": [ -32003, -32011 ], "type": "object", "properties": { "params": { "type": "object", "additionalProperties": false, "required": [ "jobId", "select" ], "properties": { "jobId": { "type": "string" }, "select": { "type": "array", "minItems": 1, "items": { "type": "string" }, "description": "fileIds from grabber.status." }, "defaults": { "oneOf": [ { "$ref": "https://velox.dev/schema/types/DownloadSpec.schema.json" }, { "type": "null" } ] } } }, "result": { "type": "object", "additionalProperties": false, "required": [ "taskIds", "failed" ], "properties": { "taskIds": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "failed": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": [ "fileId", "code", "message" ], "properties": { "fileId": { "type": "string" }, "code": { "$ref": "https://velox.dev/schema/types/ErrorCode.schema.json" }, "message": { "type": "string" } } } } } } } }