Endpoints

The ASP supports stdio and http servers. The endpoints are:

Response Envelope

ASP 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": {}
  }
}

ASP Protocol Spec v0.1.0

JSON-RPC 2.0 for all methods. Each endpoint below shows the request body and the corresponding result payload.

exec