jeyroik/extas-api-jsonrpc

View on GitHub
extas.json

Summary

Maintainability
Test Coverage
{
  "name": "extas/api-jsonrpc",
  "plugins": [
    {
      "class": "extas\\components\\plugins\\api\\PluginJsonRpc",
      "stage": "extas.api.app.init",
      "install_on": "install",
      "parameters": {
        "routes": {
          "name": "routes",
          "value": {
            "/api/jsonrpc[/{version}]": "api/jsonrpc",
            "/_describe[/{version}]": "_describe",
            "/metrics[/{version}]": "metrics",
            "/probe/liveness[/{version}]": "probe/liveness",
            "/probe/readiness[/{version}]": "probe/readiness"
          }
        }
      }
    },
    {
      "class": "extas\\components\\plugins\\jsonrpc\\ApiJsonRpc",
      "stage": "extas.jsonrpc.operation.run.api/jsonrpc",
      "install_on": "install"
    },
    {
      "class": "extas\\components\\plugins\\jsonrpc\\Describe",
      "stage": "extas.jsonrpc.operation.run._describe",
      "install_on": "install"
    }
  ],
  "jsonrpc_operations": [
    {
      "name": "jsonrpc.operations.index",
      "title": "JSON RPC operations",
      "description": "JSON RPC operations list",
      "class": "extas\\components\\operations\\jsonrpc\\Index",
      "version": 0
    },
    {
      "name": "specs.operations",
      "title": "JSON RPC operations",
      "description": "JSON RPC operations list",
      "class": "extas\\components\\operations\\jsonrpc\\Index",
      "version": 0,
      "specs": {
        "request": {
          "properties": {
            "method": {
              "type": "string"
            }
          }
        },
        "response": {
          "properties": {
            "type": "object"
          }
        }
      }
    }
  ]
}