{
    "openapi": "3.0.2",
    "info": {
        "title": "IQRF Gateway Webapp API specification",
        "contact": {
            "name": "Roman Ondráček",
            "email": "roman.ondracek@iqrf.com"
        },
        "license": {
            "name": "IQRF Gateway Platform EULA"
        },
        "version": "0.0.1"
    },
    "servers": [
        {
            "url": "{protocol}://{server}/api/v0/",
            "variables": {
                "protocol": {
                    "enum": [
                        "http",
                        "https"
                    ],
                    "default": "http"
                },
                "server": {
                    "default": "localhost:8080"
                }
            }
        }
    ],
    "paths": {
        "/account/password/recovery/{uuid}": {
            "post": {
                "tags": [
                    "Account"
                ],
                "summary": "Recovers the forgotten password",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "Password recovery request UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PasswordRecovery"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserToken"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "description": "Account is blocked",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "410": {
                        "description": "Password recovery request is expired",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/account/password/recovery": {
            "post": {
                "tags": [
                    "Account"
                ],
                "summary": "Requests the password recovery",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PasswordRecoveryRequest"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "description": "E-mail address is not verified or user is blocked",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "User not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/MailerError"
                    }
                }
            }
        },
        "/account/password/set/{uuid}": {
            "post": {
                "tags": [
                    "Account"
                ],
                "summary": "Sets the password for invited user",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "Password set UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PasswordSet"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserToken"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Account is blocked"
                    },
                    "404": {
                        "description": "Password set not found"
                    },
                    "410": {
                        "description": "Password set request is expired"
                    }
                }
            }
        },
        "/account/password": {
            "put": {
                "tags": [
                    "Account"
                ],
                "summary": "Updates user's password",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PasswordChange"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/account/preferences": {
            "get": {
                "tags": [
                    "Account"
                ],
                "summary": "Returns user preferences",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserPreferences"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Account"
                ],
                "summary": "Edit user preferences",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserPreferences"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "description": "Invalid time format or theme"
                    },
                    "403": {
                        "description": "Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/account/signIn": {
            "post": {
                "tags": [
                    "Account"
                ],
                "summary": "Signs in the user",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserSignIn"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserToken"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "description": "Account is blocked",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    }
                }
            }
        },
        "/account/tokenRefresh": {
            "post": {
                "tags": [
                    "Account"
                ],
                "summary": "Refreshes user access token",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserToken"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/account/totp/{uuid}": {
            "get": {
                "tags": [
                    "Account"
                ],
                "summary": "Gets information about TOTP 2FA",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "TOTP UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "TOTP 2FA information",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TotpDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Account"
                ],
                "summary": "Deletes TOTP 2FA",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "TOTP UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TotpDelete"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/account/totp": {
            "get": {
                "tags": [
                    "Account"
                ],
                "summary": "Lists all TOTP 2FA",
                "responses": {
                    "200": {
                        "description": "TOTP 2FA list",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TotpList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Account"
                ],
                "summary": "Registers new TOTP 2FA",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TotpAdd"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created TOTP",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict",
                        "description": "TOTP token name is already used"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/account/verification/resend": {
            "post": {
                "tags": [
                    "Account"
                ],
                "summary": "Resends the verification e-mail",
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "description": "User is already verified",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/MailerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/account/verification/{uuid}": {
            "get": {
                "tags": [
                    "Account"
                ],
                "summary": "Verifies the user",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "User verification UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "description": "User is already verified",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Account is blocked",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "410": {
                        "description": "Verification link expired",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/account": {
            "get": {
                "tags": [
                    "Account"
                ],
                "summary": "Returns information about the user account",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Account"
                ],
                "summary": "Updates the user account information",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AccountEdit"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/apiKeys/{id}": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Returns API key by ID",
                "description": "Deprecated in favor of the new API keys controller, use `GET` `/security/api-keys/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "API key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiKeyDetail"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "deprecated": true,
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Updates the API key",
                "description": "Deprecated in favor of the new API keys controller, use `PUT` `/security/api-keys/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "API key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ApiKeyModify"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "deprecated": true,
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Deletes a API key",
                "description": "Deprecated in favor of the new API keys controller, use `DELETE` `/security/api-keys/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "API key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/apiKeys": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Lists all API keys",
                "description": "Deprecated in favor of the new API keys controller, use `GET` `/security/api-keys` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/ApiKeyDetail"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "deprecated": true,
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Creates a new API key",
                "description": "Deprecated in favor of the new API keys controller, use `POST` `/security/api-keys` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ApiKeyModify"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created API key",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiKeyCreated"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/clouds/aws": {
            "post": {
                "tags": [
                    "Cloud manager"
                ],
                "summary": "Creates a new MQTT connection into Amazon AWS IoT",
                "requestBody": {
                    "description": "Amazon AWS IoT connection configuration",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CloudAws"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "endpoint": {
                                        "type": "string"
                                    },
                                    "certificate": {
                                        "type": "string",
                                        "format": "binary"
                                    },
                                    "privateKey": {
                                        "type": "string",
                                        "format": "binary"
                                    }
                                }
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/clouds/azure": {
            "post": {
                "tags": [
                    "Cloud manager"
                ],
                "summary": "Creates a new MQTT connection into Microsoft Azure IoT Hub",
                "requestBody": {
                    "description": "Microsoft Azure IoT Hub connection configuration",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CloudAzure"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/clouds/ibmCloud": {
            "post": {
                "tags": [
                    "Cloud manager"
                ],
                "summary": "Creates a new MQTT connection into IBM Cloud",
                "requestBody": {
                    "description": "IBM Cloud connection configuration",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CloudIbm"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/apt": {
            "get": {
                "tags": [
                    "Configuration - APT package manager"
                ],
                "summary": "Returns APT configuration",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AptConfiguration"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - APT package manager"
                ],
                "summary": "Updates APT configuration",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AptConfiguration"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/bridge": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway InfluxDB Bridge"
                ],
                "summary": "Returns the current configuration of IQRF Gateway InfluxDB Bridge",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BridgeConfig"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQRF Gateway InfluxDB Bridge"
                ],
                "summary": "Updates the configuration of IQRF Gateway InfluxDB Bridge",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/BridgeConfig"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/controller/pins/{id}": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Controller"
                ],
                "summary": "Returns the pin configuration profile",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Controller pin configuration profile ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ControllerPinConfig"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQRF Gateway Controller"
                ],
                "summary": "Updates the pin configuration profile",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Controller pin configuration profile ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ControllerPinConfig"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Configuration - IQRF Gateway Controller"
                ],
                "summary": "Deletes the pin configuration profile",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Controller pin configuration profile ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/controller/pins": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Controller"
                ],
                "summary": "Lists all pin configurations",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ControllerPinConfigList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Configuration - IQRF Gateway Controller"
                ],
                "summary": "Creates a new pin configuration profile",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ControllerPinConfig"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about created pin configuration profile",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ControllerPinConfig"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/controller": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Controller"
                ],
                "summary": "Returns the current configuration of IQRF Gateway Controller",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ControllerConfig"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQRF Gateway Controller"
                ],
                "summary": "Updates the configuration of IQRF Gateway Controller",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ControllerConfig"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/components": {
            "patch": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Updates enabled state of component(s)",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DaemonComponentEnabled"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/mappings/{id}": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Returns mapping by ID",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Mapping ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MappingDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Updates a mapping",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Mapping ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Mapping"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Removes a mapping",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Mapping ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/mappings": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Lists all mappings",
                "parameters": [
                    {
                        "name": "interface",
                        "in": "query",
                        "description": "Interface type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MappingList"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Creates a new mapping",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Mapping"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created mapping",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MappingDetail"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/messagings": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Returns all messaging instances",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MessagingInstances"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/scheduler/export": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Exports scheduler configuration",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/zip": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/scheduler/import": {
            "post": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Imports scheduler configuration",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Task"
                            }
                        },
                        "application/zip": {
                            "schema": {
                                "type": "string",
                                "format": "binary"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "415": {
                        "$ref": "#/components/responses/InvalidContentType"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/scheduler/{taskId}": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Returns task configuration",
                "parameters": [
                    {
                        "name": "taskId",
                        "in": "path",
                        "description": "Task ID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Task"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Edits a task",
                "parameters": [
                    {
                        "name": "taskId",
                        "in": "path",
                        "description": "Task ID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Task"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Deletes a task",
                "parameters": [
                    {
                        "name": "taskId",
                        "in": "path",
                        "description": "Task ID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/scheduler": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Lists tasks",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TaskList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Creates a new task",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Task"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Deletes all tasks",
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/{component}/{instance}": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Returns instance configuration by name",
                "parameters": [
                    {
                        "name": "component",
                        "in": "path",
                        "description": "Component name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "instance",
                        "in": "path",
                        "description": "Instance name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DaemonConfiguration"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Updates instance configuration by name",
                "parameters": [
                    {
                        "name": "component",
                        "in": "path",
                        "description": "Component name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "instance",
                        "in": "path",
                        "description": "Instance name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DaemonConfiguration"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Deletes instance configuration by name",
                "parameters": [
                    {
                        "name": "component",
                        "in": "path",
                        "description": "Component name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "instance",
                        "in": "path",
                        "description": "Instance name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon/{component}": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Returns the component configuration and instances of the component",
                "parameters": [
                    {
                        "name": "component",
                        "in": "path",
                        "description": "Component name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DaemonComponentDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Updates the component",
                "parameters": [
                    {
                        "name": "component",
                        "in": "path",
                        "description": "Component name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DaemonComponent"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Creates instance configuration",
                "parameters": [
                    {
                        "name": "component",
                        "in": "path",
                        "description": "Component name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DaemonConfiguration"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Deletes the component",
                "parameters": [
                    {
                        "name": "component",
                        "in": "path",
                        "description": "Component name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/daemon": {
            "get": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Returns main configuration",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MainConfiguration"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Updates main configuration",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MainConfiguration"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Creates component configuration",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DaemonComponent"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/iqaros-proxy": {
            "get": {
                "tags": [
                    "Configuration - IQAROS WebSocket Proxy Server"
                ],
                "summary": "Returns the current configuration of IQAROS WebSocket Proxy Server",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/WebSocketProxyConfig"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQAROS WebSocket Proxy Server"
                ],
                "summary": "Updates the configuration of IQAROS WebSocket Proxy Server",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/WebSocketProxyConfig"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/iqrf-repository": {
            "get": {
                "tags": [
                    "Configuration - IQRF Repository"
                ],
                "summary": "Returns the current configuration of IQRF Repository",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/IqrfRepositoryConfig"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - IQRF Repository"
                ],
                "summary": "Updates IQRF repository extension configuration",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/IqrfRepositoryConfig"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/journal": {
            "get": {
                "tags": [
                    "Configuration - Logs"
                ],
                "summary": "Returns journal configuration",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Journal"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - Logs"
                ],
                "summary": "Updates journal configuration",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Journal"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/mailer/reset": {
            "post": {
                "tags": [
                    "Configuration - Mailer"
                ],
                "summary": "Resets configuration to default state default",
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "description": "Unable to send the e-mail"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/mailer/test": {
            "post": {
                "tags": [
                    "Configuration - Mailer"
                ],
                "summary": "Sends a test e-mail to verify configuration of the mailer",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MailerConfiguration"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "422": {
                        "description": "The configuration is well-formed, but not valid for establishing a connection to SMTP server"
                    },
                    "500": {
                        "description": "Unable to send the e-mail",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/mailer": {
            "get": {
                "tags": [
                    "Configuration - Mailer"
                ],
                "summary": "Returns the current configuration of the mailer",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MailerConfiguration"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - Mailer"
                ],
                "summary": "Updates the configuration of the mailer",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MailerConfiguration"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "422": {
                        "description": "The configuration is well-formed, but not valid for establishing a connection to SMTP server"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/mender/cert": {
            "post": {
                "tags": [
                    "Configuration - Mender"
                ],
                "summary": "Uploads and stores a Mender server certificate",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "certificate": {
                                        "type": "string",
                                        "format": "binary"
                                    }
                                }
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "content": {
                            "text/plain": {
                                "schema": {
                                    "type": "string",
                                    "description": "Path to the stored certificate"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/mender": {
            "get": {
                "tags": [
                    "Configuration - Mender"
                ],
                "summary": "Returns current configuration of Mender client",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MenderConfig"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "501": {
                        "description": "Unsupported Mender client version"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - Mender"
                ],
                "summary": "Saves new Mender client configuration",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MenderConfig"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "501": {
                        "description": "Unsupported Mender client version"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/monit/checks/{name}/disable": {
            "post": {
                "tags": [
                    "Configuration - Monit"
                ],
                "summary": "Disables Monit check",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Check name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/monit/checks/{name}/enable": {
            "post": {
                "tags": [
                    "Configuration - Monit"
                ],
                "summary": "Enables Monit check",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Check name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/monit/checks/{name}": {
            "get": {
                "tags": [
                    "Configuration - Monit"
                ],
                "summary": "Returns the Monit check configuration",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Check name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MonitCheckConfig"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/monit": {
            "get": {
                "tags": [
                    "Configuration - Monit"
                ],
                "summary": "Returns the current Monit configuration",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MonitConfig"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - Monit"
                ],
                "summary": "Updates the Monit configuration",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MonitConfig"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/config/ws-proxy": {
            "get": {
                "tags": [
                    "Configuration - WebSocket Proxy Server"
                ],
                "summary": "Returns the current configuration of WebSocket Proxy Server",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/WebSocketProxyConfig"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Configuration - WebSocket Proxy Server"
                ],
                "summary": "Updates the configuration of WebSocket Proxy Server",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/WebSocketProxyConfig"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/diagnostics": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Gateway - Information"
                ],
                "summary": "Returns archive with diagnostics",
                "description": "Deprecated in favor of the new Diagnostics controller, use `GET` `/gateway/diagnostics` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/zip": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/features/{feature}": {
            "get": {
                "tags": [
                    "Optional feature manager"
                ],
                "summary": "Returns optional feature configuration",
                "parameters": [
                    {
                        "name": "feature",
                        "in": "path",
                        "description": "Feature name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Feature"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/features": {
            "get": {
                "tags": [
                    "Optional feature manager"
                ],
                "summary": "Returns optional features configuration",
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FeatureList"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    }
                }
            }
        },
        "/gateway/diagnostics": {
            "get": {
                "tags": [
                    "Gateway - Information"
                ],
                "summary": "Returns archive with diagnostics",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/zip": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/hostname": {
            "post": {
                "tags": [
                    "Gateway - Hostname"
                ],
                "summary": "Sets gateway hostname",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Hostname"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/info": {
            "get": {
                "tags": [
                    "Gateway - Information"
                ],
                "summary": "Returns information about the gateway",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/GatewayInfo"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/journal/config": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Configuration - Logs"
                ],
                "summary": "Returns journal configuration",
                "description": "Deprecated in favor of the new Journal config controller, use `GET` `/config/journal` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Journal"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "deprecated": true,
                "tags": [
                    "Configuration - Logs"
                ],
                "summary": "Updates journal configuration",
                "description": "Deprecated in favor of the new Journal config controller, use `PUT` `/config/journal` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Journal"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "deprecated": true,
                "tags": [
                    "Configuration - Logs"
                ],
                "summary": "Updates journal configuration",
                "description": "Deprecated in favor of the new Journal config controller, use `PUT` `/config/journal` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Journal"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/journal": {
            "get": {
                "tags": [
                    "Gateway - Logs"
                ],
                "summary": "Returns journal records",
                "parameters": [
                    {
                        "name": "count",
                        "in": "query",
                        "description": "Number of last records to retrieve",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 1000,
                            "default": 500
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Specifies a record cursor to start from",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/JournalRecords"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/licenses/daemon": {
            "get": {
                "tags": [
                    "Gateway - Licenses - Daemon"
                ],
                "summary": "Returns information about Daemon license",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DaemonLicenseDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Gateway - Licenses - Daemon"
                ],
                "summary": "Changes Daemon license",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Jwt"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/logs/export": {
            "get": {
                "tags": [
                    "Gateway - Logs"
                ],
                "summary": "Returns archive with IQRF Gateway logs",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/zip": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/logs/{service}": {
            "get": {
                "tags": [
                    "Gateway - Logs"
                ],
                "summary": "Returns latest log of a service",
                "parameters": [
                    {
                        "name": "service",
                        "in": "path",
                        "description": "Service name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "text/plain": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "description": "Service not found or log not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/logs": {
            "get": {
                "tags": [
                    "Gateway - Logs"
                ],
                "summary": "Returns list of services with available logs",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/LogServices"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/password": {
            "put": {
                "deprecated": true,
                "tags": [
                    "Security - Shell user password"
                ],
                "summary": "Updates default gateway user password",
                "description": "Deprecated in favor of the new shell user controller, use `PUT` `/security/shellUser/password` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GatewayPassword"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/power/poweroff": {
            "post": {
                "tags": [
                    "Gateway - Power management"
                ],
                "summary": "Powers off the gateway",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PowerControl"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/power/reboot": {
            "post": {
                "tags": [
                    "Gateway - Power management"
                ],
                "summary": "Reboots the gateway",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PowerControl"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/power/stats": {
            "get": {
                "tags": [
                    "Gateway - Power management"
                ],
                "summary": "Returns power statistics",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TuptimeStats"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "424": {
                        "description": "tuptime not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/ssh/keyTypes": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Lists SSH key types",
                "description": "Deprecated in favor of the new SSH keys controller, use `GET` `/security/ssh-keys/types` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshKeyTypes"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/ssh/keys/{id}": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Returns authorized SSH public key",
                "description": "Deprecated in favor of the new SSH keys controller, use `GET` `/security/ssh-keys/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SSH public key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshKeyDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "deprecated": true,
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Removes an authorized SSH public key",
                "description": "Deprecated in favor of the new SSH keys controller, use `DELETE` `/security/ssh-keys/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SSH public key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/ssh/keys": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "List authorized SSH public keys",
                "description": "Deprecated in favor of the new SSH keys controller, use `GET` `/security/ssh-keys` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshKeyList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "deprecated": true,
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Adds SSH keys for key-based authentication",
                "description": "Deprecated in favor of the new SSH keys controller, use `POST` `/security/ssh-keys` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SshKeysAdd"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Partial success, duplicate keys in body (ignored)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshKeyCreated"
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "409": {
                        "description": "SSH public key already exists",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/time/timezones": {
            "get": {
                "tags": [
                    "Gateway - Date & time"
                ],
                "summary": "Returns available timezones",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TimezoneList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/gateway/time": {
            "get": {
                "tags": [
                    "Gateway - Date & time"
                ],
                "summary": "Returns current gateway date, time, timezone and NTP configuration",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TimeGet"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Gateway - Date & time"
                ],
                "summary": "Sets timezone and NTP configuration",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TimeSet"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/installation/restore": {
            "post": {
                "tags": [
                    "Installation manager"
                ],
                "summary": "Restores gateway from backup during installation",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "archive",
                                    "factoryPassword"
                                ],
                                "properties": {
                                    "archive": {
                                        "type": "string",
                                        "format": "binary"
                                    },
                                    "factoryPassword": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {},
                    {
                        "bearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PowerControl"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "description": "Gateway already initialized"
                    },
                    "413": {
                        "description": "Uploaded file too large"
                    },
                    "415": {
                        "description": "Unsupported media type"
                    },
                    "500": {
                        "description": "Unable to verify access"
                    },
                    "501": {
                        "description": "Unsupported init system"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/installation/user": {
            "post": {
                "tags": [
                    "Installation manager"
                ],
                "summary": "Creates initial user for installation wizard",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/InstallUserCreate"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {}
                ],
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created user",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "description": "Unable to verify access"
                    }
                }
            }
        },
        "/installation": {
            "get": {
                "tags": [
                    "Installation manager"
                ],
                "summary": "Checks the installation",
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/InstallationCheck"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/iqrf/dpaFile": {
            "post": {
                "tags": [
                    "IQRF network"
                ],
                "summary": "Returns DPA file",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DpaFile"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DpaFileName"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "503": {
                        "$ref": "#/components/responses/ServiceUnavailable"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/iqrf/interfaces": {
            "get": {
                "tags": [
                    "IQRF network"
                ],
                "summary": "Returns IQRF interfaces",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/IqrfInterfaces"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/iqrf/macros": {
            "get": {
                "tags": [
                    "IQRF network"
                ],
                "summary": "Returns IQRF IDE macros",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/IqrfIdeMacros"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/iqrf/osPatches": {
            "get": {
                "tags": [
                    "IQRF network"
                ],
                "summary": "Lists all IQRF OS patches",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/IqrfOsPatchDetail"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "503": {
                        "$ref": "#/components/responses/ServiceUnavailable"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/iqrf/osUpgrades": {
            "post": {
                "tags": [
                    "IQRF network"
                ],
                "summary": "Lists all IQRF OS upgrades",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/IqrfOsPatchUpgrade"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/IqrfOsUpgradeList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "503": {
                        "$ref": "#/components/responses/ServiceUnavailable"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/iqrf/upgradeOs": {
            "post": {
                "tags": [
                    "IQRF network"
                ],
                "summary": "Upgrades OS and DPA",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/IqrfOsDpaUpgrade"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "503": {
                        "$ref": "#/components/responses/ServiceUnavailable"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/iqrf/upload": {
            "post": {
                "tags": [
                    "IQRF network"
                ],
                "summary": "Uploads file",
                "requestBody": {
                    "description": "Uploads file",
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "format": {
                                        "enum": [
                                            "hex",
                                            "iqrf",
                                            "trcnfg",
                                            ""
                                        ],
                                        "type": "string"
                                    },
                                    "file": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/IqrfUploadedFile"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "415": {
                        "$ref": "#/components/responses/InvalidContentType"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "503": {
                        "$ref": "#/components/responses/ServiceUnavailable"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/iqrf/uploader": {
            "post": {
                "tags": [
                    "IQRF network"
                ],
                "summary": "Executes upload using the IQRF Gateway Uploader",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UploaderFile"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "503": {
                        "$ref": "#/components/responses/ServiceUnavailable"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/maintenance/backup": {
            "post": {
                "tags": [
                    "Maintenance - Backup & Restore"
                ],
                "summary": "Backup gateway",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GatewayBackup"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/zip": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/maintenance/restore": {
            "post": {
                "tags": [
                    "Maintenance - Backup & Restore"
                ],
                "summary": "Restore gateway from backup",
                "requestBody": {
                    "content": {
                        "application/zip": {
                            "schema": {
                                "type": "string",
                                "format": "binary"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PowerControl"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "415": {
                        "description": "Unsupported media type"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/mappings/{id}": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Finds mapping by ID",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon mapping controller, use `GET` `/config/daemon/mappings/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Mapping ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MappingDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Updates a mapping",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon mapping controller, use `PUT` `/config/daemon/mappings/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Mapping ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Mapping"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Removes a mapping",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon mapping controller, use `DELETE` `/config/daemon/mappings/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Mapping ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/mappings": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Lists all mappings",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon mapping controller, use `GET` `/config/daemon/mappings` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "interface",
                        "in": "query",
                        "description": "Interface type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MappingList"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Creates a new mapping",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon mapping controller, use `POST` `/config/daemon/mappings` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Mapping"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created mapping",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MappingDetail"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/cellular/modems/scan": {
            "post": {
                "tags": [
                    "IP network - Cellular"
                ],
                "summary": "Scans for modems",
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/cellular/modems": {
            "get": {
                "tags": [
                    "IP network - Cellular"
                ],
                "summary": "Lists available modems",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ModemList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/cellular/operators/{id}": {
            "get": {
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Returns a network operator configuration",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Operator ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkOperator"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Edits a network operator",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Operator ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NetworkOperator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Removes a network operator",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Operator ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/cellular/operators": {
            "get": {
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Lists all network operators",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkOperatorList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Creates a new network operator",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NetworkOperator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about network operator",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkOperator"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/connections/{uuid}/connect": {
            "post": {
                "tags": [
                    "IP network - Network connections"
                ],
                "summary": "Connects network connection",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "Connection UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "interface",
                        "in": "query",
                        "description": "Network interface name",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/connections/{uuid}/disconnect": {
            "post": {
                "tags": [
                    "IP network - Network connections"
                ],
                "summary": "Disconnects network connection",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "Connection UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/connections/{uuid}": {
            "get": {
                "tags": [
                    "IP network - Network connections"
                ],
                "summary": "Returns network connection by its UUID",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "Connection UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkConnection"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "IP network - Network connections"
                ],
                "summary": "Edits network connection by its UUID",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "Connection UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "description": "Network connection configuration",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NetworkConnection"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "IP network - Network connections"
                ],
                "summary": "Deletes network connection by its UUID",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "Connection UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/connections": {
            "get": {
                "tags": [
                    "IP network - Network connections"
                ],
                "summary": "Returns network connections",
                "parameters": [
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Network connection type",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "6lowpan",
                                "802-11-olpc-mesh",
                                "802-11-wireless",
                                "802-3-ethernet",
                                "adsl",
                                "bluetooth",
                                "bond",
                                "bridge",
                                "cdma",
                                "dummy",
                                "generic",
                                "gsm",
                                "hsr",
                                "infiniband",
                                "ip-tunnel",
                                "ipvlan",
                                "loopback",
                                "macsec",
                                "macvlan",
                                "ovs-bridge",
                                "ovs-interface",
                                "ovs-port",
                                "pppoe",
                                "team",
                                "tun",
                                "veth",
                                "vlan",
                                "vpn",
                                "vrf",
                                "vxlan",
                                "wifi-p2p",
                                "wimax",
                                "wireguard",
                                "wpan"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkConnections"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "IP network - Network connections"
                ],
                "summary": "Creates new network connection",
                "requestBody": {
                    "description": "Network connection configuration",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NetworkConnection"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of the created network connection",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkConnectionCreated"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/connectivity": {
            "get": {
                "tags": [
                    "IP network - Network connectivity"
                ],
                "summary": "Checks network connectivity",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkConnectivityState"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/gsm/modems/scan": {
            "post": {
                "deprecated": true,
                "tags": [
                    "IP network - Cellular"
                ],
                "summary": "Scans for modems",
                "description": "Deprecated in favor of the new Cellular controller, use `POST` `/network/cellular/modems/scan` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/gsm/modems": {
            "get": {
                "deprecated": true,
                "tags": [
                    "IP network - Cellular"
                ],
                "summary": "Lists available modems",
                "description": "Deprecated in favor of the new Cellular controller, use `GET` `/network/cellular/modems` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ModemList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/interfaces/{name}/connect": {
            "post": {
                "tags": [
                    "IP network - Network interfaces"
                ],
                "summary": "Connects network interface",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Network interface name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/interfaces/{name}/disconnect": {
            "post": {
                "tags": [
                    "IP network - Network interfaces"
                ],
                "summary": "Disconnects network interface",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Network interface name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/interfaces": {
            "get": {
                "tags": [
                    "IP network - Network interfaces"
                ],
                "summary": "Returns network interfaces",
                "parameters": [
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Connection type",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "6lowpan",
                                "adsl",
                                "bond",
                                "bridge",
                                "bt",
                                "cdma",
                                "dummy",
                                "ethernet",
                                "generic",
                                "geneve",
                                "gsm",
                                "hsr",
                                "infiniband",
                                "iptunnel",
                                "ipvlan",
                                "loopback",
                                "macsec",
                                "macvlan",
                                "modem",
                                "olpcmesh",
                                "ovs-bridge",
                                "ovs-interface",
                                "ovs-port",
                                "ppp",
                                "team",
                                "tun",
                                "vlan",
                                "vrf",
                                "vxlan",
                                "wifi",
                                "wifi-p2p",
                                "wimax",
                                "wireguard",
                                "wpan"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkInterfaces"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/operators/{id}": {
            "get": {
                "deprecated": true,
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Returns a network operator configuration",
                "description": "Deprecated in favor of the new Cellular operators controller, use `GET` `/network/cellular/operators/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Operator ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkOperator"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "deprecated": true,
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Edits a network operator",
                "description": "Deprecated in favor of the new Cellular operators controller, use `PUT` `/network/cellular/operators/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Operator ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NetworkOperator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "deprecated": true,
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Removes a network operator",
                "description": "Deprecated in favor of the new Cellular operators controller, use `DELETE` `/network/cellular/operators/{id}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Operator ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/operators": {
            "get": {
                "deprecated": true,
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Lists all network operators",
                "description": "Deprecated in favor of the new Cellular operators controller, use `GET` `/network/cellular/operators` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkOperatorList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "deprecated": true,
                "tags": [
                    "IP network - Cellular operators"
                ],
                "summary": "Creates a new network operator",
                "description": "Deprecated in favor of the new Cellular operators controller, use `POST` `/network/cellular/operators` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NetworkOperator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about network operator",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkOperator"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/wifi/list": {
            "get": {
                "tags": [
                    "IP network - WiFi"
                ],
                "summary": "Lists available WiFi access points",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkWifiList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/wireguard/keypair": {
            "post": {
                "tags": [
                    "IP network - WireGuard"
                ],
                "summary": "Generates a new WireGuard key pair",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkWireGuardKeys"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/wireguard/psk": {
            "post": {
                "tags": [
                    "IP network - WireGuard"
                ],
                "summary": "Generates a new WireGuard pre-shared key",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkWireGuardPsk"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/network/wireguard/public-key": {
            "post": {
                "tags": [
                    "IP network - WireGuard"
                ],
                "summary": "Derives WireGuard public key from the private key",
                "requestBody": {
                    "description": "WireGuard private key",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NetworkWireGuardPrivateKey"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NetworkWireGuardPublicKey"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/openapi/schemas/{name}": {
            "get": {
                "tags": [
                    "OpenAPI"
                ],
                "summary": "Returns JSON schema",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Name of schema",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/JsonSchema"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "/openapi/schemas/{type}/{name}": {
            "get": {
                "tags": [
                    "OpenAPI"
                ],
                "summary": "Returns JSON schema",
                "parameters": [
                    {
                        "name": "type",
                        "in": "path",
                        "description": "Type of JSON schema",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "definitions",
                                "features"
                            ]
                        }
                    },
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Name of schema",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/JsonSchema"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "/openapi": {
            "get": {
                "tags": [
                    "OpenAPI"
                ],
                "summary": "Returns OpenAPI schema",
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/OpenApiSpecification"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/scheduler/export": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Exports scheduler configuration",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon scheduler controller, use `POST` `/config/daemon/scheduler/export` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/zip": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "description": "No tasks to export",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/scheduler/import": {
            "post": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Imports scheduler configuration",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon scheduler controller, use `POST` `/config/daemon/scheduler/import` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Task"
                            }
                        },
                        "application/zip": {
                            "schema": {
                                "type": "string",
                                "format": "binary"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "415": {
                        "$ref": "#/components/responses/InvalidContentType"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/scheduler/messagings": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Returns all messaging instances suitable for scheduler tasks",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon scheduler controller, use `GET` `/config/daemon/scheduler/messagings` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MessagingInstances"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/scheduler/{taskId}": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Returns task configuration",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon scheduler controller, use `GET` `/config/daemon/scheduler/{taskId}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "taskId",
                        "in": "path",
                        "description": "Task ID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Task"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Updates a task",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon scheduler controller, use `PUT` `/config/daemon/scheduler/{taskId}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "taskId",
                        "in": "path",
                        "description": "Task ID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Task"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Deletes a task",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon scheduler controller, use `DELETE` `/config/daemon/scheduler/{taskId}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "taskId",
                        "in": "path",
                        "description": "Task ID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/scheduler": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Lists tasks",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon scheduler controller, use `GET` `/config/daemon/scheduler` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TaskList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Creates a new task",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon scheduler controller, use `POST` `/config/daemon/scheduler` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Task"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "409": {
                        "description": "Task already exists",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "deprecated": true,
                "tags": [
                    "Configuration - IQRF Gateway Daemon"
                ],
                "summary": "Deletes all tasks",
                "description": "Deprecated in favor of the new IQRF Gateway Daemon scheduler controller, use `DELETE` `/config/daemon/scheduler` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/api-keys/{id}": {
            "get": {
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Returns API key by ID",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "API key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiKeyDetail"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Updates the API key",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "API key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ApiKeyModify"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Deletes a API key",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "API key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/api-keys": {
            "get": {
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Lists all API keys",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiKeyList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Security - API key management"
                ],
                "summary": "Creates a new API key",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ApiKeyModify"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created API key",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiKeyCreated"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/acme/accounts/{uuid}": {
            "get": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Returns the ACME account",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "ACME account UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME account",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME account UUID",
                                            "type": "string"
                                        },
                                        "provider": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "keyType": {
                                            "title": "Account key type",
                                            "type": "string",
                                            "enum": [
                                                "ec-p256",
                                                "ec-p384",
                                                "rsa-2048",
                                                "rsa-4096"
                                            ]
                                        },
                                        "email": {
                                            "nullable": true,
                                            "title": "Contact e-mail address",
                                            "type": "string"
                                        },
                                        "accountUrl": {
                                            "nullable": true,
                                            "title": "Account URL assigned by the provider",
                                            "type": "string"
                                        },
                                        "registered": {
                                            "title": "Is the account registered at the provider?",
                                            "type": "boolean"
                                        },
                                        "termsOfServiceAgreed": {
                                            "title": "Have the terms of service been agreed?",
                                            "type": "boolean"
                                        },
                                        "externalAccountBinding": {
                                            "title": "Has the account been registered with External Account Binding?",
                                            "type": "boolean"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "provider",
                                        "keyType",
                                        "email",
                                        "accountUrl",
                                        "registered",
                                        "termsOfServiceAgreed",
                                        "externalAccountBinding",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Updates the contact e-mail address of the ACME account",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "ACME account UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "title": "ACME account update",
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "email": {
                                        "nullable": true,
                                        "title": "Contact e-mail address, null to remove the contact",
                                        "type": "string",
                                        "maxLength": 255,
                                        "format": "email"
                                    }
                                },
                                "required": [
                                    "email"
                                ]
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME account",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME account UUID",
                                            "type": "string"
                                        },
                                        "provider": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "keyType": {
                                            "title": "Account key type",
                                            "type": "string",
                                            "enum": [
                                                "ec-p256",
                                                "ec-p384",
                                                "rsa-2048",
                                                "rsa-4096"
                                            ]
                                        },
                                        "email": {
                                            "nullable": true,
                                            "title": "Contact e-mail address",
                                            "type": "string"
                                        },
                                        "accountUrl": {
                                            "nullable": true,
                                            "title": "Account URL assigned by the provider",
                                            "type": "string"
                                        },
                                        "registered": {
                                            "title": "Is the account registered at the provider?",
                                            "type": "boolean"
                                        },
                                        "termsOfServiceAgreed": {
                                            "title": "Have the terms of service been agreed?",
                                            "type": "boolean"
                                        },
                                        "externalAccountBinding": {
                                            "title": "Has the account been registered with External Account Binding?",
                                            "type": "boolean"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "provider",
                                        "keyType",
                                        "email",
                                        "accountUrl",
                                        "registered",
                                        "termsOfServiceAgreed",
                                        "externalAccountBinding",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "502": {
                        "description": "Failed to communicate with the ACME certificate authority"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Deletes the ACME account",
                "description": "The ACME configuration of the server certificate using the account is deleted too, the installed certificate is kept.",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "ACME account UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "deactivate",
                        "in": "query",
                        "description": "Deactivate the account at the ACME provider before the deletion",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "502": {
                        "description": "Failed to communicate with the ACME certificate authority"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/acme/accounts": {
            "get": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Lists ACME accounts",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "title": "ACME account",
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                            "uuid": {
                                                "title": "ACME account UUID",
                                                "type": "string"
                                            },
                                            "provider": {
                                                "title": "ACME provider UUID",
                                                "type": "string"
                                            },
                                            "keyType": {
                                                "title": "Account key type",
                                                "type": "string",
                                                "enum": [
                                                    "ec-p256",
                                                    "ec-p384",
                                                    "rsa-2048",
                                                    "rsa-4096"
                                                ]
                                            },
                                            "email": {
                                                "nullable": true,
                                                "title": "Contact e-mail address",
                                                "type": "string"
                                            },
                                            "accountUrl": {
                                                "nullable": true,
                                                "title": "Account URL assigned by the provider",
                                                "type": "string"
                                            },
                                            "registered": {
                                                "title": "Is the account registered at the provider?",
                                                "type": "boolean"
                                            },
                                            "termsOfServiceAgreed": {
                                                "title": "Have the terms of service been agreed?",
                                                "type": "boolean"
                                            },
                                            "externalAccountBinding": {
                                                "title": "Has the account been registered with External Account Binding?",
                                                "type": "boolean"
                                            },
                                            "createdAt": {
                                                "title": "Creation time",
                                                "type": "string",
                                                "format": "date-time"
                                            }
                                        },
                                        "required": [
                                            "uuid",
                                            "provider",
                                            "keyType",
                                            "email",
                                            "accountUrl",
                                            "registered",
                                            "termsOfServiceAgreed",
                                            "externalAccountBinding",
                                            "createdAt"
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Creates a new ACME account and registers it at the provider",
                "description": "Generates a new account key (EC P-256 by default) and registers the account at the ACME provider.\nExternal Account Binding credentials are required by some providers (e.g. ZeroSSL, Google Trust Services or SSL.com).",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "title": "ACME account registration",
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "provider": {
                                        "title": "ACME provider UUID",
                                        "type": "string",
                                        "format": "uuid"
                                    },
                                    "email": {
                                        "nullable": true,
                                        "title": "Contact e-mail address",
                                        "type": "string",
                                        "maxLength": 255,
                                        "format": "email",
                                        "default": null
                                    },
                                    "termsOfServiceAgreed": {
                                        "title": "Have the terms of service of the provider been agreed?",
                                        "type": "boolean"
                                    },
                                    "keyType": {
                                        "title": "Account key type",
                                        "type": "string",
                                        "enum": [
                                            "ec-p256",
                                            "ec-p384",
                                            "rsa-2048",
                                            "rsa-4096"
                                        ],
                                        "default": "ec-p256"
                                    },
                                    "externalAccountBinding": {
                                        "nullable": true,
                                        "title": "External Account Binding (EAB) credentials",
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                            "keyId": {
                                                "title": "EAB key identifier",
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 255
                                            },
                                            "hmacKey": {
                                                "title": "Base64url encoded EAB HMAC key",
                                                "type": "string",
                                                "maxLength": 512,
                                                "pattern": "^[A-Za-z0-9_-]+={0,2}$"
                                            }
                                        },
                                        "required": [
                                            "keyId",
                                            "hmacKey"
                                        ],
                                        "default": null
                                    }
                                },
                                "required": [
                                    "provider",
                                    "termsOfServiceAgreed"
                                ]
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME account",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME account UUID",
                                            "type": "string"
                                        },
                                        "provider": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "keyType": {
                                            "title": "Account key type",
                                            "type": "string",
                                            "enum": [
                                                "ec-p256",
                                                "ec-p384",
                                                "rsa-2048",
                                                "rsa-4096"
                                            ]
                                        },
                                        "email": {
                                            "nullable": true,
                                            "title": "Contact e-mail address",
                                            "type": "string"
                                        },
                                        "accountUrl": {
                                            "nullable": true,
                                            "title": "Account URL assigned by the provider",
                                            "type": "string"
                                        },
                                        "registered": {
                                            "title": "Is the account registered at the provider?",
                                            "type": "boolean"
                                        },
                                        "termsOfServiceAgreed": {
                                            "title": "Have the terms of service been agreed?",
                                            "type": "boolean"
                                        },
                                        "externalAccountBinding": {
                                            "title": "Has the account been registered with External Account Binding?",
                                            "type": "boolean"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "provider",
                                        "keyType",
                                        "email",
                                        "accountUrl",
                                        "registered",
                                        "termsOfServiceAgreed",
                                        "externalAccountBinding",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "429": {
                        "description": "Rate limited by the ACME certificate authority"
                    },
                    "502": {
                        "description": "Failed to communicate with the ACME certificate authority"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/acme/providers/{uuid}/directory": {
            "get": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Returns metadata of the ACME provider directory",
                "description": "Returns the terms of service, External Account Binding requirement, certificate profiles and ACME Renewal Information support.",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "ACME provider UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME directory metadata",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "termsOfService": {
                                            "nullable": true,
                                            "title": "URL of the terms of service",
                                            "type": "string"
                                        },
                                        "website": {
                                            "nullable": true,
                                            "title": "Website of the certificate authority",
                                            "type": "string"
                                        },
                                        "externalAccountRequired": {
                                            "title": "Is External Account Binding required?",
                                            "type": "boolean"
                                        },
                                        "profiles": {
                                            "title": "Certificate profiles with their descriptions",
                                            "type": "object",
                                            "additionalProperties": {
                                                "type": "string"
                                            }
                                        },
                                        "renewalInfo": {
                                            "title": "Does the provider support ACME Renewal Information (ARI)?",
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "termsOfService",
                                        "website",
                                        "externalAccountRequired",
                                        "profiles",
                                        "renewalInfo"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "502": {
                        "description": "Failed to communicate with the ACME certificate authority"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/acme/providers/{uuid}": {
            "get": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Returns the ACME provider",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "ACME provider UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME provider",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "name": {
                                            "title": "Provider name",
                                            "type": "string"
                                        },
                                        "directoryUrl": {
                                            "title": "ACME directory URL",
                                            "type": "string"
                                        },
                                        "requiresExternalAccountBinding": {
                                            "title": "Does the provider require External Account Binding?",
                                            "type": "boolean"
                                        },
                                        "privateCa": {
                                            "title": "Is the provider a private certificate authority with a custom root certificate?",
                                            "type": "boolean"
                                        },
                                        "builtIn": {
                                            "title": "Is the provider built-in? Built-in providers cannot be changed or deleted",
                                            "type": "boolean"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "name",
                                        "directoryUrl",
                                        "requiresExternalAccountBinding",
                                        "privateCa",
                                        "builtIn",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Updates the custom ACME provider",
                "description": "Built-in providers cannot be changed.",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "ACME provider UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "title": "Custom ACME provider",
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "name": {
                                        "title": "Provider name",
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 255
                                    },
                                    "directoryUrl": {
                                        "title": "ACME directory URL",
                                        "type": "string",
                                        "maxLength": 2048,
                                        "format": "uri"
                                    },
                                    "caCertificate": {
                                        "nullable": true,
                                        "title": "PEM encoded root certificate of the private certificate authority, null for publicly trusted certificate authorities",
                                        "type": "string",
                                        "default": null
                                    }
                                },
                                "required": [
                                    "name",
                                    "directoryUrl"
                                ]
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME provider",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "name": {
                                            "title": "Provider name",
                                            "type": "string"
                                        },
                                        "directoryUrl": {
                                            "title": "ACME directory URL",
                                            "type": "string"
                                        },
                                        "requiresExternalAccountBinding": {
                                            "title": "Does the provider require External Account Binding?",
                                            "type": "boolean"
                                        },
                                        "privateCa": {
                                            "title": "Is the provider a private certificate authority with a custom root certificate?",
                                            "type": "boolean"
                                        },
                                        "builtIn": {
                                            "title": "Is the provider built-in? Built-in providers cannot be changed or deleted",
                                            "type": "boolean"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "name",
                                        "directoryUrl",
                                        "requiresExternalAccountBinding",
                                        "privateCa",
                                        "builtIn",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "502": {
                        "description": "Failed to communicate with the ACME certificate authority"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Deletes the custom ACME provider",
                "description": "Accounts of the provider and the ACME configuration of the server certificate using the provider are deleted too. Built-in providers cannot be deleted.",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "ACME provider UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/acme/providers": {
            "get": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Lists ACME providers",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "title": "ACME provider",
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                            "uuid": {
                                                "title": "ACME provider UUID",
                                                "type": "string"
                                            },
                                            "name": {
                                                "title": "Provider name",
                                                "type": "string"
                                            },
                                            "directoryUrl": {
                                                "title": "ACME directory URL",
                                                "type": "string"
                                            },
                                            "requiresExternalAccountBinding": {
                                                "title": "Does the provider require External Account Binding?",
                                                "type": "boolean"
                                            },
                                            "privateCa": {
                                                "title": "Is the provider a private certificate authority with a custom root certificate?",
                                                "type": "boolean"
                                            },
                                            "builtIn": {
                                                "title": "Is the provider built-in? Built-in providers cannot be changed or deleted",
                                                "type": "boolean"
                                            },
                                            "createdAt": {
                                                "title": "Creation time",
                                                "type": "string",
                                                "format": "date-time"
                                            }
                                        },
                                        "required": [
                                            "uuid",
                                            "name",
                                            "directoryUrl",
                                            "requiresExternalAccountBinding",
                                            "privateCa",
                                            "builtIn",
                                            "createdAt"
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Security - ACME"
                ],
                "summary": "Creates a custom ACME provider",
                "description": "Creates a custom ACME provider (e.g. LabCA or another private certificate authority).\nThe ACME directory is read to verify the provider and to detect whether External Account Binding is required.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "title": "Custom ACME provider",
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "name": {
                                        "title": "Provider name",
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 255
                                    },
                                    "directoryUrl": {
                                        "title": "ACME directory URL",
                                        "type": "string",
                                        "maxLength": 2048,
                                        "format": "uri"
                                    },
                                    "caCertificate": {
                                        "nullable": true,
                                        "title": "PEM encoded root certificate of the private certificate authority, null for publicly trusted certificate authorities",
                                        "type": "string",
                                        "default": null
                                    }
                                },
                                "required": [
                                    "name",
                                    "directoryUrl"
                                ]
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME provider",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "name": {
                                            "title": "Provider name",
                                            "type": "string"
                                        },
                                        "directoryUrl": {
                                            "title": "ACME directory URL",
                                            "type": "string"
                                        },
                                        "requiresExternalAccountBinding": {
                                            "title": "Does the provider require External Account Binding?",
                                            "type": "boolean"
                                        },
                                        "privateCa": {
                                            "title": "Is the provider a private certificate authority with a custom root certificate?",
                                            "type": "boolean"
                                        },
                                        "builtIn": {
                                            "title": "Is the provider built-in? Built-in providers cannot be changed or deleted",
                                            "type": "boolean"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "name",
                                        "directoryUrl",
                                        "requiresExternalAccountBinding",
                                        "privateCa",
                                        "builtIn",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "502": {
                        "description": "Failed to communicate with the ACME certificate authority"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/server/acme/issue": {
            "post": {
                "tags": [
                    "Security - Server certificate"
                ],
                "summary": "Starts the issuance of the server certificate via ACME in the background",
                "description": "The issuance status can be checked via the GET method.",
                "responses": {
                    "202": {
                        "description": "The issuance has been started",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME configuration and issuance status of the server certificate",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME order UUID",
                                            "type": "string"
                                        },
                                        "account": {
                                            "title": "ACME account UUID",
                                            "type": "string"
                                        },
                                        "provider": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "names": {
                                            "title": "Certificate identifiers, the first one is the common name",
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "challengeType": {
                                            "title": "Challenge type",
                                            "type": "string",
                                            "enum": [
                                                "http-01"
                                            ]
                                        },
                                        "keyType": {
                                            "title": "Certificate key type",
                                            "type": "string",
                                            "enum": [
                                                "ec-p256",
                                                "ec-p384",
                                                "rsa-2048",
                                                "rsa-4096"
                                            ]
                                        },
                                        "profile": {
                                            "nullable": true,
                                            "title": "Certificate profile, null for the default profile",
                                            "type": "string"
                                        },
                                        "status": {
                                            "title": "Status of the last issuance",
                                            "type": "string",
                                            "enum": [
                                                "pending",
                                                "processing",
                                                "valid",
                                                "failed"
                                            ]
                                        },
                                        "error": {
                                            "nullable": true,
                                            "title": "Error of the last server certificate issuance via ACME",
                                            "type": "object",
                                            "additionalProperties": false,
                                            "properties": {
                                                "type": {
                                                    "nullable": true,
                                                    "title": "ACME problem type (e.g. urn:ietf:params:acme:error:unauthorized)",
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "title": "Error message",
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "type",
                                                "message"
                                            ]
                                        },
                                        "lastAttemptAt": {
                                            "nullable": true,
                                            "title": "Time of the last issuance attempt",
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "issuedAt": {
                                            "nullable": true,
                                            "title": "Time of the last successful issuance",
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "account",
                                        "provider",
                                        "names",
                                        "challengeType",
                                        "keyType",
                                        "profile",
                                        "status",
                                        "error",
                                        "lastAttemptAt",
                                        "issuedAt",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/server/acme": {
            "get": {
                "tags": [
                    "Security - Server certificate"
                ],
                "summary": "Returns the ACME configuration and the issuance status of the server certificate",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME configuration and issuance status of the server certificate",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME order UUID",
                                            "type": "string"
                                        },
                                        "account": {
                                            "title": "ACME account UUID",
                                            "type": "string"
                                        },
                                        "provider": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "names": {
                                            "title": "Certificate identifiers, the first one is the common name",
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "challengeType": {
                                            "title": "Challenge type",
                                            "type": "string",
                                            "enum": [
                                                "http-01"
                                            ]
                                        },
                                        "keyType": {
                                            "title": "Certificate key type",
                                            "type": "string",
                                            "enum": [
                                                "ec-p256",
                                                "ec-p384",
                                                "rsa-2048",
                                                "rsa-4096"
                                            ]
                                        },
                                        "profile": {
                                            "nullable": true,
                                            "title": "Certificate profile, null for the default profile",
                                            "type": "string"
                                        },
                                        "status": {
                                            "title": "Status of the last issuance",
                                            "type": "string",
                                            "enum": [
                                                "pending",
                                                "processing",
                                                "valid",
                                                "failed"
                                            ]
                                        },
                                        "error": {
                                            "nullable": true,
                                            "title": "Error of the last server certificate issuance via ACME",
                                            "type": "object",
                                            "additionalProperties": false,
                                            "properties": {
                                                "type": {
                                                    "nullable": true,
                                                    "title": "ACME problem type (e.g. urn:ietf:params:acme:error:unauthorized)",
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "title": "Error message",
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "type",
                                                "message"
                                            ]
                                        },
                                        "lastAttemptAt": {
                                            "nullable": true,
                                            "title": "Time of the last issuance attempt",
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "issuedAt": {
                                            "nullable": true,
                                            "title": "Time of the last successful issuance",
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "account",
                                        "provider",
                                        "names",
                                        "challengeType",
                                        "keyType",
                                        "profile",
                                        "status",
                                        "error",
                                        "lastAttemptAt",
                                        "issuedAt",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Security - Server certificate"
                ],
                "summary": "Configures the server certificate to be issued via ACME",
                "description": "Replaces the ACME configuration of the server certificate and optionally starts the issuance in the background.\nIdentifiers are validated using the HTTP-01 challenge, so the gateway has to be reachable on port 80 via all identifiers from the certificate authority.\nThe issued certificate is renewed automatically by the iqrf-gateway-webapp-cert-renew timer.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "title": "ACME configuration of the server certificate",
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "account": {
                                        "title": "ACME account UUID",
                                        "type": "string",
                                        "format": "uuid"
                                    },
                                    "names": {
                                        "title": "Certificate identifiers (hostnames or IP addresses), the first one is the common name",
                                        "type": "array",
                                        "minItems": 1,
                                        "maxItems": 100,
                                        "uniqueItems": true,
                                        "items": {
                                            "type": "string",
                                            "description": "Hostname, IPv4 or IPv6 address",
                                            "anyOf": [
                                                {
                                                    "format": "hostname"
                                                },
                                                {
                                                    "format": "ipv4"
                                                },
                                                {
                                                    "format": "ipv6"
                                                }
                                            ]
                                        }
                                    },
                                    "keyType": {
                                        "title": "Certificate key type",
                                        "type": "string",
                                        "enum": [
                                            "ec-p256",
                                            "ec-p384",
                                            "rsa-2048",
                                            "rsa-4096"
                                        ],
                                        "default": "ec-p384"
                                    },
                                    "profile": {
                                        "nullable": true,
                                        "title": "Certificate profile, null for the default profile of the provider",
                                        "type": "string",
                                        "maxLength": 64,
                                        "default": null
                                    },
                                    "issue": {
                                        "title": "Start the certificate issuance immediately?",
                                        "type": "boolean",
                                        "default": true
                                    }
                                },
                                "required": [
                                    "account",
                                    "names"
                                ]
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Configured (the issuance has not been started)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME configuration and issuance status of the server certificate",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME order UUID",
                                            "type": "string"
                                        },
                                        "account": {
                                            "title": "ACME account UUID",
                                            "type": "string"
                                        },
                                        "provider": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "names": {
                                            "title": "Certificate identifiers, the first one is the common name",
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "challengeType": {
                                            "title": "Challenge type",
                                            "type": "string",
                                            "enum": [
                                                "http-01"
                                            ]
                                        },
                                        "keyType": {
                                            "title": "Certificate key type",
                                            "type": "string",
                                            "enum": [
                                                "ec-p256",
                                                "ec-p384",
                                                "rsa-2048",
                                                "rsa-4096"
                                            ]
                                        },
                                        "profile": {
                                            "nullable": true,
                                            "title": "Certificate profile, null for the default profile",
                                            "type": "string"
                                        },
                                        "status": {
                                            "title": "Status of the last issuance",
                                            "type": "string",
                                            "enum": [
                                                "pending",
                                                "processing",
                                                "valid",
                                                "failed"
                                            ]
                                        },
                                        "error": {
                                            "nullable": true,
                                            "title": "Error of the last server certificate issuance via ACME",
                                            "type": "object",
                                            "additionalProperties": false,
                                            "properties": {
                                                "type": {
                                                    "nullable": true,
                                                    "title": "ACME problem type (e.g. urn:ietf:params:acme:error:unauthorized)",
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "title": "Error message",
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "type",
                                                "message"
                                            ]
                                        },
                                        "lastAttemptAt": {
                                            "nullable": true,
                                            "title": "Time of the last issuance attempt",
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "issuedAt": {
                                            "nullable": true,
                                            "title": "Time of the last successful issuance",
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "account",
                                        "provider",
                                        "names",
                                        "challengeType",
                                        "keyType",
                                        "profile",
                                        "status",
                                        "error",
                                        "lastAttemptAt",
                                        "issuedAt",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Configured and the issuance has been started",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "ACME configuration and issuance status of the server certificate",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "uuid": {
                                            "title": "ACME order UUID",
                                            "type": "string"
                                        },
                                        "account": {
                                            "title": "ACME account UUID",
                                            "type": "string"
                                        },
                                        "provider": {
                                            "title": "ACME provider UUID",
                                            "type": "string"
                                        },
                                        "names": {
                                            "title": "Certificate identifiers, the first one is the common name",
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "challengeType": {
                                            "title": "Challenge type",
                                            "type": "string",
                                            "enum": [
                                                "http-01"
                                            ]
                                        },
                                        "keyType": {
                                            "title": "Certificate key type",
                                            "type": "string",
                                            "enum": [
                                                "ec-p256",
                                                "ec-p384",
                                                "rsa-2048",
                                                "rsa-4096"
                                            ]
                                        },
                                        "profile": {
                                            "nullable": true,
                                            "title": "Certificate profile, null for the default profile",
                                            "type": "string"
                                        },
                                        "status": {
                                            "title": "Status of the last issuance",
                                            "type": "string",
                                            "enum": [
                                                "pending",
                                                "processing",
                                                "valid",
                                                "failed"
                                            ]
                                        },
                                        "error": {
                                            "nullable": true,
                                            "title": "Error of the last server certificate issuance via ACME",
                                            "type": "object",
                                            "additionalProperties": false,
                                            "properties": {
                                                "type": {
                                                    "nullable": true,
                                                    "title": "ACME problem type (e.g. urn:ietf:params:acme:error:unauthorized)",
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "title": "Error message",
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "type",
                                                "message"
                                            ]
                                        },
                                        "lastAttemptAt": {
                                            "nullable": true,
                                            "title": "Time of the last issuance attempt",
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "issuedAt": {
                                            "nullable": true,
                                            "title": "Time of the last successful issuance",
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "createdAt": {
                                            "title": "Creation time",
                                            "type": "string",
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "account",
                                        "provider",
                                        "names",
                                        "challengeType",
                                        "keyType",
                                        "profile",
                                        "status",
                                        "error",
                                        "lastAttemptAt",
                                        "issuedAt",
                                        "createdAt"
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Security - Server certificate"
                ],
                "summary": "Removes the ACME configuration of the server certificate",
                "description": "The installed certificate is kept, but it is not renewed anymore.",
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/server/self-signed": {
            "post": {
                "tags": [
                    "Security - Server certificate"
                ],
                "summary": "Generates a new self-signed server certificate and private key",
                "description": "Generates a new EC secp384r1 private key and a self-signed certificate valid for 2 years.\nServices using the certificate (e.g. the web server) are reloaded by iqrf-gateway-cert hooks.\nThe private key is also used for signing JWTs, so all issued JWTs become invalid.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "title": "Self-signed server certificate generation",
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "commonName": {
                                        "title": "Common name (hostname, IPv4 or IPv6 address)",
                                        "type": "string",
                                        "maxLength": 64,
                                        "description": "Hostname, IPv4 or IPv6 address",
                                        "anyOf": [
                                            {
                                                "format": "hostname"
                                            },
                                            {
                                                "format": "ipv4"
                                            },
                                            {
                                                "format": "ipv6"
                                            }
                                        ]
                                    },
                                    "subjectAlternativeNames": {
                                        "title": "Subject alternative names (hostnames, IPv4 or IPv6 addresses)",
                                        "type": "array",
                                        "uniqueItems": true,
                                        "items": {
                                            "type": "string",
                                            "description": "Hostname, IPv4 or IPv6 address",
                                            "anyOf": [
                                                {
                                                    "format": "hostname"
                                                },
                                                {
                                                    "format": "ipv4"
                                                },
                                                {
                                                    "format": "ipv6"
                                                }
                                            ]
                                        }
                                    }
                                },
                                "required": [
                                    "commonName",
                                    "subjectAlternativeNames"
                                ]
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CertificateDetail"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/server/suggested-names": {
            "get": {
                "tags": [
                    "Security - Server certificate"
                ],
                "summary": "Returns the names suggested for the server certificate",
                "description": "Returns the host names and IP addresses of the gateway suggested as the certificate names.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "title": "Names suggested for the server certificate (host names and IP addresses of the gateway)",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                        "selfSigned": {
                                            "title": "Names suggested for the self-signed server certificate",
                                            "type": "object",
                                            "additionalProperties": false,
                                            "properties": {
                                                "commonName": {
                                                    "title": "Suggested common name (the host name)",
                                                    "type": "string"
                                                },
                                                "subjectAlternativeNames": {
                                                    "title": "Suggested subject alternative names (host names, mDNS name, localhost and IP addresses)",
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "required": [
                                                "commonName",
                                                "subjectAlternativeNames"
                                            ]
                                        },
                                        "acme": {
                                            "title": "Names suggested for the server certificate issued via ACME",
                                            "type": "object",
                                            "additionalProperties": false,
                                            "properties": {
                                                "names": {
                                                    "title": "Suggested fully qualified domain names",
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "ipAddresses": {
                                                    "title": "Suggested public IP addresses (only some certificate authorities issue certificates for IP addresses)",
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "required": [
                                                "names",
                                                "ipAddresses"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "selfSigned",
                                        "acme"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/certificates/server": {
            "get": {
                "tags": [
                    "Security - Server certificate"
                ],
                "summary": "Returns information about the server certificate",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CertificateDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Security - Server certificate"
                ],
                "summary": "Uploads a new server certificate and private key",
                "description": "Uploaded PEM files have to contain the certificate (optionally followed by the intermediate certificates) and the unencrypted private key.\nThe certificate and private key can be uploaded as separate files or in a single file.\nServices using the certificate (e.g. the web server) are reloaded by iqrf-gateway-cert hooks.\nThe private key is also used for signing JWTs, so all issued JWTs become invalid if the private key changes.\nCertificates issued by a certificate authority are not renewed automatically.",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "certificate"
                                ],
                                "properties": {
                                    "certificate": {
                                        "type": "string",
                                        "format": "binary",
                                        "description": "PEM encoded certificate, it can also contain the intermediate certificates and the private key"
                                    },
                                    "privateKey": {
                                        "type": "string",
                                        "format": "binary",
                                        "description": "PEM encoded unencrypted private key"
                                    }
                                }
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CertificateDetail"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "413": {
                        "description": "Uploaded file too large"
                    },
                    "415": {
                        "$ref": "#/components/responses/InvalidContentType"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/daemon-access-tokens/{id}/revoke": {
            "post": {
                "tags": [
                    "Security - Daemon API access tokens"
                ],
                "summary": "Revokes Daemon API access token",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Daemon API access token ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/daemon-access-tokens/{id}/rotate": {
            "post": {
                "tags": [
                    "Security - Daemon API access tokens"
                ],
                "summary": "Rotates Daemon API access token",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Daemon API access token ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DaemonApiTokenCreated"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/daemon-access-tokens/{id}": {
            "get": {
                "tags": [
                    "Security - Daemon API access tokens"
                ],
                "summary": "Returns Daemon API access token",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Daemon API access token ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DaemonApiToken"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/daemon-access-tokens": {
            "get": {
                "tags": [
                    "Security - Daemon API access tokens"
                ],
                "summary": "Lists Daemon API access tokens",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DaemonApiTokenList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Security - Daemon API access tokens"
                ],
                "summary": "Creates a new Daemon API access token",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DaemonApiTokenCreate"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created Daemon API access token",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DaemonApiTokenCreated"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/mosquitto-users/{id}/block": {
            "post": {
                "tags": [
                    "Security - Mosquitto users API controller"
                ],
                "summary": "Blocks mosquitto user",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Mosquitto user ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/mosquitto-users/{id}/unblock": {
            "post": {
                "tags": [
                    "Security - Mosquitto users API controller"
                ],
                "summary": "Unlocks mosquitto user",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Mosquitto user ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MosquittoUserUnblock"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/mosquitto-users/{id}": {
            "get": {
                "tags": [
                    "Security - Mosquitto users API controller"
                ],
                "summary": "Returns mosquitto user",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Mosquitto user ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MosquittoUser"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/mosquitto-users": {
            "get": {
                "tags": [
                    "Security - Mosquitto users API controller"
                ],
                "summary": "Lists mosquitto users",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MosquittoUserList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Security - Mosquitto users API controller"
                ],
                "summary": "Creates a new mosquitto user",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MosquittoUserCreate"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created Mosquitto user",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/MosquittoUser"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/shellUser/password": {
            "put": {
                "tags": [
                    "Security - Shell user password"
                ],
                "summary": "Updates default gateway user password",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GatewayPassword"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/ssh-keys/host/sshfp": {
            "post": {
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Returns host SSHFP DNS records",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SshHostSshfpRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshHostSshfpRecords"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/ssh-keys/host": {
            "get": {
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Returns host SSH keys",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshHostKeys"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/ssh-keys/types": {
            "get": {
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Lists SSH key types",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshKeyTypes"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/ssh-keys/{id}": {
            "get": {
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Returns authorized SSH public key",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SSH public key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshKeyDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Removes an authorized SSH public key",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SSH public key ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/ssh-keys": {
            "get": {
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "List authorized SSH public keys",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshKeyList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Security - SSH keys"
                ],
                "summary": "Adds SSH keys for key-based authentication",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SshKeysAdd"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Partial success, duplicate keys in body (ignored)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshKeyCreated"
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SshKeyCreated"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/users/{id}/block": {
            "post": {
                "tags": [
                    "Security - User management"
                ],
                "summary": "Blocks a user",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "description": "Not found"
                    },
                    "409": {
                        "description": "User is already blocked"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/users/{id}/resend": {
            "post": {
                "tags": [
                    "Security - User management"
                ],
                "summary": "Resends the invitation/verification e-mail",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "description": "User is already verified",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/MailerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/users/{id}/unblock": {
            "post": {
                "tags": [
                    "Security - User management"
                ],
                "summary": "Unblocks a user",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "description": "Not found"
                    },
                    "409": {
                        "description": "User is not blocked"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/users/{id}": {
            "get": {
                "tags": [
                    "Security - User management"
                ],
                "summary": "Returns user by ID",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "tags": [
                    "Security - User management"
                ],
                "summary": "Updates the user",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserEdit"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Security - User management"
                ],
                "summary": "Deletes a user",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/security/users": {
            "get": {
                "tags": [
                    "Security - User management"
                ],
                "summary": "Lists all users",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserList"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "tags": [
                    "Security - User management"
                ],
                "summary": "Creates a new user",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserCreate"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created user",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "409": {
                        "$ref": "#/components/responses/Conflict",
                        "description": "E-mail address or username is already used"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/services/{name}/disable": {
            "post": {
                "tags": [
                    "Service manager"
                ],
                "summary": "Disables the service",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Service name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ServiceDisable"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "description": "The service cannot be enabled or disabled (e.g. static or masked systemd unit)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/UnsupportedInitSystem"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/services/{name}/enable": {
            "post": {
                "tags": [
                    "Service manager"
                ],
                "summary": "Enables the service",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Service name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ServiceEnable"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "description": "The service cannot be enabled or disabled (e.g. static or masked systemd unit)",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/UnsupportedInitSystem"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/services/{name}/restart": {
            "post": {
                "tags": [
                    "Service manager"
                ],
                "summary": "Restarts the service",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Service name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/UnsupportedInitSystem"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/services/{name}/start": {
            "post": {
                "tags": [
                    "Service manager"
                ],
                "summary": "Starts the service",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Service name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/UnsupportedInitSystem"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/services/{name}/stop": {
            "post": {
                "tags": [
                    "Service manager"
                ],
                "summary": "Stops the service",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Service name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/UnsupportedInitSystem"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/services/{name}": {
            "get": {
                "tags": [
                    "Service manager"
                ],
                "summary": "Returns the service status",
                "parameters": [
                    {
                        "name": "name",
                        "in": "path",
                        "description": "Service name",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ServiceStatus"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/UnsupportedInitSystem"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/services": {
            "get": {
                "tags": [
                    "Service manager"
                ],
                "summary": "Returns the supported services",
                "parameters": [
                    {
                        "name": "withStatus",
                        "in": "query",
                        "description": "Include service status",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ServiceList"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/user/password/recovery/{uuid}": {
            "post": {
                "deprecated": true,
                "tags": [
                    "Account"
                ],
                "summary": "Recovers the forgotten password",
                "description": "Deprecated in favor of the new account controller, use `POST` `/account/password/recovery/{uuid}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "Password recovery request UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PasswordRecovery"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserToken"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "410": {
                        "description": "Password recovery request is expired",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/user/password/recovery": {
            "post": {
                "deprecated": true,
                "tags": [
                    "Account"
                ],
                "summary": "Requests the password recovery",
                "description": "Deprecated in favor of the new account controller, use `POST` `/account/password/recovery` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PasswordRecoveryRequest"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "description": "E-mail address is not verified",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "User not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/MailerError"
                    }
                }
            }
        },
        "/user/password": {
            "put": {
                "deprecated": true,
                "tags": [
                    "Account"
                ],
                "summary": "Updates user's password",
                "description": "Deprecated in favor of the new account controller, use `PUT` `/account/password` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PasswordChange"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/user/refreshToken": {
            "post": {
                "deprecated": true,
                "tags": [
                    "Account"
                ],
                "summary": "Refreshes user access token",
                "description": "Deprecated in favor of the new account controller, use `POST` `/account/tokenRefresh` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserToken"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/user/resendVerification": {
            "post": {
                "deprecated": true,
                "tags": [
                    "Account"
                ],
                "summary": "Resends the verification e-mail",
                "description": "Deprecated in favor of the new account controller, use `POST` `/account/verification/resend` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "description": "User is already verified",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "$ref": "#/components/responses/MailerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/user/signIn": {
            "post": {
                "deprecated": true,
                "tags": [
                    "Account"
                ],
                "summary": "Signs in the user",
                "description": "Deprecated in favor of the new account controller, use `POST` `/account/signIn` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserSignIn"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserToken"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    }
                }
            }
        },
        "/user/verify/{uuid}": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Account"
                ],
                "summary": "Verifies the user",
                "description": "Deprecated in favor of the new account controller, use `GET` `/account/verification/{uuid}` instead. Will be removed in the version 3.1.0.",
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "description": "User verification UUID",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    }
                }
            }
        },
        "/user": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Account"
                ],
                "summary": "Returns information about logged in user",
                "description": "Deprecated in favor of the new account controller, use `GET` `/account` instead. Will be removed in the version 3.1.0.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "deprecated": true,
                "tags": [
                    "Account"
                ],
                "summary": "Updates the user account information",
                "description": "Deprecated in favor of the new account controller, use `PUT` `/account` instead. Will be removed in the version 3.1.0.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserEdit"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenApiKey"
                    },
                    "409": {
                        "description": "Username or e-mail address is already used",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/users/{id}/resendVerification": {
            "post": {
                "deprecated": true,
                "tags": [
                    "Security - User management"
                ],
                "summary": "Resends the verification e-mail",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "description": "User is already verified",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "500": {
                        "$ref": "#/components/responses/MailerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/users/{id}": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Security - User management"
                ],
                "summary": "Returns user by ID",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserDetail"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "put": {
                "deprecated": true,
                "tags": [
                    "Security - User management"
                ],
                "summary": "Updates the user",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserEdit"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "409": {
                        "description": "Username is already used",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "delete": {
                "deprecated": true,
                "tags": [
                    "Security - User management"
                ],
                "summary": "Deletes the user",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "User ID",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/users": {
            "get": {
                "deprecated": true,
                "tags": [
                    "Security - User management"
                ],
                "summary": "Lists all users",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/UserDetail"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            },
            "post": {
                "deprecated": true,
                "tags": [
                    "Security - User management"
                ],
                "summary": "Creates a new user",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserCreate"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Created",
                        "headers": {
                            "Location": {
                                "description": "Location of information about the created user",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "409": {
                        "description": "E-mail address or username is already used",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/version/daemon": {
            "get": {
                "tags": [
                    "Version"
                ],
                "summary": "Returns IQRF Gateway Daemon version",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/VersionDaemon"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/version/webapp": {
            "get": {
                "tags": [
                    "Version"
                ],
                "summary": "Returns IQRF Gateway Webapp version",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/VersionWebapp"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        },
        "/version": {
            "get": {
                "tags": [
                    "Version"
                ],
                "summary": "Returns IQRF Gateway software versions",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Versions"
                                }
                            }
                        }
                    },
                    "403": {
                        "$ref": "#/components/responses/Forbidden"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "AccountEdit": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/accountEdit.json",
                "title": "Account - Update user information"
            },
            "ApiKeyCreated": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/apiKeyCreated.json",
                "title": "Security - Created API key"
            },
            "ApiKeyDetail": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/apiKeyDetail.json",
                "title": "Security - API key detail"
            },
            "ApiKeyList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/apiKeyList.json",
                "title": "Security - API key list"
            },
            "ApiKeyModify": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/apiKeyModify.json",
                "title": "Security - Modify API key"
            },
            "AptConfiguration": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/aptConfiguration.json",
                "title": "Configuration - APT package manager"
            },
            "BridgeConfig": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/bridgeConfig.json",
                "title": "Configuration - IQRF Gateway InfluxDB bridge"
            },
            "CertificateDetail": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/certificate.json",
                "title": "Security - Certificate detail"
            },
            "CloudAws": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/cloudAws.json",
                "title": "Cloud services - AWS IoT configuration"
            },
            "CloudAzure": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/cloudAzure.json",
                "title": "Cloud services - Azure IoT Hub configuration"
            },
            "CloudIbm": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/cloudIbm.json",
                "title": "Cloud services - IBM Cloud IoT configuration"
            },
            "ControllerConfig": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/controllerConfig.json",
                "title": "Configuration - IQRF Gateway Controller"
            },
            "ControllerPinConfig": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/controllerPinConfig.json",
                "title": "Configuration - IQRF Gateway Controller - pin configuration"
            },
            "ControllerPinConfigList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/controllerPinConfigList.json",
                "title": "Configuration - IQRF Gateway Controller - pin configuration list"
            },
            "DaemonApiToken": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonApiToken.json",
                "title": "Security - Daemon API access tokens - token information"
            },
            "DaemonApiTokenCreate": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonApiTokenCreate.json",
                "title": "Security - Daemon API access tokens - create token"
            },
            "DaemonApiTokenCreated": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonApiTokenCreated.json",
                "title": "Security - Daemon API access tokens - token created"
            },
            "DaemonApiTokenList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonApiTokenList.json",
                "title": "Security - Daemon API access tokens - token list"
            },
            "DaemonComponent": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonComponent.json",
                "title": "Configuration - IQRF Gateway Daemon - component"
            },
            "DaemonComponentDetail": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonComponentDetail.json",
                "title": "Configuration - IQRF Gateway Daemon - component detail"
            },
            "DaemonComponentEnabled": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonComponentEnabled.json",
                "title": "Configuration - IQRF Gateway Daemon - component enabled"
            },
            "DaemonConfiguration": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonConfiguration.json",
                "title": "Configuration - IQRF Gateway Daemon - configuration"
            },
            "DaemonLicenseDetail": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonLicenseDetail.json"
            },
            "DpaFile": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/dpaFile.json"
            },
            "DpaFileName": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/dpaFileName.json"
            },
            "Error": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/error.json"
            },
            "Feature": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/feature.json"
            },
            "FeatureList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/featureList.json"
            },
            "GatewayBackup": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/gatewayBackup.json"
            },
            "GatewayInfo": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/gatewayInfo.json",
                "title": "Gateway - Information"
            },
            "GatewayPassword": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/gatewayPassword.json"
            },
            "Hostname": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/hostname.json",
                "title": "Gateway - Hostname"
            },
            "IqrfIdeMacros": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/iqrfIdeMacros.json"
            },
            "IqrfInterfaces": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/iqrfInterfaces.json"
            },
            "IqrfOsDpaUpgrade": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/iqrfOsDpaUpgrade.json"
            },
            "IqrfOsPatchDetail": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/iqrfOsPatchDetail.json"
            },
            "IqrfOsPatchUpgrade": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/iqrfOsPatchUpgrade.json"
            },
            "IqrfOsUpgradeList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/iqrfOsUpgradeList.json"
            },
            "IqrfRepositoryConfig": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/iqrfRepositoryConfig.json"
            },
            "IqrfUploadedFile": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/iqrfUploadedFile.json"
            },
            "InstallationCheck": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/installationCheck.json"
            },
            "InstallUserCreate": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/installUserCreate.json"
            },
            "Journal": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/journal.json"
            },
            "JournalRecords": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/journalRecords.json"
            },
            "JsonSchema": {
                "$ref": "https://json-schema.org/draft-07/schema"
            },
            "Jwt": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/jwt.json"
            },
            "LogServices": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/logServices.json"
            },
            "MailerConfiguration": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/mailer.json",
                "title": "Confuguration - Mailer"
            },
            "MainConfiguration": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/mainConfiguration.json"
            },
            "Mapping": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/mapping.json"
            },
            "MappingDetail": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/mappingDetail.json"
            },
            "MappingList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/mappingList.json"
            },
            "MenderConfig": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/menderConfig.json"
            },
            "MessagingInstances": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/messagingInstances.json"
            },
            "ModemList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/modemList.json",
                "title": "Network - Cellular modem list"
            },
            "MonitConfig": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/monitConfig.json",
                "title": "Configuration - Monit"
            },
            "MonitCheckConfig": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/monitCheckConfig.json",
                "title": "Configuration - Monit - check"
            },
            "MosquittoUser": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/mosquittoUser.json",
                "title": "Security - Mosquitto user details"
            },
            "MosquittoUserCreate": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/mosquittoUserCreate.json",
                "title": "Security - Mosquitto user create"
            },
            "MosquittoUserList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/mosquittoUserList.json",
                "title": "Security - Mosquitto user list"
            },
            "MosquittoUserUnblock": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/mosquittoUserUnblock.json",
                "title": "Security - Mosquitto user unblock"
            },
            "NetworkConnection": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkConnection.json",
                "title": "Network - Connection"
            },
            "NetworkConnectionCreated": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkConnectionCreated.json",
                "title": "Network - Connection - created"
            },
            "NetworkConnections": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkConnections.json",
                "title": "Network - Connections"
            },
            "NetworkInterfaces": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkInterfaces.json",
                "title": "Network - Interfaces"
            },
            "NetworkConnectivityState": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkConnectivityState.json",
                "title": "Network - Connectivity state"
            },
            "NetworkOperator": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkOperator.json",
                "title": "Network - Cellular operator"
            },
            "NetworkOperatorList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkOperatorList.json",
                "title": "Network - Cellular operator list"
            },
            "NetworkWifiList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkWifiList.json",
                "title": "Network - Wi-Fi list"
            },
            "NetworkWireGuardKeys": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkWireGuardKeys.json",
                "title": "Network - WireGuard - key pair"
            },
            "NetworkWireGuardPrivateKey": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkWireGuardPrivateKey.json",
                "title": "Network - WireGuard - private key"
            },
            "NetworkWireGuardPsk": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkWireGuardPsk.json",
                "title": "Network - WireGuard - pre-shared key"
            },
            "NetworkWireGuardPublicKey": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/networkWireGuardPublicKey.json",
                "title": "Network - WireGuard - public key"
            },
            "OpenApiSpecification": {
                "$ref": "https://spec.openapis.org/oas/3.1/schema/2025-11-23",
                "title": "OpenAPI 3.1 Specification"
            },
            "PasswordChange": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/passwordChange.json"
            },
            "PasswordRecovery": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/passwordRecovery.json"
            },
            "PasswordRecoveryRequest": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/passwordRecoveryRequest.json"
            },
            "PasswordSet": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/passwordSet.json"
            },
            "PowerControl": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/powerControl.json"
            },
            "ServiceDisable": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/serviceDisable.json"
            },
            "ServiceEnable": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/serviceEnable.json"
            },
            "ServiceList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/serviceList.json",
                "title": "Services - list"
            },
            "ServiceStatus": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/serviceStatus.json",
                "title": "Services - status"
            },
            "SshKeyCreated": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/sshKeyCreated.json",
                "title": "Security - SSH key - created"
            },
            "SshKeyDetail": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/sshKeyDetail.json",
                "title": "Security - SSH key - detail"
            },
            "SshHostKeys": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/sshHostKeys.json",
                "title": "Security - SSH host keys"
            },
            "SshHostSshfpRequest": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/sshHostSshfpRequest.json",
                "title": "Security - SSH host SSHFP request"
            },
            "SshHostSshfpRecords": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/sshHostSshfpRecords.json",
                "title": "Security - SSH host SSHFP records"
            },
            "SshKeyList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/sshKeyList.json",
                "title": "Security - SSH key - list"
            },
            "SshKeysAdd": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/sshKeysAdd.json",
                "title": "Security - SSH key - add"
            },
            "SshKeyTypes": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/sshKeyTypes.json",
                "title": "Security - SSH key - types"
            },
            "Task": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/task.json",
                "title": "Configuration - IQRF Gateway Daemon - scheduled task"
            },
            "TaskList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/taskList.json",
                "title": "Configuration - IQRF Gateway Daemon - scheduled task list"
            },
            "TimeGet": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/timeGet.json"
            },
            "TimeSet": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/timeSet.json"
            },
            "TimezoneList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/timezoneList.json"
            },
            "TotpAdd": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/totpAdd.json",
                "title": "Account - TOTP token add"
            },
            "TotpDelete": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/totpDelete.json",
                "title": "Account - TOTP token delete"
            },
            "TotpDetail": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/totpDetail.json",
                "title": "Account - TOTP token detail"
            },
            "TotpList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/totpList.json",
                "title": "Account - TOTP token list"
            },
            "TuptimeStats": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/tuptimeStats.json"
            },
            "UploaderFile": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/uploaderFile.json"
            },
            "UserCreate": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/userCreate.json"
            },
            "UserDetail": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/userDetail.json"
            },
            "UserEdit": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/userEdit.json"
            },
            "UserList": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/userList.json"
            },
            "UserPreferences": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/userPreferences.json"
            },
            "UserSignIn": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/userSignIn.json"
            },
            "UserToken": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/userToken.json"
            },
            "WebSocketProxyConfig": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/webSocketProxyConfig.json",
                "title": "Configuration - WebSocket Proxy Server"
            },
            "Versions": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/versions.json",
                "title": "Versions - IQRF Gateway software"
            },
            "VersionDaemon": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/versionDaemon.json",
                "title": "Version - IQRF Gateway Daemon"
            },
            "VersionWebapp": {
                "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/versionWebapp.json",
                "title": "Version - IQRF Gateway Webapp"
            }
        },
        "responses": {
            "BadRequest": {
                "description": "Bad request",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "Conflict": {
                "description": "Resource is in conflict with another existing resource",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "Forbidden": {
                "description": "Do not have appropriate permissions",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "ForbiddenApiKey": {
                "description": "Forbidden - API key is used",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "InvalidContentType": {
                "description": "Invalid content type",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "NotFound": {
                "description": "Requested resource was not found",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "MailerError": {
                "description": "Unable to send the e-mail",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "ServerError": {
                "description": "Server error",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "ServiceUnavailable": {
                "description": "Service is currently not available",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "UnauthorizedError": {
                "description": "API key or user token is missing or invalid",
                "headers": {
                    "WWW-Authenticate": {
                        "schema": {
                            "type": "string"
                        }
                    }
                },
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "UnsupportedInitSystem": {
                "description": "Unsupported init system",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            }
        },
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "bearerFormat": "JWT"
            }
        }
    },
    "security": [
        {
            "bearerAuth": []
        }
    ]
}
