{
  "routes": [
    {
      "method": "POST",
      "path": "/",
      "handler": "DocumentManager.upload",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/environments",
      "handler": "DocumentManager.getEnvironments",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/settings/:environment",
      "handler": "DocumentManager.getSettings",
      "config": {
        "policies": []
      }
    },
    {
      "method": "PUT",
      "path": "/settings/:environment",
      "handler": "DocumentManager.updateSettings",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/documents/count",
      "handler": "Browser.count",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/documents",
      "handler": "Browser.find",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/documents/:_id",
      "handler": "Browser.findOne",
      "config": {
        "policies": []
      }
    },
    {
      "method": "PUT",
      "path": "/documents/:_id",
      "handler": "Browser.edit",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/documents/search/:keyword",
      "handler": "Browser.search",
      "config": {
        "policies": []
      }
    },
    {
      "method": "DELETE",
      "path": "/documents/:_id",
      "handler": "Browser.destroy",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/process/count",
      "handler": "DocumentManager.count",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/process",
      "handler": "DocumentManager.find",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/process/:_id",
      "handler": "DocumentManager.findOne",
      "config": {
        "policies": []
      }
    },
    {
      "method": "GET",
      "path": "/search/:id",
      "handler": "DocumentManager.search",
      "config": {
        "policies": []
      }
    },
    {
      "method": "DELETE",
      "path": "/process/:_id",
      "handler": "DocumentManager.destroy",
      "config": {
        "policies": []
      }
    }
  ]
}
