{ "openapi": "3.0.0", "info": { "title": "metricator-for-nmon", "version": "2.0.1", "description": "METRICATOR for Nmon", "contact": { "name": "Octamis", "email": "support@octamis.com" }, "license": { "name": "Octamis", "url": "" } }, "servers": [ { "url": "https://{domain}:{port}/servicesNS/-/metricator-for-nmon", "variables": { "domain": { "default": "localhost" }, "port": { "default": "8089" } }, "description": "Access via management interface" } ], "components": { "schemas": { "logging": { "type": "object", "properties": { "loglevel": { "type": "string", "enum": [ "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL" ] } } }, "logging_without_name": { "type": "object", "properties": { "loglevel": { "type": "string", "enum": [ "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL" ] } } } }, "securitySchemes": { "BasicAuth": { "type": "http", "scheme": "basic" } } }, "paths": { "/metricator_for_nmon_settings/logging": { "get": { "responses": { "200": { "description": "Get list of items for logging", "content": { "application/json": { "schema": { "type": "object", "properties": { "entry": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "content": { "$ref": "#/components/schemas/logging_without_name" } } } } } } } } } }, "description": "Get list of items for logging", "deprecated": false }, "post": { "responses": { "200": { "description": "Create item in logging", "content": { "application/json": { "schema": { "type": "object", "properties": { "entry": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "content": { "$ref": "#/components/schemas/logging_without_name" } } } } } } } } } }, "description": "Create item in logging", "requestBody": { "content": { "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/logging" } } }, "required": false }, "deprecated": false }, "parameters": [ { "name": "output_mode", "in": "query", "required": true, "description": "Output mode", "schema": { "type": "string", "enum": [ "json" ], "default": "json" } } ] } }, "security": [ { "BasicAuth": [] } ] }