jeyroik/extas-jsonrpc

View on GitHub
extas.json

Summary

Maintainability
Test Coverage
{
  "name": "extas/jsonrpc",
  "installer_version": 3,
  "plugins": [
    {
      "class": "extas\\components\\plugins\\install\\InstallJsonRpcOperations",
      "stage": "extas.install.section.jsonrpc_operations"
    },
    {
      "class": "extas\\components\\plugins\\uninstall\\UninstallJsonRpcOperations",
      "stage": "extas.uninstall.section.jsonrpc_operations"
    },
    {
      "class": "extas\\components\\plugins\\installers\\InstallerCommandPlugin",
      "stage": "extas.installer.command"
    },
    {
      "class": "extas\\components\\plugins\\jsonrpc\\PluginDefaultArguments",
      "stage": "extas.jsonrpc.command"
    }
  ],
  "commands_options": [
    {
      "name": "prefix-jsonrpc-install",
      "shortcut": "",
      "mode": 4,
      "default": "Install",
      "description": "Classes prefix for JSON RPC crawler by InstallSection",
      "title": "Prefix Install",
      "commands": ["extas-jsonrpc"]
    },
    {
      "name": "prefix-jsonrpc-doc-comment",
      "shortcut": "",
      "mode": 4,
      "default": "",
      "description": "Classes prefix for JSON RPC crawler by doc comments",
      "title": "Prefix Doc comment",
      "commands": ["extas-jsonrpc"]
    },
    {
      "name": "filter",
      "shortcut": "",
      "mode": 4,
      "default": "",
      "description": "Operations names filter",
      "title": "Filter",
      "commands": ["extas-jsonrpc"]
    },
    {
      "name": "path-jsonrpc-install",
      "shortcut": "",
      "mode": 4,
      "default": "",
      "description": "Path for crawling JSON RPC operation",
      "title": "JSOn RPC operation path",
      "commands": ["extas-jsonrpc"]
    },
    {
      "name": "path-jsonrpc-doc-comment",
      "shortcut": "",
      "mode": 4,
      "default": "",
      "description": "Path for crawling JSON RPC operation",
      "title": "JSOn RPC operation path",
      "commands": ["extas-jsonrpc"]
    }
  ],
  "jsonrpc_operations": [
    {
      "name": "operation.index",
      "title": "Operation list",
      "description": "Operation list",
      "parameters": {
        "method": {
          "name": "method",
          "value": "index"
        },
        "item_name": {
          "name": "item_name",
          "value": "operation"
        },
        "item_class": {
          "name": "item_class",
          "value": "extas\\components\\jsonrpc\\operations\\Operation"
        },
        "item_repository": {
          "name": "item_repository",
          "value": "jsonRpcOperationRepository"
        }
      },
      "class": "extas\\components\\jsonrpc\\operations\\Index",
      "specs": {
        "request": {
          "type": "object",
          "limit": {
            "type": "number"
          }
        },
        "response": {
          "type": "array",
          "properties": {
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "parameters": {
                  "type": "object"
                },
                "class": {
                  "type": "string"
                },
                "filter": {
                  "type": "string"
                },
                "specs": {
                  "type": "array"
                }
              }
            },
            "total": {
              "type": "number"
            }
          }
        }
      }
    }
  ]
}