{ "name": "download.resume \u2014 applied to a two-task selection", "description": "Revalidated with If-Range against the stored validator before a single byte is appended.", "request": { "jsonrpc": "2.0", "id": 22, "method": "download.resume", "params": { "taskIds": [ "$taskId", "$taskId2" ] } }, "response": { "jsonrpc": "2.0", "id": 22, "result": { "updated": [ { "taskId": "3f7a2b1c-5d6e-4f80-9a1b-2c3d4e5f6071", "state": "connecting", "changed": true }, { "taskId": "8c1d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f", "state": "connecting", "changed": false } ], "failed": [] } }, "assertions": [ "a task already in the target state is reported with changed false, not as a failure", "an unknown id lands in failed[] with -32010 and never fails the whole call", "event.task.state is emitted for every entry whose changed is true" ] }