The ASP supports stdio and http servers. The endpoints are:
execfs/readfs/writefs/listfs/stattask/createtask/readtask/writetask/killASP responses use JSON-RPC 2.0. Successful calls return a result; failed calls return an error with a numeric code and string message.
Success:
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Error:
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32603,
"message": "...",
"data": {}
}
}
v0.1.0JSON-RPC 2.0 for all methods. Each endpoint below shows the request body and the corresponding result payload.
exec