{
  "repo": "pingcap/TiDB-Lambda-integration",
  "binary": "aws-lambda-bookstore",
  "binary_path": "aws-lambda-bookstore/src/lambda.ts",
  "surface_kind": "http_service",
  "type": "service",
  "services": [
    {
      "name": "BookstoreLambda",
      "package": "aws-lambda-bookstore/src",
      "type": "http",
      "methods": [
        {"name": "ANY /", "name_key": "HTTP GET /", "path": "/", "http_method": "ANY", "handler": "commonRoutes.root", "type": "http"},
        {"name": "ANY /healthy", "name_key": "HTTP GET /healthy", "path": "/healthy", "http_method": "ANY", "handler": "commonRoutes.healthy", "type": "http"},
        {"name": "GET /book", "name_key": "HTTP GET /book", "path": "/book", "http_method": "GET", "handler": "getBookRoutes.listBooks", "type": "http"},
        {"name": "GET /book/:id", "name_key": "HTTP GET /book/:id", "path": "/book/:id", "http_method": "GET", "handler": "getBookRoutes.queryBookByID", "type": "http"},
        {"name": "POST /book", "name_key": "HTTP POST /book", "path": "/book", "http_method": "POST", "handler": "postBookRoutes.postNewBook", "type": "http"},
        {"name": "POST /book/init", "name_key": "HTTP POST /book/init", "path": "/book/init", "http_method": "POST", "handler": "postBookRoutes.initBook", "type": "http"},
        {"name": "PUT /book/:id", "name_key": "HTTP PUT /book/:id", "path": "/book/:id", "http_method": "PUT", "handler": "updateBookRoutes.updateBook", "type": "http"},
        {"name": "DELETE /book/:id", "name_key": "HTTP DELETE /book/:id", "path": "/book/:id", "http_method": "DELETE", "handler": "deleteBookRoutes.deleteBook", "type": "http"}
      ]
    }
  ],
  "extensions": {}
}
