{
  "servicename": "connector",
  "routes": [
    {
      "route": "/connectors",
      "configured": true,
      "type": "get",
      "routeclass": "./connector.js",
      "routefunction": "GetConnectors",
      "description": "Get the connectors",
      "examples": [
        {
          "param":"/connectors"
        }
      ]
    },
    {
      "route": "/connections",
      "configured": true,
      "type": "get",
      "routeclass": "./connector.js",
      "routefunction": "GetConnections",
      "description": "Get the enabled connections which are instances of connections.",
      "examples": [
        {
          "param":"/connections"
        }
      ]
    },
    {
      "route": "/connections/:service",
      "configured": true,
      "type": "get",
      "routeclass": "./connector.js",
      "routefunction": "GetConnections",
      "description": "Get connections that are of named service. Even disabled connections are retrived.",
      "paramschema":{
        "required": [
          "service"
        ],
        "type": "object",
        "properties": {
          "name": {
            "description": "name of the connector service",
            "type": "string",
            "minLenth":1
          }
        }
      },
      "examples": [
        {
          "param":"/connections/nvstore"
        },
        {
          "param":"/connections/relstore"
        }

      ]
    },
    {
      "route": "/connection/:name",
      "configured": true,
      "type": "get",
      "routeclass": "./connector.js",
      "routefunction": "GetConnection",
      "description": "Get connections configuration for connection with name. Even disabled connections can be retrived.",
      "paramschema":{
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "description": "name of the connection",
            "type": "string",
            "minLenth":1
          }
        }
      },
       "examples": [
        {
          "param":"/connection/s3example"
        },
        {
          "param":"/connection/mysqlexample"
        }

      ]
    }

  ],
  "loglevel": "trace"
}
