{
  "repo": "tidbcloud/branching-rails-example",
  "binary": "rails-app",
  "binary_path": "config.ru",
  "surface_kind": "mixed_service",
  "type": "mixed_service",
  "services": [
    {
      "name": "RailsCLI",
      "package": "bin/rails",
      "methods": [
        {
          "name": "bin/rails <command>",
          "name_key": "CLI bin/rails <command>",
          "input": "rails command such as server, db:migrate, or db:seed",
          "output": "Rails app lifecycle and management actions",
          "type": "cli"
        }
      ]
    },
    {
      "name": "RailsHTTP",
      "package": "config/routes.rb",
      "type": "http",
      "methods": [
        {
          "name": "GET /",
          "name_key": "HTTP GET /",
          "path": "/",
          "http_method": "GET",
          "input": "browser request",
          "output": "articles index page",
          "type": "http"
        },
        {
          "name": "CRUD /articles/*",
          "name_key": "HTTP GET /articles/*",
          "path": "/articles",
          "http_method": "GET/POST/PATCH/DELETE",
          "input": "article CRUD requests",
          "output": "article resource pages and mutations",
          "type": "http"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "This repo is a Rails example application, not a library-only repo."
    ]
  }
}
