{
  "opencollection": "1.0.0",
  "info": {
    "name": "Calyptia Cloud agent config_validator API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "config_validator",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Validate configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud-api.calyptia.com/v1/config_validate/:agentType",
            "params": [
              {
                "name": "agentType",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Validates that an already parsed fluentbit or fluentd config is semantically valid.\nTo parse the raw agent config take a look at https://github.com/calyptia/fluent-bit-config-parser."
        },
        {
          "info": {
            "name": "Validate Fluent-bit configuration.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud-api.calyptia.com/v2/validate_fluentbit_config",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validate Fluent-bit configuration."
        }
      ]
    }
  ],
  "bundled": true
}