{
  "openapi": "3.1.0",
  "info": {
    "title": "Thruk REST API",
    "version": "1",
    "description": "Documented v1 operations. Available routes depend on the installed plugins. Consult the endpoint reference for additional parameters and response fields."
  },
  "servers": [
    {
      "url": "{baseUrl}",
      "variables": {
        "baseUrl": {
          "default": "https://monitor.example.org/thruk/r/v1",
          "description": "Base URL of your Thruk installation, including any site prefix."
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Thruk-Auth-Key"
      },
      "basic": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "apiKey": []
    },
    {
      "basic": []
    }
  ],
  "paths": {
    "/": {
      "get": {
        "operationId": "get",
        "summary": "lists all available rest urls.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/alerts": {
      "get": {
        "operationId": "get-alerts",
        "summary": "lists alerts based on logfiles.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-alerts"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/checks/stats": {
      "get": {
        "operationId": "get-checksstats",
        "summary": "lists host / service check statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-checksstats"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/cmd": {
      "post": {
        "operationId": "post-cmd",
        "summary": "Sends any command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-cmd"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/commands": {
      "get": {
        "operationId": "get-commands",
        "summary": "lists livestatus commands.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-commands"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/commands/{name}": {
      "get": {
        "operationId": "get-commandsname",
        "summary": "lists commands for given name.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-commandsname"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/commands/{name}/config": {
      "get": {
        "operationId": "get-commandsnameconfig",
        "summary": "Returns configuration for given command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-commandsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-commandsnameconfig",
        "summary": "Replace command configuration completely, use PATCH to only update specific attributes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-commandsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-commandsnameconfig",
        "summary": "Update command configuration partially.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-commandsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-commandsnameconfig",
        "summary": "Deletes given command from configuration.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-commandsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/comments": {
      "get": {
        "operationId": "get-comments",
        "summary": "lists livestatus comments.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-comments"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/comments/{id}": {
      "get": {
        "operationId": "get-commentsid",
        "summary": "lists comments for given id.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-commentsid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/check": {
      "post": {
        "operationId": "post-configcheck",
        "summary": "Returns result from config check. This check does require changes to be saved to disk before running the check.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-configcheck"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/diff": {
      "get": {
        "operationId": "get-configdiff",
        "summary": "Optional arguments:",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-configdiff"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/discard": {
      "post": {
        "operationId": "post-configdiscard",
        "summary": "Reverts stashed configuration changes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-configdiscard"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/files": {
      "get": {
        "operationId": "get-configfiles",
        "summary": "returns all config files",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-configfiles"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/fullobjects": {
      "get": {
        "operationId": "get-configfullobjects",
        "summary": "Returns list of all objects with templates expanded.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-configfullobjects"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/objects": {
      "get": {
        "operationId": "get-configobjects",
        "summary": "Returns list of all objects with their raw config.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-configobjects"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-configobjects",
        "summary": "Create a new object. Besides the actual object configuration, this requires",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-configobjects"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-configobjects",
        "summary": "Change attributes for all matching objects.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-configobjects"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-configobjects",
        "summary": "Delete objects based on filters.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-configobjects"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/objects/{id}": {
      "post": {
        "operationId": "post-configobjectsid",
        "summary": "Replace object configuration completely.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-configobjectsid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-configobjectsid",
        "summary": "Update object configuration partially.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-configobjectsid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-configobjectsid",
        "summary": "Remove given object from configuration.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-configobjectsid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/precheck": {
      "get": {
        "operationId": "get-configprecheck",
        "summary": "Returns result from Thruks config precheck. The precheck does not require changes to be saved to disk before running the check.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-configprecheck"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/reload": {
      "post": {
        "operationId": "post-configreload",
        "summary": "Reloads configuration with the configured reload command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-configreload"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/revert": {
      "post": {
        "operationId": "post-configrevert",
        "summary": "Reverts stashed configuration changes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-configrevert"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/config/save": {
      "post": {
        "operationId": "post-configsave",
        "summary": "Saves stashed configuration changes to disk.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-configsave"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contactgroups": {
      "get": {
        "operationId": "get-contactgroups",
        "summary": "lists livestatus contactgroups.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-contactgroups"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contactgroups/{name}": {
      "get": {
        "operationId": "get-contactgroupsname",
        "summary": "lists contactgroups for given name.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-contactgroupsname"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contactgroups/{name}/cmd/disable_contactgroup_host_notifications": {
      "post": {
        "operationId": "post-contactgroupsnamecmddisable_contactgroup_host_notifications",
        "summary": "Disables host notifications for all contacts in a particular contactgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactgroupsnamecmddisable_contactgroup_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contactgroups/{name}/cmd/disable_contactgroup_svc_notifications": {
      "post": {
        "operationId": "post-contactgroupsnamecmddisable_contactgroup_svc_notifications",
        "summary": "Disables service notifications for all contacts in a particular contactgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactgroupsnamecmddisable_contactgroup_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contactgroups/{name}/cmd/enable_contactgroup_host_notifications": {
      "post": {
        "operationId": "post-contactgroupsnamecmdenable_contactgroup_host_notifications",
        "summary": "Enables host notifications for all contacts in a particular contactgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactgroupsnamecmdenable_contactgroup_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contactgroups/{name}/cmd/enable_contactgroup_svc_notifications": {
      "post": {
        "operationId": "post-contactgroupsnamecmdenable_contactgroup_svc_notifications",
        "summary": "Enables service notifications for all contacts in a particular contactgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactgroupsnamecmdenable_contactgroup_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contactgroups/{name}/config": {
      "get": {
        "operationId": "get-contactgroupsnameconfig",
        "summary": "Returns configuration for given contactgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-contactgroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-contactgroupsnameconfig",
        "summary": "Replace contactgroup configuration completely, use PATCH to only update specific attributes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactgroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-contactgroupsnameconfig",
        "summary": "Update contactgroup configuration partially.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-contactgroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-contactgroupsnameconfig",
        "summary": "Deletes given contactgroup from configuration.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-contactgroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts": {
      "get": {
        "operationId": "get-contacts",
        "summary": "lists livestatus contacts.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-contacts"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/{name}": {
      "get": {
        "operationId": "get-contactsname",
        "summary": "lists contacts for given name.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-contactsname"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/{name}/cmd/change_contact_host_notification_timeperiod": {
      "post": {
        "operationId": "post-contactsnamecmdchange_contact_host_notification_timeperiod",
        "summary": "Changes the host notification timeperiod for a particular contact to what is specified by the 'notification_timeperiod' option. The 'notification_timeperiod' option should be the short name of the timeperiod that is to be used as the contact's host notification timeperiod. The timeperiod must have been configured in Naemon before it was last (re)started.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactsnamecmdchange_contact_host_notification_timeperiod"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/{name}/cmd/change_contact_svc_notification_timeperiod": {
      "post": {
        "operationId": "post-contactsnamecmdchange_contact_svc_notification_timeperiod",
        "summary": "Changes the service notification timeperiod for a particular contact to what is specified by the 'notification_timeperiod' option. The 'notification_timeperiod' option should be the short name of the timeperiod that is to be used as the contact's service notification timeperiod. The timeperiod must have been configured in Naemon before it was last (re)started.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactsnamecmdchange_contact_svc_notification_timeperiod"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/{name}/cmd/change_custom_contact_var": {
      "post": {
        "operationId": "post-contactsnamecmdchange_custom_contact_var",
        "summary": "Changes the value of a custom contact variable.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactsnamecmdchange_custom_contact_var"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/{name}/cmd/disable_contact_host_notifications": {
      "post": {
        "operationId": "post-contactsnamecmddisable_contact_host_notifications",
        "summary": "Disables host notifications for a particular contact.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactsnamecmddisable_contact_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/{name}/cmd/disable_contact_svc_notifications": {
      "post": {
        "operationId": "post-contactsnamecmddisable_contact_svc_notifications",
        "summary": "Disables service notifications for a particular contact.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactsnamecmddisable_contact_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/{name}/cmd/enable_contact_host_notifications": {
      "post": {
        "operationId": "post-contactsnamecmdenable_contact_host_notifications",
        "summary": "Enables host notifications for a particular contact.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactsnamecmdenable_contact_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/{name}/cmd/enable_contact_svc_notifications": {
      "post": {
        "operationId": "post-contactsnamecmdenable_contact_svc_notifications",
        "summary": "Enables service notifications for a particular contact.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactsnamecmdenable_contact_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/{name}/config": {
      "get": {
        "operationId": "get-contactsnameconfig",
        "summary": "Returns configuration for given contact.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-contactsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-contactsnameconfig",
        "summary": "Replace contact configuration completely, use PATCH to only update specific attributes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-contactsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-contactsnameconfig",
        "summary": "Update contact configuration partially.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-contactsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-contactsnameconfig",
        "summary": "Deletes given contact from configuration.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-contactsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/contacts/totals": {
      "get": {
        "operationId": "get-contactstotals",
        "summary": "hash of livestatus contacts totals statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-contactstotals"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/downtimes": {
      "get": {
        "operationId": "get-downtimes",
        "summary": "lists livestatus downtimes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-downtimes"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/downtimes/{id}": {
      "get": {
        "operationId": "get-downtimesid",
        "summary": "lists downtimes for given id.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-downtimesid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups": {
      "get": {
        "operationId": "get-hostgroups",
        "summary": "lists livestatus hostgroups.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostgroups"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups/{name}": {
      "get": {
        "operationId": "get-hostgroupsname",
        "summary": "lists hostgroups for given name.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostgroupsname"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups/{name}/availability": {
      "get": {
        "operationId": "get-hostgroupsnameavailability",
        "summary": "list availability for this hostgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostgroupsnameavailability"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/disable_hostgroup_host_checks": {
      "post": {
        "operationId": "post-hostgroupsnamecmddisable_hostgroup_host_checks",
        "summary": "Sends the DISABLE_HOSTGROUP_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmddisable_hostgroup_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/disable_hostgroup_host_notifications": {
      "post": {
        "operationId": "post-hostgroupsnamecmddisable_hostgroup_host_notifications",
        "summary": "Sends the DISABLE_HOSTGROUP_HOST_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmddisable_hostgroup_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/disable_hostgroup_passive_host_checks": {
      "post": {
        "operationId": "post-hostgroupsnamecmddisable_hostgroup_passive_host_checks",
        "summary": "Disables passive checks for all hosts in a particular hostgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmddisable_hostgroup_passive_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/disable_hostgroup_passive_svc_checks": {
      "post": {
        "operationId": "post-hostgroupsnamecmddisable_hostgroup_passive_svc_checks",
        "summary": "Disables passive checks for all services associated with hosts in a particular hostgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmddisable_hostgroup_passive_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/disable_hostgroup_svc_checks": {
      "post": {
        "operationId": "post-hostgroupsnamecmddisable_hostgroup_svc_checks",
        "summary": "Sends the DISABLE_HOSTGROUP_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmddisable_hostgroup_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/disable_hostgroup_svc_notifications": {
      "post": {
        "operationId": "post-hostgroupsnamecmddisable_hostgroup_svc_notifications",
        "summary": "Sends the DISABLE_HOSTGROUP_SVC_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmddisable_hostgroup_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/enable_hostgroup_host_checks": {
      "post": {
        "operationId": "post-hostgroupsnamecmdenable_hostgroup_host_checks",
        "summary": "Sends the ENABLE_HOSTGROUP_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmdenable_hostgroup_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/enable_hostgroup_host_notifications": {
      "post": {
        "operationId": "post-hostgroupsnamecmdenable_hostgroup_host_notifications",
        "summary": "Sends the ENABLE_HOSTGROUP_HOST_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmdenable_hostgroup_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/enable_hostgroup_passive_host_checks": {
      "post": {
        "operationId": "post-hostgroupsnamecmdenable_hostgroup_passive_host_checks",
        "summary": "Enables passive checks for all hosts in a particular hostgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmdenable_hostgroup_passive_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/enable_hostgroup_passive_svc_checks": {
      "post": {
        "operationId": "post-hostgroupsnamecmdenable_hostgroup_passive_svc_checks",
        "summary": "Enables passive checks for all services associated with hosts in a particular hostgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmdenable_hostgroup_passive_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/enable_hostgroup_svc_checks": {
      "post": {
        "operationId": "post-hostgroupsnamecmdenable_hostgroup_svc_checks",
        "summary": "Sends the ENABLE_HOSTGROUP_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmdenable_hostgroup_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/enable_hostgroup_svc_notifications": {
      "post": {
        "operationId": "post-hostgroupsnamecmdenable_hostgroup_svc_notifications",
        "summary": "Sends the ENABLE_HOSTGROUP_SVC_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmdenable_hostgroup_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/schedule_hostgroup_host_downtime": {
      "post": {
        "operationId": "post-hostgroupsnamecmdschedule_hostgroup_host_downtime",
        "summary": "Sends the SCHEDULE_HOSTGROUP_HOST_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmdschedule_hostgroup_host_downtime"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "fixed": {
                    "type": "string"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hostgroups/{name}/cmd/schedule_hostgroup_svc_downtime": {
      "post": {
        "operationId": "post-hostgroupsnamecmdschedule_hostgroup_svc_downtime",
        "summary": "Sends the SCHEDULE_HOSTGROUP_SVC_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnamecmdschedule_hostgroup_svc_downtime"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "fixed": {
                    "type": "string"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hostgroups/{name}/config": {
      "get": {
        "operationId": "get-hostgroupsnameconfig",
        "summary": "Returns configuration for given hostgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostgroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-hostgroupsnameconfig",
        "summary": "Replace hostgroups configuration completely, use PATCH to only update specific attributes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostgroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-hostgroupsnameconfig",
        "summary": "Update hostgroup configuration partially.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-hostgroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-hostgroupsnameconfig",
        "summary": "Deletes given hostgroup from configuration.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-hostgroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups/{name}/outages": {
      "get": {
        "operationId": "get-hostgroupsnameoutages",
        "summary": "list of outages for this hostgroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostgroupsnameoutages"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hostgroups/{name}/stats": {
      "get": {
        "operationId": "get-hostgroupsnamestats",
        "summary": "hash of livestatus hostgroup statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostgroupsnamestats"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts": {
      "get": {
        "operationId": "get-hosts",
        "summary": "lists livestatus hosts.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hosts"
        },
        "parameters": [
          {
            "name": "columns",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "backends",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Rows with the selected columns.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}": {
      "get": {
        "operationId": "get-hostsname",
        "summary": "lists hosts for given name.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsname"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/alerts": {
      "get": {
        "operationId": "get-hostsnamealerts",
        "summary": "lists alerts for given host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsnamealerts"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/availability": {
      "get": {
        "operationId": "get-hostsnameavailability",
        "summary": "list availability for this host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsnameavailability"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/acknowledge_host_problem": {
      "post": {
        "operationId": "post-hostsnamecmdacknowledge_host_problem",
        "summary": "Sends the ACKNOWLEDGE_HOST_PROBLEM command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdacknowledge_host_problem"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "sticky_ack": {
                    "type": "string"
                  },
                  "send_notification": {
                    "type": "string"
                  },
                  "persistent_comment": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/acknowledge_host_problem_expire": {
      "post": {
        "operationId": "post-hostsnamecmdacknowledge_host_problem_expire",
        "summary": "Sends the ACKNOWLEDGE_HOST_PROBLEM_EXPIRE command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdacknowledge_host_problem_expire"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "sticky_ack": {
                    "type": "string"
                  },
                  "send_notification": {
                    "type": "string"
                  },
                  "persistent_comment": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/add_host_comment": {
      "post": {
        "operationId": "post-hostsnamecmdadd_host_comment",
        "summary": "Sends the ADD_HOST_COMMENT command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdadd_host_comment"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "persistent_comment": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/change_custom_host_var": {
      "post": {
        "operationId": "post-hostsnamecmdchange_custom_host_var",
        "summary": "Changes the value of a custom host variable.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdchange_custom_host_var"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/change_host_check_timeperiod": {
      "post": {
        "operationId": "post-hostsnamecmdchange_host_check_timeperiod",
        "summary": "Changes the valid check period for the specified host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdchange_host_check_timeperiod"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/change_host_modattr": {
      "post": {
        "operationId": "post-hostsnamecmdchange_host_modattr",
        "summary": "Sends the CHANGE_HOST_MODATTR command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdchange_host_modattr"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/change_host_notification_timeperiod": {
      "post": {
        "operationId": "post-hostsnamecmdchange_host_notification_timeperiod",
        "summary": "Changes the host notification timeperiod to what is specified by the 'notification_timeperiod' option. The 'notification_timeperiod' option should be the short name of the timeperiod that is to be used as the service notification timeperiod. The timeperiod must have been configured in Naemon before it was last (re)started.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdchange_host_notification_timeperiod"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/change_max_host_check_attempts": {
      "post": {
        "operationId": "post-hostsnamecmdchange_max_host_check_attempts",
        "summary": "Changes the maximum number of check attempts (retries) for a particular host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdchange_max_host_check_attempts"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/change_normal_host_check_interval": {
      "post": {
        "operationId": "post-hostsnamecmdchange_normal_host_check_interval",
        "summary": "Changes the normal (regularly scheduled) check interval for a particular host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdchange_normal_host_check_interval"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/change_retry_host_check_interval": {
      "post": {
        "operationId": "post-hostsnamecmdchange_retry_host_check_interval",
        "summary": "Changes the retry check interval for a particular host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdchange_retry_host_check_interval"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/del_active_host_downtimes": {
      "post": {
        "operationId": "post-hostsnamecmddel_active_host_downtimes",
        "summary": "Removes all currently active downtimes for this host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddel_active_host_downtimes"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/del_all_host_comments": {
      "post": {
        "operationId": "post-hostsnamecmddel_all_host_comments",
        "summary": "Sends the DEL_ALL_HOST_COMMENTS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddel_all_host_comments"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/del_comment": {
      "post": {
        "operationId": "post-hostsnamecmddel_comment",
        "summary": "Removes comment by id for this host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddel_comment"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/del_downtime": {
      "post": {
        "operationId": "post-hostsnamecmddel_downtime",
        "summary": "Removes downtime by id for this host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddel_downtime"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/delay_host_notification": {
      "post": {
        "operationId": "post-hostsnamecmddelay_host_notification",
        "summary": "Sends the DELAY_HOST_NOTIFICATION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddelay_host_notification"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "notification_time": {
                    "type": "string"
                  }
                },
                "required": [
                  "notification_time"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/disable_all_notifications_beyond_host": {
      "post": {
        "operationId": "post-hostsnamecmddisable_all_notifications_beyond_host",
        "summary": "Sends the DISABLE_ALL_NOTIFICATIONS_BEYOND_HOST command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddisable_all_notifications_beyond_host"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/disable_host_and_child_notifications": {
      "post": {
        "operationId": "post-hostsnamecmddisable_host_and_child_notifications",
        "summary": "Sends the DISABLE_HOST_AND_CHILD_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddisable_host_and_child_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/disable_host_check": {
      "post": {
        "operationId": "post-hostsnamecmddisable_host_check",
        "summary": "Sends the DISABLE_HOST_CHECK command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddisable_host_check"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/disable_host_event_handler": {
      "post": {
        "operationId": "post-hostsnamecmddisable_host_event_handler",
        "summary": "Sends the DISABLE_HOST_EVENT_HANDLER command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddisable_host_event_handler"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/disable_host_flap_detection": {
      "post": {
        "operationId": "post-hostsnamecmddisable_host_flap_detection",
        "summary": "Sends the DISABLE_HOST_FLAP_DETECTION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddisable_host_flap_detection"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/disable_host_notifications": {
      "post": {
        "operationId": "post-hostsnamecmddisable_host_notifications",
        "summary": "Sends the DISABLE_HOST_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddisable_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/disable_host_svc_checks": {
      "post": {
        "operationId": "post-hostsnamecmddisable_host_svc_checks",
        "summary": "Sends the DISABLE_HOST_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddisable_host_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/disable_host_svc_notifications": {
      "post": {
        "operationId": "post-hostsnamecmddisable_host_svc_notifications",
        "summary": "Sends the DISABLE_HOST_SVC_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddisable_host_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/disable_passive_host_checks": {
      "post": {
        "operationId": "post-hostsnamecmddisable_passive_host_checks",
        "summary": "Sends the DISABLE_PASSIVE_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmddisable_passive_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/enable_all_notifications_beyond_host": {
      "post": {
        "operationId": "post-hostsnamecmdenable_all_notifications_beyond_host",
        "summary": "Sends the ENABLE_ALL_NOTIFICATIONS_BEYOND_HOST command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdenable_all_notifications_beyond_host"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/enable_host_and_child_notifications": {
      "post": {
        "operationId": "post-hostsnamecmdenable_host_and_child_notifications",
        "summary": "Sends the ENABLE_HOST_AND_CHILD_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdenable_host_and_child_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/enable_host_check": {
      "post": {
        "operationId": "post-hostsnamecmdenable_host_check",
        "summary": "Sends the ENABLE_HOST_CHECK command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdenable_host_check"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/enable_host_event_handler": {
      "post": {
        "operationId": "post-hostsnamecmdenable_host_event_handler",
        "summary": "Sends the ENABLE_HOST_EVENT_HANDLER command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdenable_host_event_handler"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/enable_host_flap_detection": {
      "post": {
        "operationId": "post-hostsnamecmdenable_host_flap_detection",
        "summary": "Sends the ENABLE_HOST_FLAP_DETECTION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdenable_host_flap_detection"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/enable_host_notifications": {
      "post": {
        "operationId": "post-hostsnamecmdenable_host_notifications",
        "summary": "Sends the ENABLE_HOST_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdenable_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/enable_host_svc_checks": {
      "post": {
        "operationId": "post-hostsnamecmdenable_host_svc_checks",
        "summary": "Sends the ENABLE_HOST_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdenable_host_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/enable_host_svc_notifications": {
      "post": {
        "operationId": "post-hostsnamecmdenable_host_svc_notifications",
        "summary": "Sends the ENABLE_HOST_SVC_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdenable_host_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/enable_passive_host_checks": {
      "post": {
        "operationId": "post-hostsnamecmdenable_passive_host_checks",
        "summary": "Sends the ENABLE_PASSIVE_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdenable_passive_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/note": {
      "post": {
        "operationId": "post-hostsnamecmdnote",
        "summary": "Add host note to core log.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdnote"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/process_host_check_result": {
      "post": {
        "operationId": "post-hostsnamecmdprocess_host_check_result",
        "summary": "Sends the PROCESS_HOST_CHECK_RESULT command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdprocess_host_check_result"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "plugin_state": {
                    "type": "string"
                  },
                  "plugin_output": {
                    "type": "string"
                  },
                  "performance_data": {
                    "type": "string"
                  }
                },
                "required": [
                  "plugin_state",
                  "plugin_output"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/remove_host_acknowledgement": {
      "post": {
        "operationId": "post-hostsnamecmdremove_host_acknowledgement",
        "summary": "Sends the REMOVE_HOST_ACKNOWLEDGEMENT command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdremove_host_acknowledgement"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/schedule_and_propagate_host_downtime": {
      "post": {
        "operationId": "post-hostsnamecmdschedule_and_propagate_host_downtime",
        "summary": "Sends the SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdschedule_and_propagate_host_downtime"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "fixed": {
                    "type": "string"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/schedule_and_propagate_triggered_host_downtime": {
      "post": {
        "operationId": "post-hostsnamecmdschedule_and_propagate_triggered_host_downtime",
        "summary": "Sends the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdschedule_and_propagate_triggered_host_downtime"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "fixed": {
                    "type": "string"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/schedule_forced_host_check": {
      "post": {
        "operationId": "post-hostsnamecmdschedule_forced_host_check",
        "summary": "Sends the SCHEDULE_FORCED_HOST_CHECK command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdschedule_forced_host_check"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "start_time": {
                    "type": "string"
                  }
                },
                "required": []
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/schedule_forced_host_svc_checks": {
      "post": {
        "operationId": "post-hostsnamecmdschedule_forced_host_svc_checks",
        "summary": "Sends the SCHEDULE_FORCED_HOST_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdschedule_forced_host_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "start_time": {
                    "type": "string"
                  }
                },
                "required": []
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/schedule_host_check": {
      "post": {
        "operationId": "post-hostsnamecmdschedule_host_check",
        "summary": "Sends the SCHEDULE_HOST_CHECK command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdschedule_host_check"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "start_time": {
                    "type": "string"
                  }
                },
                "required": []
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/schedule_host_downtime": {
      "post": {
        "operationId": "post-hostsnamecmdschedule_host_downtime",
        "summary": "Sends the SCHEDULE_HOST_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdschedule_host_downtime"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "fixed": {
                    "type": "string"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/schedule_host_svc_checks": {
      "post": {
        "operationId": "post-hostsnamecmdschedule_host_svc_checks",
        "summary": "Sends the SCHEDULE_HOST_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdschedule_host_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "start_time": {
                    "type": "string"
                  }
                },
                "required": []
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/schedule_host_svc_downtime": {
      "post": {
        "operationId": "post-hostsnamecmdschedule_host_svc_downtime",
        "summary": "Sends the SCHEDULE_HOST_SVC_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdschedule_host_svc_downtime"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "fixed": {
                    "type": "string"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/send_custom_host_notification": {
      "post": {
        "operationId": "post-hostsnamecmdsend_custom_host_notification",
        "summary": "Sends the SEND_CUSTOM_HOST_NOTIFICATION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdsend_custom_host_notification"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "options": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/hosts/{name}/cmd/set_host_notification_number": {
      "post": {
        "operationId": "post-hostsnamecmdset_host_notification_number",
        "summary": "Sets the current notification number for a particular host. A value of 0 indicates that no notification has yet been sent for the current host problem. Useful for forcing an escalation (based on notification number) or replicating notification information in redundant monitoring environments. Notification numbers greater than zero have no noticeable affect on the notification process if the host is currently in an UP state.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdset_host_notification_number"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/cmd/start_obsessing_over_host": {
      "post": {
        "operationId": "post-hostsnamecmdstart_obsessing_over_host",
        "summary": "Sends the START_OBSESSING_OVER_HOST command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdstart_obsessing_over_host"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/cmd/stop_obsessing_over_host": {
      "post": {
        "operationId": "post-hostsnamecmdstop_obsessing_over_host",
        "summary": "Sends the STOP_OBSESSING_OVER_HOST command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnamecmdstop_obsessing_over_host"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/hosts/{name}/commandline": {
      "get": {
        "operationId": "get-hostsnamecommandline",
        "summary": "displays commandline for check command of given hosts.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsnamecommandline"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/config": {
      "get": {
        "operationId": "get-hostsnameconfig",
        "summary": "Returns configuration for given host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-hostsnameconfig",
        "summary": "Replace host configuration completely, use PATCH to only update specific attributes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-hostsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-hostsnameconfig",
        "summary": "Update host configuration partially.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-hostsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-hostsnameconfig",
        "summary": "Deletes given host from configuration.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-hostsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/notifications": {
      "get": {
        "operationId": "get-hostsnamenotifications",
        "summary": "lists notifications for given host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsnamenotifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/outages": {
      "get": {
        "operationId": "get-hostsnameoutages",
        "summary": "list of outages for this host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsnameoutages"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/{name}/services": {
      "get": {
        "operationId": "get-hostsnameservices",
        "summary": "lists services for given host.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsnameservices"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/availability": {
      "get": {
        "operationId": "get-hostsavailability",
        "summary": "list availability for all hosts.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsavailability"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/outages": {
      "get": {
        "operationId": "get-hostsoutages",
        "summary": "list of outages for all hosts.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsoutages"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/stats": {
      "get": {
        "operationId": "get-hostsstats",
        "summary": "hash of livestatus host statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hostsstats"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/hosts/totals": {
      "get": {
        "operationId": "get-hoststotals",
        "summary": "hash of livestatus host totals statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-hoststotals"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/index": {
      "get": {
        "operationId": "get-index",
        "summary": "lists all available rest urls.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-index"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/lmd/sites": {
      "get": {
        "operationId": "get-lmdsites",
        "summary": "lists connected sites. Only available if LMD (`use_lmd`) is enabled.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-lmdsites"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/logs": {
      "get": {
        "operationId": "get-logs",
        "summary": "lists livestatus logs.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-logs"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/notifications": {
      "get": {
        "operationId": "get-notifications",
        "summary": "lists notifications based on logfiles.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-notifications"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/processinfo": {
      "get": {
        "operationId": "get-processinfo",
        "summary": "lists livestatus sites status.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-processinfo"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/processinfo/stats": {
      "get": {
        "operationId": "get-processinfostats",
        "summary": "lists livestatus sites statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-processinfostats"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups": {
      "get": {
        "operationId": "get-servicegroups",
        "summary": "lists livestatus servicegroups.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicegroups"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups/{name}": {
      "get": {
        "operationId": "get-servicegroupsname",
        "summary": "lists servicegroups for given name.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicegroupsname"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups/{name}/availability": {
      "get": {
        "operationId": "get-servicegroupsnameavailability",
        "summary": "list availability for this servicegroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicegroupsnameavailability"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/disable_servicegroup_host_checks": {
      "post": {
        "operationId": "post-servicegroupsnamecmddisable_servicegroup_host_checks",
        "summary": "Sends the DISABLE_SERVICEGROUP_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmddisable_servicegroup_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/disable_servicegroup_host_notifications": {
      "post": {
        "operationId": "post-servicegroupsnamecmddisable_servicegroup_host_notifications",
        "summary": "Sends the DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmddisable_servicegroup_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/disable_servicegroup_passive_host_checks": {
      "post": {
        "operationId": "post-servicegroupsnamecmddisable_servicegroup_passive_host_checks",
        "summary": "Disables the acceptance and processing of passive checks for all hosts that have services that are members of a particular service group.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmddisable_servicegroup_passive_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/disable_servicegroup_passive_svc_checks": {
      "post": {
        "operationId": "post-servicegroupsnamecmddisable_servicegroup_passive_svc_checks",
        "summary": "Disables the acceptance and processing of passive checks for all services in a particular servicegroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmddisable_servicegroup_passive_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/disable_servicegroup_svc_checks": {
      "post": {
        "operationId": "post-servicegroupsnamecmddisable_servicegroup_svc_checks",
        "summary": "Sends the DISABLE_SERVICEGROUP_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmddisable_servicegroup_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/disable_servicegroup_svc_notifications": {
      "post": {
        "operationId": "post-servicegroupsnamecmddisable_servicegroup_svc_notifications",
        "summary": "Sends the DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmddisable_servicegroup_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/enable_servicegroup_host_checks": {
      "post": {
        "operationId": "post-servicegroupsnamecmdenable_servicegroup_host_checks",
        "summary": "Sends the ENABLE_SERVICEGROUP_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmdenable_servicegroup_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/enable_servicegroup_host_notifications": {
      "post": {
        "operationId": "post-servicegroupsnamecmdenable_servicegroup_host_notifications",
        "summary": "Sends the ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmdenable_servicegroup_host_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/enable_servicegroup_passive_host_checks": {
      "post": {
        "operationId": "post-servicegroupsnamecmdenable_servicegroup_passive_host_checks",
        "summary": "Enables the acceptance and processing of passive checks for all hosts that have services that are members of a particular service group.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmdenable_servicegroup_passive_host_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/enable_servicegroup_passive_svc_checks": {
      "post": {
        "operationId": "post-servicegroupsnamecmdenable_servicegroup_passive_svc_checks",
        "summary": "Enables the acceptance and processing of passive checks for all services in a particular servicegroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmdenable_servicegroup_passive_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/enable_servicegroup_svc_checks": {
      "post": {
        "operationId": "post-servicegroupsnamecmdenable_servicegroup_svc_checks",
        "summary": "Sends the ENABLE_SERVICEGROUP_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmdenable_servicegroup_svc_checks"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/enable_servicegroup_svc_notifications": {
      "post": {
        "operationId": "post-servicegroupsnamecmdenable_servicegroup_svc_notifications",
        "summary": "Sends the ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmdenable_servicegroup_svc_notifications"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/schedule_servicegroup_host_downtime": {
      "post": {
        "operationId": "post-servicegroupsnamecmdschedule_servicegroup_host_downtime",
        "summary": "Sends the SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmdschedule_servicegroup_host_downtime"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "fixed": {
                    "type": "string"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/servicegroups/{name}/cmd/schedule_servicegroup_svc_downtime": {
      "post": {
        "operationId": "post-servicegroupsnamecmdschedule_servicegroup_svc_downtime",
        "summary": "Sends the SCHEDULE_SERVICEGROUP_SVC_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnamecmdschedule_servicegroup_svc_downtime"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "fixed": {
                    "type": "string"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/servicegroups/{name}/config": {
      "get": {
        "operationId": "get-servicegroupsnameconfig",
        "summary": "Returns configuration for given servicegroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicegroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-servicegroupsnameconfig",
        "summary": "Replace servicegroup configuration completely, use PATCH to only update specific attributes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-servicegroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-servicegroupsnameconfig",
        "summary": "Update servicegroup configuration partially.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-servicegroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-servicegroupsnameconfig",
        "summary": "Deletes given servicegroup from configuration.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-servicegroupsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups/{name}/outages": {
      "get": {
        "operationId": "get-servicegroupsnameoutages",
        "summary": "list of outages for this servicegroup.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicegroupsnameoutages"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/servicegroups/{name}/stats": {
      "get": {
        "operationId": "get-servicegroupsnamestats",
        "summary": "hash of livestatus servicegroup statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicegroupsnamestats"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services": {
      "get": {
        "operationId": "get-services",
        "summary": "lists livestatus services.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-services"
        },
        "parameters": [
          {
            "name": "columns",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "backends",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Rows with the selected columns.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}": {
      "get": {
        "operationId": "get-serviceshostservice",
        "summary": "lists services for given host and name.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-serviceshostservice"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/availability": {
      "get": {
        "operationId": "get-serviceshostserviceavailability",
        "summary": "list of outages for this service.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-serviceshostserviceavailability"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/acknowledge_svc_problem": {
      "post": {
        "operationId": "post-serviceshostservicecmdacknowledge_svc_problem",
        "summary": "Sends the ACKNOWLEDGE_SVC_PROBLEM command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdacknowledge_svc_problem"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "sticky_ack": {
                    "type": "string"
                  },
                  "send_notification": {
                    "type": "string"
                  },
                  "persistent_comment": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/acknowledge_svc_problem_expire": {
      "post": {
        "operationId": "post-serviceshostservicecmdacknowledge_svc_problem_expire",
        "summary": "Sends the ACKNOWLEDGE_SVC_PROBLEM_EXPIRE command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdacknowledge_svc_problem_expire"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "sticky_ack": {
                    "type": "string"
                  },
                  "send_notification": {
                    "type": "string"
                  },
                  "persistent_comment": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/add_svc_comment": {
      "post": {
        "operationId": "post-serviceshostservicecmdadd_svc_comment",
        "summary": "Sends the ADD_SVC_COMMENT command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdadd_svc_comment"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "persistent_comment": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/change_custom_svc_var": {
      "post": {
        "operationId": "post-serviceshostservicecmdchange_custom_svc_var",
        "summary": "Changes the value of a custom service variable.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdchange_custom_svc_var"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/change_max_svc_check_attempts": {
      "post": {
        "operationId": "post-serviceshostservicecmdchange_max_svc_check_attempts",
        "summary": "Changes the maximum number of check attempts (retries) for a particular service.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdchange_max_svc_check_attempts"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/change_normal_svc_check_interval": {
      "post": {
        "operationId": "post-serviceshostservicecmdchange_normal_svc_check_interval",
        "summary": "Changes the normal (regularly scheduled) check interval for a particular service",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdchange_normal_svc_check_interval"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/change_retry_svc_check_interval": {
      "post": {
        "operationId": "post-serviceshostservicecmdchange_retry_svc_check_interval",
        "summary": "Changes the retry check interval for a particular service.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdchange_retry_svc_check_interval"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/change_svc_check_timeperiod": {
      "post": {
        "operationId": "post-serviceshostservicecmdchange_svc_check_timeperiod",
        "summary": "Changes the check timeperiod for a particular service to what is specified by the 'check_timeperiod' option. The 'check_timeperiod' option should be the short name of the timeperiod that is to be used as the service check timeperiod. The timeperiod must have been configured in Naemon before it was last (re)started.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdchange_svc_check_timeperiod"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/change_svc_modattr": {
      "post": {
        "operationId": "post-serviceshostservicecmdchange_svc_modattr",
        "summary": "Sends the CHANGE_SVC_MODATTR command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdchange_svc_modattr"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/change_svc_notification_timeperiod": {
      "post": {
        "operationId": "post-serviceshostservicecmdchange_svc_notification_timeperiod",
        "summary": "Changes the service notification timeperiod to what is specified by the 'notification_timeperiod' option. The 'notification_timeperiod' option should be the short name of the timeperiod that is to be used as the service notification timeperiod. The timeperiod must have been configured in Naemon before it was last (re)started.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdchange_svc_notification_timeperiod"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/del_active_service_downtimes": {
      "post": {
        "operationId": "post-serviceshostservicecmddel_active_service_downtimes",
        "summary": "Removes all currently active downtimes for this service.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddel_active_service_downtimes"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/del_all_svc_comments": {
      "post": {
        "operationId": "post-serviceshostservicecmddel_all_svc_comments",
        "summary": "Sends the DEL_ALL_SVC_COMMENTS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddel_all_svc_comments"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/del_comment": {
      "post": {
        "operationId": "post-serviceshostservicecmddel_comment",
        "summary": "Removes comment by id for this service.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddel_comment"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/del_downtime": {
      "post": {
        "operationId": "post-serviceshostservicecmddel_downtime",
        "summary": "Removes downtime by id for this service.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddel_downtime"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/delay_svc_notification": {
      "post": {
        "operationId": "post-serviceshostservicecmddelay_svc_notification",
        "summary": "Sends the DELAY_SVC_NOTIFICATION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddelay_svc_notification"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "notification_time": {
                    "type": "string"
                  }
                },
                "required": [
                  "notification_time"
                ]
              }
            }
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/disable_passive_svc_checks": {
      "post": {
        "operationId": "post-serviceshostservicecmddisable_passive_svc_checks",
        "summary": "Sends the DISABLE_PASSIVE_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddisable_passive_svc_checks"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/disable_svc_check": {
      "post": {
        "operationId": "post-serviceshostservicecmddisable_svc_check",
        "summary": "Sends the DISABLE_SVC_CHECK command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddisable_svc_check"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/disable_svc_event_handler": {
      "post": {
        "operationId": "post-serviceshostservicecmddisable_svc_event_handler",
        "summary": "Sends the DISABLE_SVC_EVENT_HANDLER command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddisable_svc_event_handler"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/disable_svc_flap_detection": {
      "post": {
        "operationId": "post-serviceshostservicecmddisable_svc_flap_detection",
        "summary": "Sends the DISABLE_SVC_FLAP_DETECTION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddisable_svc_flap_detection"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/disable_svc_notifications": {
      "post": {
        "operationId": "post-serviceshostservicecmddisable_svc_notifications",
        "summary": "Sends the DISABLE_SVC_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmddisable_svc_notifications"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/enable_passive_svc_checks": {
      "post": {
        "operationId": "post-serviceshostservicecmdenable_passive_svc_checks",
        "summary": "Sends the ENABLE_PASSIVE_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdenable_passive_svc_checks"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/enable_svc_check": {
      "post": {
        "operationId": "post-serviceshostservicecmdenable_svc_check",
        "summary": "Sends the ENABLE_SVC_CHECK command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdenable_svc_check"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/enable_svc_event_handler": {
      "post": {
        "operationId": "post-serviceshostservicecmdenable_svc_event_handler",
        "summary": "Sends the ENABLE_SVC_EVENT_HANDLER command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdenable_svc_event_handler"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/enable_svc_flap_detection": {
      "post": {
        "operationId": "post-serviceshostservicecmdenable_svc_flap_detection",
        "summary": "Sends the ENABLE_SVC_FLAP_DETECTION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdenable_svc_flap_detection"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/enable_svc_notifications": {
      "post": {
        "operationId": "post-serviceshostservicecmdenable_svc_notifications",
        "summary": "Sends the ENABLE_SVC_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdenable_svc_notifications"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/note": {
      "post": {
        "operationId": "post-serviceshostservicecmdnote",
        "summary": "Add service note to core log.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdnote"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/process_service_check_result": {
      "post": {
        "operationId": "post-serviceshostservicecmdprocess_service_check_result",
        "summary": "Sends the PROCESS_SERVICE_CHECK_RESULT command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdprocess_service_check_result"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "plugin_state": {
                    "type": "string"
                  },
                  "plugin_output": {
                    "type": "string"
                  },
                  "performance_data": {
                    "type": "string"
                  }
                },
                "required": [
                  "plugin_state",
                  "plugin_output"
                ]
              }
            }
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/remove_svc_acknowledgement": {
      "post": {
        "operationId": "post-serviceshostservicecmdremove_svc_acknowledgement",
        "summary": "Sends the REMOVE_SVC_ACKNOWLEDGEMENT command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdremove_svc_acknowledgement"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/schedule_forced_svc_check": {
      "post": {
        "operationId": "post-serviceshostservicecmdschedule_forced_svc_check",
        "summary": "Sends the SCHEDULE_FORCED_SVC_CHECK command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdschedule_forced_svc_check"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "start_time": {
                    "type": "string"
                  }
                },
                "required": []
              }
            }
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/schedule_svc_check": {
      "post": {
        "operationId": "post-serviceshostservicecmdschedule_svc_check",
        "summary": "Sends the SCHEDULE_SVC_CHECK command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdschedule_svc_check"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "start_time": {
                    "type": "string"
                  }
                },
                "required": []
              }
            }
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/schedule_svc_downtime": {
      "post": {
        "operationId": "post-serviceshostservicecmdschedule_svc_downtime",
        "summary": "Sends the SCHEDULE_SVC_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdschedule_svc_downtime"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "start_time": {
                    "type": "string"
                  },
                  "end_time": {
                    "type": "string"
                  },
                  "fixed": {
                    "type": "string"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/send_custom_svc_notification": {
      "post": {
        "operationId": "post-serviceshostservicecmdsend_custom_svc_notification",
        "summary": "Sends the SEND_CUSTOM_SVC_NOTIFICATION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdsend_custom_svc_notification"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_data": {
                    "type": "string"
                  },
                  "options": {
                    "type": "string"
                  },
                  "comment_author": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_data"
                ]
              }
            }
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/set_svc_notification_number": {
      "post": {
        "operationId": "post-serviceshostservicecmdset_svc_notification_number",
        "summary": "Sets the current notification number for a particular service. A value of 0 indicates that no notification has yet been sent for the current service problem. Useful for forcing an escalation (based on notification number) or replicating notification information in redundant monitoring environments. Notification numbers greater than zero have no noticeable affect on the notification process if the service is currently in an OK state.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdset_svc_notification_number"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/start_obsessing_over_svc": {
      "post": {
        "operationId": "post-serviceshostservicecmdstart_obsessing_over_svc",
        "summary": "Sends the START_OBSESSING_OVER_SVC command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdstart_obsessing_over_svc"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/cmd/stop_obsessing_over_svc": {
      "post": {
        "operationId": "post-serviceshostservicecmdstop_obsessing_over_svc",
        "summary": "Sends the STOP_OBSESSING_OVER_SVC command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostservicecmdstop_obsessing_over_svc"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/services/{host}/{service}/commandline": {
      "get": {
        "operationId": "get-serviceshostservicecommandline",
        "summary": "displays commandline for check command of given services.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-serviceshostservicecommandline"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/config": {
      "get": {
        "operationId": "get-serviceshostserviceconfig",
        "summary": "Returns configuration for given service.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-serviceshostserviceconfig"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-serviceshostserviceconfig",
        "summary": "Replace service configuration completely, use PATCH to only update specific attributes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-serviceshostserviceconfig"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-serviceshostserviceconfig",
        "summary": "Update service configuration partially.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-serviceshostserviceconfig"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-serviceshostserviceconfig",
        "summary": "Deletes given service from configuration.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-serviceshostserviceconfig"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/{host}/{service}/outages": {
      "get": {
        "operationId": "get-serviceshostserviceoutages",
        "summary": "list of outages for this service.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-serviceshostserviceoutages"
        },
        "parameters": [
          {
            "name": "host",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "service",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/availability": {
      "get": {
        "operationId": "get-servicesavailability",
        "summary": "list availability for all services.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicesavailability"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/outages": {
      "get": {
        "operationId": "get-servicesoutages",
        "summary": "list of outages for all services.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicesoutages"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/stats": {
      "get": {
        "operationId": "get-servicesstats",
        "summary": "livestatus service statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicesstats"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/services/totals": {
      "get": {
        "operationId": "get-servicestotals",
        "summary": "livestatus service totals statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-servicestotals"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/sites": {
      "get": {
        "operationId": "get-sites",
        "summary": "lists configured backends",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-sites"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/change_global_host_event_handler": {
      "post": {
        "operationId": "post-systemcmdchange_global_host_event_handler",
        "summary": "Changes the global host event handler command to be that specified by the 'event_handler_command' option. The 'event_handler_command' option specifies the short name of the command that should be used as the new host event handler. The command must have been configured in Naemon before it was last (re)started.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdchange_global_host_event_handler"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/change_global_svc_event_handler": {
      "post": {
        "operationId": "post-systemcmdchange_global_svc_event_handler",
        "summary": "Changes the global service event handler command to be that specified by the 'event_handler_command' option. The 'event_handler_command' option specifies the short name of the command that should be used as the new service event handler. The command must have been configured in Naemon before it was last (re)started.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdchange_global_svc_event_handler"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/del_downtime_by_host_name": {
      "post": {
        "operationId": "post-systemcmddel_downtime_by_host_name",
        "summary": "This command deletes all downtimes matching the specified filters.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddel_downtime_by_host_name"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/del_downtime_by_hostgroup_name": {
      "post": {
        "operationId": "post-systemcmddel_downtime_by_hostgroup_name",
        "summary": "This command deletes all downtimes matching the specified filters.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddel_downtime_by_hostgroup_name"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/del_downtime_by_start_time_comment": {
      "post": {
        "operationId": "post-systemcmddel_downtime_by_start_time_comment",
        "summary": "This command deletes all downtimes matching the specified filters.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddel_downtime_by_start_time_comment"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/del_host_comment": {
      "post": {
        "operationId": "post-systemcmddel_host_comment",
        "summary": "Sends the DEL_HOST_COMMENT command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddel_host_comment"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_id"
                ]
              }
            }
          }
        }
      }
    },
    "/system/cmd/del_host_downtime": {
      "post": {
        "operationId": "post-systemcmddel_host_downtime",
        "summary": "Sends the DEL_HOST_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddel_host_downtime"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "downtime_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "downtime_id"
                ]
              }
            }
          }
        }
      }
    },
    "/system/cmd/del_svc_comment": {
      "post": {
        "operationId": "post-systemcmddel_svc_comment",
        "summary": "Sends the DEL_SVC_COMMENT command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddel_svc_comment"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "comment_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "comment_id"
                ]
              }
            }
          }
        }
      }
    },
    "/system/cmd/del_svc_downtime": {
      "post": {
        "operationId": "post-systemcmddel_svc_downtime",
        "summary": "Sends the DEL_SVC_DOWNTIME command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddel_svc_downtime"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "downtime_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "downtime_id"
                ]
              }
            }
          }
        }
      }
    },
    "/system/cmd/disable_event_handlers": {
      "post": {
        "operationId": "post-systemcmddisable_event_handlers",
        "summary": "Sends the DISABLE_EVENT_HANDLERS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddisable_event_handlers"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/disable_flap_detection": {
      "post": {
        "operationId": "post-systemcmddisable_flap_detection",
        "summary": "Sends the DISABLE_FLAP_DETECTION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddisable_flap_detection"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/disable_host_freshness_checks": {
      "post": {
        "operationId": "post-systemcmddisable_host_freshness_checks",
        "summary": "Disables freshness checks of all hosts on a program-wide basis.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddisable_host_freshness_checks"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/disable_notifications": {
      "post": {
        "operationId": "post-systemcmddisable_notifications",
        "summary": "Sends the DISABLE_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddisable_notifications"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/disable_performance_data": {
      "post": {
        "operationId": "post-systemcmddisable_performance_data",
        "summary": "Sends the DISABLE_PERFORMANCE_DATA command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddisable_performance_data"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/disable_service_freshness_checks": {
      "post": {
        "operationId": "post-systemcmddisable_service_freshness_checks",
        "summary": "Disables freshness checks of all services on a program-wide basis.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmddisable_service_freshness_checks"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/enable_event_handlers": {
      "post": {
        "operationId": "post-systemcmdenable_event_handlers",
        "summary": "Sends the ENABLE_EVENT_HANDLERS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdenable_event_handlers"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/enable_flap_detection": {
      "post": {
        "operationId": "post-systemcmdenable_flap_detection",
        "summary": "Sends the ENABLE_FLAP_DETECTION command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdenable_flap_detection"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/enable_host_freshness_checks": {
      "post": {
        "operationId": "post-systemcmdenable_host_freshness_checks",
        "summary": "Enables freshness checks of all hosts on a program-wide basis. Individual hosts that have freshness checks disabled will not be checked for freshness.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdenable_host_freshness_checks"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/enable_notifications": {
      "post": {
        "operationId": "post-systemcmdenable_notifications",
        "summary": "Sends the ENABLE_NOTIFICATIONS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdenable_notifications"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/enable_performance_data": {
      "post": {
        "operationId": "post-systemcmdenable_performance_data",
        "summary": "Sends the ENABLE_PERFORMANCE_DATA command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdenable_performance_data"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/enable_service_freshness_checks": {
      "post": {
        "operationId": "post-systemcmdenable_service_freshness_checks",
        "summary": "Enables freshness checks of all services on a program-wide basis. Individual services that have freshness checks disabled will not be checked for freshness.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdenable_service_freshness_checks"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/log": {
      "post": {
        "operationId": "post-systemcmdlog",
        "summary": "Add custom log entry to core log.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdlog"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/read_state_information": {
      "post": {
        "operationId": "post-systemcmdread_state_information",
        "summary": "Causes Naemon to load all current monitoring status information from the state retention file. Normally, state retention information is loaded when the Naemon process starts up and before it starts monitoring. WARNING: This command will cause Naemon to discard all current monitoring status information and use the information stored in state retention file! Use with care.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdread_state_information"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/restart_process": {
      "post": {
        "operationId": "post-systemcmdrestart_process",
        "summary": "Sends the RESTART_PROCESS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdrestart_process"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/restart_program": {
      "post": {
        "operationId": "post-systemcmdrestart_program",
        "summary": "Restarts the Naemon process.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdrestart_program"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/save_state_information": {
      "post": {
        "operationId": "post-systemcmdsave_state_information",
        "summary": "Causes Naemon to save all current monitoring status information to the state retention file. Normally, state retention information is saved before the Naemon process shuts down and (potentially) at regularly scheduled intervals. This command allows you to force Naemon to save this information to the state retention file immediately. This does not affect the current status information in the Naemon process.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdsave_state_information"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/shutdown_process": {
      "post": {
        "operationId": "post-systemcmdshutdown_process",
        "summary": "Sends the SHUTDOWN_PROCESS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdshutdown_process"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/shutdown_program": {
      "post": {
        "operationId": "post-systemcmdshutdown_program",
        "summary": "Shuts down the Naemon process.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdshutdown_program"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/system/cmd/start_accepting_passive_host_checks": {
      "post": {
        "operationId": "post-systemcmdstart_accepting_passive_host_checks",
        "summary": "Sends the START_ACCEPTING_PASSIVE_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstart_accepting_passive_host_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/start_accepting_passive_svc_checks": {
      "post": {
        "operationId": "post-systemcmdstart_accepting_passive_svc_checks",
        "summary": "Sends the START_ACCEPTING_PASSIVE_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstart_accepting_passive_svc_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/start_executing_host_checks": {
      "post": {
        "operationId": "post-systemcmdstart_executing_host_checks",
        "summary": "Sends the START_EXECUTING_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstart_executing_host_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/start_executing_svc_checks": {
      "post": {
        "operationId": "post-systemcmdstart_executing_svc_checks",
        "summary": "Sends the START_EXECUTING_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstart_executing_svc_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/start_obsessing_over_host_checks": {
      "post": {
        "operationId": "post-systemcmdstart_obsessing_over_host_checks",
        "summary": "Sends the START_OBSESSING_OVER_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstart_obsessing_over_host_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/start_obsessing_over_svc_checks": {
      "post": {
        "operationId": "post-systemcmdstart_obsessing_over_svc_checks",
        "summary": "Sends the START_OBSESSING_OVER_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstart_obsessing_over_svc_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/stop_accepting_passive_host_checks": {
      "post": {
        "operationId": "post-systemcmdstop_accepting_passive_host_checks",
        "summary": "Sends the STOP_ACCEPTING_PASSIVE_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstop_accepting_passive_host_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/stop_accepting_passive_svc_checks": {
      "post": {
        "operationId": "post-systemcmdstop_accepting_passive_svc_checks",
        "summary": "Sends the STOP_ACCEPTING_PASSIVE_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstop_accepting_passive_svc_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/stop_executing_host_checks": {
      "post": {
        "operationId": "post-systemcmdstop_executing_host_checks",
        "summary": "Sends the STOP_EXECUTING_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstop_executing_host_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/stop_executing_svc_checks": {
      "post": {
        "operationId": "post-systemcmdstop_executing_svc_checks",
        "summary": "Sends the STOP_EXECUTING_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstop_executing_svc_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/stop_obsessing_over_host_checks": {
      "post": {
        "operationId": "post-systemcmdstop_obsessing_over_host_checks",
        "summary": "Sends the STOP_OBSESSING_OVER_HOST_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstop_obsessing_over_host_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/system/cmd/stop_obsessing_over_svc_checks": {
      "post": {
        "operationId": "post-systemcmdstop_obsessing_over_svc_checks",
        "summary": "Sends the STOP_OBSESSING_OVER_SVC_CHECKS command.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-systemcmdstop_obsessing_over_svc_checks"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Submitted. Check failed_backends for partial failures when rest_commands_ignore_partial_errors is enabled."
          },
          "default": {
            "description": "Submission failed. A partial failure lists the failed_backends."
          }
        }
      }
    },
    "/thruk": {
      "get": {
        "operationId": "get-thruk",
        "summary": "hash of basic information about this thruk instance",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thruk"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/api_keys": {
      "get": {
        "operationId": "get-thrukapi_keys",
        "summary": "lists api keys",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukapi_keys"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukapi_keys",
        "summary": "create new api key.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukapi_keys"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/api_keys/{id}": {
      "get": {
        "operationId": "get-thrukapi_keysid",
        "summary": "alias for `/thruk/api_keys?hashed_key=<id>`",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukapi_keysid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-thrukapi_keysid",
        "summary": "remove key for given id.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-thrukapi_keysid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/bp": {
      "get": {
        "operationId": "get-thrukbp",
        "summary": "lists business processes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukbp"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukbp",
        "summary": "create new business process.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukbp"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/bp/{nr}": {
      "get": {
        "operationId": "get-thrukbpnr",
        "summary": "business processes for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukbpnr"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukbpnr",
        "summary": "update business processes configuration for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukbpnr"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-thrukbpnr",
        "summary": "update business processes configuration partially for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-thrukbpnr"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-thrukbpnr",
        "summary": "remove business processes for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-thrukbpnr"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/bp/{nr}/objects": {
      "get": {
        "operationId": "get-thrukbpnrobjects",
        "summary": "combined list of hosts and services directly referenced by a business process.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukbpnrobjects"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/bp/{nr}/objects/recursive": {
      "get": {
        "operationId": "get-thrukbpnrobjectsrecursive",
        "summary": "combined list of hosts and services including all transitively linked BPs.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukbpnrobjectsrecursive"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/bp/{nr}/refresh": {
      "post": {
        "operationId": "post-thrukbpnrrefresh",
        "summary": "recalculate business processes status for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukbpnrrefresh"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/broadcasts": {
      "get": {
        "operationId": "get-thrukbroadcasts",
        "summary": "lists broadcasts",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukbroadcasts"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukbroadcasts",
        "summary": "create new broadcast.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukbroadcasts"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/broadcasts/{file}": {
      "get": {
        "operationId": "get-thrukbroadcastsfile",
        "summary": "alias for `/thruk/broadcasts?file=<file>`",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukbroadcastsfile"
        },
        "parameters": [
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukbroadcastsfile",
        "summary": "update entire broadcast for given file.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukbroadcastsfile"
        },
        "parameters": [
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-thrukbroadcastsfile",
        "summary": "update attributes for given broadcast.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-thrukbroadcastsfile"
        },
        "parameters": [
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-thrukbroadcastsfile",
        "summary": "remove broadcast for given file.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-thrukbroadcastsfile"
        },
        "parameters": [
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/cluster": {
      "get": {
        "operationId": "get-thrukcluster",
        "summary": "lists cluster nodes",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukcluster"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/cluster/{id}": {
      "get": {
        "operationId": "get-thrukclusterid",
        "summary": "return cluster state for given node.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukclusterid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/cluster/heartbeat": {
      "get": {
        "operationId": "get-thrukclusterheartbeat",
        "summary": "should not be used, use POST method instead",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukclusterheartbeat"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukclusterheartbeat",
        "summary": "send cluster heartbeat to all other nodes",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukclusterheartbeat"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/cluster/restart": {
      "post": {
        "operationId": "post-thrukclusterrestart",
        "summary": "restarts all cluster nodes sequentially",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukclusterrestart"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/config": {
      "get": {
        "operationId": "get-thrukconfig",
        "summary": "lists configuration information",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukconfig"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/jobs": {
      "get": {
        "operationId": "get-thrukjobs",
        "summary": "lists thruk jobs.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukjobs"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/jobs/{id}": {
      "get": {
        "operationId": "get-thrukjobsid",
        "summary": "get thruk job status for given id.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukjobsid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/jobs/{id}/output": {
      "get": {
        "operationId": "get-thrukjobsidoutput",
        "summary": "get thruk job output for given id.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukjobsidoutput"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/logcache/stats": {
      "get": {
        "operationId": "get-thruklogcachestats",
        "summary": "lists logcache statistics",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thruklogcachestats"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/logcache/update": {
      "post": {
        "operationId": "post-thruklogcacheupdate",
        "summary": "runs the logcache delta update.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thruklogcacheupdate"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/metrics": {
      "get": {
        "operationId": "get-thrukmetrics",
        "summary": "alias for `/thruk/stats`",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukmetrics"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/panorama": {
      "get": {
        "operationId": "get-thrukpanorama",
        "summary": "lists all panorama dashboards.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukpanorama"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/panorama/{nr}": {
      "get": {
        "operationId": "get-thrukpanoramanr",
        "summary": "returns panorama dashboard for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukpanoramanr"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/panorama/{nr}/maintenance": {
      "post": {
        "operationId": "post-thrukpanoramanrmaintenance",
        "summary": "Puts given dashboard into maintenance mode.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukpanoramanrmaintenance"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-thrukpanoramanrmaintenance",
        "summary": "removes maintenance mode from given dashboard.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-thrukpanoramanrmaintenance"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/recurring_downtimes": {
      "get": {
        "operationId": "get-thrukrecurring_downtimes",
        "summary": "lists recurring downtimes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukrecurring_downtimes"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukrecurring_downtimes",
        "summary": "create new downtime.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukrecurring_downtimes"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/recurring_downtimes/{file}": {
      "get": {
        "operationId": "get-thrukrecurring_downtimesfile",
        "summary": "alias for `/thruk/recurring_downtimes?file=<file>`",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukrecurring_downtimesfile"
        },
        "parameters": [
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukrecurring_downtimesfile",
        "summary": "update entire downtime for given file.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukrecurring_downtimesfile"
        },
        "parameters": [
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-thrukrecurring_downtimesfile",
        "summary": "update attributes for given downtime.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-thrukrecurring_downtimesfile"
        },
        "parameters": [
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-thrukrecurring_downtimesfile",
        "summary": "remove downtime for given file.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-thrukrecurring_downtimesfile"
        },
        "parameters": [
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/reports": {
      "get": {
        "operationId": "get-thrukreports",
        "summary": "list of reports.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukreports"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukreports",
        "summary": "create new report.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukreports"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/reports/{nr}": {
      "get": {
        "operationId": "get-thrukreportsnr",
        "summary": "report for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukreportsnr"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-thrukreportsnr",
        "summary": "update entire report for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukreportsnr"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-thrukreportsnr",
        "summary": "update attributes for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-thrukreportsnr"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-thrukreportsnr",
        "summary": "remove report for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-thrukreportsnr"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/reports/{nr}/generate": {
      "post": {
        "operationId": "post-thrukreportsnrgenerate",
        "summary": "generate report for given number.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukreportsnrgenerate"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/reports/{nr}/report": {
      "get": {
        "operationId": "get-thrukreportsnrreport",
        "summary": "return the actual report file in binary format.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukreportsnrreport"
        },
        "parameters": [
          {
            "name": "nr",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/sessions": {
      "get": {
        "operationId": "get-thruksessions",
        "summary": "lists thruk sessions.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thruksessions"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/sessions/{id}": {
      "get": {
        "operationId": "get-thruksessionsid",
        "summary": "get thruk sessions status for given id.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thruksessionsid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/stats": {
      "get": {
        "operationId": "get-thrukstats",
        "summary": "lists thruk statistics.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukstats"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/users": {
      "get": {
        "operationId": "get-thrukusers",
        "summary": "lists thruk user profiles.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukusers"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/users/{id}": {
      "get": {
        "operationId": "get-thrukusersid",
        "summary": "get thruk profile for given user.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukusersid"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/users/{id}/cmd/lock": {
      "post": {
        "operationId": "post-thrukusersidcmdlock",
        "summary": "lock given thruk user.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukusersidcmdlock"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/users/{id}/cmd/unlock": {
      "post": {
        "operationId": "post-thrukusersidcmdunlock",
        "summary": "unlock given thruk user.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-thrukusersidcmdunlock"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/thruk/whoami": {
      "get": {
        "operationId": "get-thrukwhoami",
        "summary": "show current profile information.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-thrukwhoami"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Current profile.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/timeperiods": {
      "get": {
        "operationId": "get-timeperiods",
        "summary": "lists livestatus timeperiods.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-timeperiods"
        },
        "parameters": [],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/timeperiods/{name}": {
      "get": {
        "operationId": "get-timeperiodsname",
        "summary": "lists timeperiods for given name.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-timeperiodsname"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    },
    "/timeperiods/{name}/config": {
      "get": {
        "operationId": "get-timeperiodsnameconfig",
        "summary": "Returns configuration for given timeperiod.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#get-timeperiodsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "post": {
        "operationId": "post-timeperiodsnameconfig",
        "summary": "Replace timeperiod configuration completely, use PATCH to only update specific attributes.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#post-timeperiodsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "patch": {
        "operationId": "patch-timeperiodsnameconfig",
        "summary": "Update timeperiods configuration partially.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#patch-timeperiodsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      },
      "delete": {
        "operationId": "delete-timeperiodsnameconfig",
        "summary": "Deletes given timeperiod from configuration.",
        "externalDocs": {
          "url": "https://www.thruk.org/documentation/rest_endpoints.html#delete-timeperiodsnameconfig"
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "See the endpoint reference for the response."
          }
        }
      }
    }
  }
}
