{
  "opencollection": "1.0.0",
  "info": {
    "name": "PHP-FPM Status and Ping Endpoints",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Status",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get PHP-FPM pool status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}/fpm-status",
            "params": [
              {
                "name": "full",
                "value": "",
                "type": "query",
                "description": "When present, includes per-process detail."
              },
              {
                "name": "json",
                "value": "",
                "type": "query",
                "description": "Return JSON output."
              },
              {
                "name": "xml",
                "value": "",
                "type": "query",
                "description": "Return XML output."
              },
              {
                "name": "html",
                "value": "",
                "type": "query",
                "description": "Return HTML output."
              },
              {
                "name": "openmetrics",
                "value": "",
                "type": "query",
                "description": "Return OpenMetrics output."
              }
            ]
          },
          "docs": "Returns PHP-FPM pool metrics. The output format is selected via a\nquery-string flag and may include per-process detail when `full`\nis set. The default response is plain text.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Ping",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "PHP-FPM liveness check",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}/fpm-ping"
          },
          "docs": "Returns the configured `ping.response` value (default `pong`),\nconfirming that the PHP-FPM master and worker pool are responsive.\n"
        }
      ]
    }
  ],
  "bundled": true
}