Update Task
Update a task (e.g. set file as base64-encoded Wasm)
PUT
TASK_ID*stringapplication/json- body
name?stringfile?stringBase64-encoded Wasm binary
inputs?array<string|number>Input values passed to the Wasm module (strings or numbers; numbers are coerced to strings)
proplet_id?stringTarget proplet ID; mutually exclusive with broadcast
broadcast?booleanIf true, task runs on all proplets simultaneously; mutually exclusive with proplet_id
metadata?Arbitrary key-value metadata attached to the task (max 1 MB serialized)
Task updated (the file field is redacted in the response)
curl -X PUT 'http://localhost:7070/tasks/string' \ -H 'Content-Type: application/json' \ -d '{ "name": "add", "inputs": [ 10, 20 ]}'Example Response200
Empty