UNPKG

@itentialopensource/adapter-sevone

Version:
2,499 lines 636 kB
{ "openapi": "3.0.2", "info": { "title": "adapter-sevone", "version": "1.0.0" }, "paths": { "/alerts/{pathv1}": { "get": { "operationId": "getAlerts", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "alertId", "in": "path", "required": true, "schema": { "title": "alertId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] }, "put": { "operationId": "updateAlert", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "alertId", "in": "path", "required": true, "schema": { "title": "alertId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "operationId": "deleteAlert", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "alertId", "in": "path", "required": true, "schema": { "title": "alertId", "type": "string" } } ] } }, "/alerts/filter": { "post": { "operationId": "getAlertsFiltered", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/alerts/devices/{pathv1}": { "get": { "operationId": "getAlertsForDevice", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "path", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] } }, "/maps/{pathv1}/connection/{pathv2}/alerts": { "get": { "operationId": "getAlertsForMapConnection", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "path", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "connectionId", "in": "path", "required": false, "schema": { "title": "connectionId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] } }, "/maps/{pathv1}/node/{pathv2}/alerts": { "get": { "operationId": "getAlertsForMapNode", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "path", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "nodeId", "in": "path", "required": false, "schema": { "title": "nodeId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] } }, "/alerts": { "post": { "operationId": "createAlert", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/alerts/{pathv1}/assign/{pathv2}": { "patch": { "operationId": "assignAlert", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "alertId", "in": "path", "required": false, "schema": { "title": "alertId", "type": "string" } }, { "name": "username", "in": "path", "required": false, "schema": { "title": "username", "type": "string" } } ] } }, "/alerts/{pathv1}/ignore/{pathv2}": { "patch": { "operationId": "ignoreAlert", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "alertId", "in": "query", "required": false, "schema": { "title": "alertId", "type": "string" } }, { "name": "ignoreUntil", "in": "query", "required": false, "schema": { "title": "ignoreUntil", "type": "integer" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/alerts/{pathv1}/clear": { "patch": { "operationId": "clearAlert", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "alertId", "in": "path", "required": false, "schema": { "title": "alertId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/devices/{pathv1}": { "get": { "operationId": "getDevices", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "path", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] }, "put": { "operationId": "updateDevice", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "path", "required": false, "schema": { "title": "deviceId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/devices/filter": { "post": { "operationId": "getDevicesFiltered", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/devices": { "post": { "operationId": "createDevice", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/devicegroups/{pathv1}": { "get": { "operationId": "getDeviceGroups", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "groupId", "in": "path", "required": false, "schema": { "title": "groupId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] }, "put": { "operationId": "updateDeviceGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "groupId", "in": "path", "required": false, "schema": { "title": "groupId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "operationId": "deleteDeviceGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "groupId", "in": "path", "required": false, "schema": { "title": "groupId", "type": "string" } } ] } }, "/devicegroups": { "post": { "operationId": "createDeviceGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/devicegroups/{pathv1}/members/{pathv2}": { "post": { "operationId": "addDeviceToGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "path", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "groupId", "in": "path", "required": false, "schema": { "title": "groupId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "operationId": "removeDeviceFromGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "path", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "groupId", "in": "path", "required": false, "schema": { "title": "groupId", "type": "string" } } ] } }, "/devices/{pathv1}/objects/{pathv2}": { "get": { "operationId": "getDeviceComponents", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "query", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "deviceName", "in": "query", "required": false, "schema": { "title": "deviceName", "type": "string" } }, { "name": "componentId", "in": "query", "required": false, "schema": { "title": "componentId", "type": "string" } }, { "name": "componentName", "in": "query", "required": false, "schema": { "title": "componentName", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] }, "put": { "operationId": "updateDeviceComponent", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "query", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "componentId", "in": "query", "required": false, "schema": { "title": "componentId", "type": "string" } }, { "name": "componentObj", "in": "query", "required": false, "schema": { "title": "componentObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "operationId": "deleteDeviceComponent", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "query", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "componentId", "in": "query", "required": false, "schema": { "title": "componentId", "type": "string" } } ] } }, "/devices/objects/filter": { "post": { "operationId": "getDeviceComponentsFiltered", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "filterObj", "in": "query", "required": false, "schema": { "title": "filterObj", "type": "object" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/devices/{pathv1}/objects": { "post": { "operationId": "createDeviceComponent", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "query", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "componentObj", "in": "query", "required": false, "schema": { "title": "componentObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/objectgroups/{pathv1}": { "get": { "operationId": "getComponentGroups", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "groupId", "in": "query", "required": false, "schema": { "title": "groupId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] }, "put": { "operationId": "updateComponentGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "groupId", "in": "query", "required": false, "schema": { "title": "groupId", "type": "string" } }, { "name": "groupObj", "in": "query", "required": false, "schema": { "title": "groupObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "operationId": "deleteComponentGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "groupId", "in": "query", "required": false, "schema": { "title": "groupId", "type": "string" } } ] } }, "/objectgroups": { "post": { "operationId": "createComponentGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "groupObj", "in": "query", "required": false, "schema": { "title": "groupObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/objectgroups/{pathv1}/members": { "post": { "operationId": "addDeviceComponentToGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "query", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "componentId", "in": "query", "required": false, "schema": { "title": "componentId", "type": "string" } }, { "name": "groupId", "in": "query", "required": false, "schema": { "title": "groupId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "operationId": "removeDeviceComponentFromGroup", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "query", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "componentId", "in": "query", "required": false, "schema": { "title": "componentId", "type": "string" } }, { "name": "groupId", "in": "query", "required": false, "schema": { "title": "groupId", "type": "string" } } ] } }, "/devices/{pathv1}/objects/{pathv2}/indicators/{pathv3}": { "get": { "operationId": "getIndicators", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "query", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "deviceName", "in": "query", "required": false, "schema": { "title": "deviceName", "type": "string" } }, { "name": "componentId", "in": "query", "required": false, "schema": { "title": "componentId", "type": "string" } }, { "name": "componentName", "in": "query", "required": false, "schema": { "title": "componentName", "type": "string" } }, { "name": "indicatorId", "in": "query", "required": false, "schema": { "title": "indicatorId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] } }, "/devices/{pathv1}/objects/{pathv2}/indicators/{pathv3}/data": { "get": { "operationId": "getIndicatorData", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "deviceId", "in": "query", "required": false, "schema": { "title": "deviceId", "type": "string" } }, { "name": "deviceName", "in": "query", "required": false, "schema": { "title": "deviceName", "type": "string" } }, { "name": "componentId", "in": "query", "required": false, "schema": { "title": "componentId", "type": "string" } }, { "name": "componentName", "in": "query", "required": false, "schema": { "title": "componentName", "type": "string" } }, { "name": "indicatorId", "in": "query", "required": false, "schema": { "title": "indicatorId", "type": "string" } }, { "name": "startTime", "in": "query", "required": false, "schema": { "title": "startTime", "type": "integer" } }, { "name": "endTime", "in": "query", "required": false, "schema": { "title": "endTime", "type": "integer" } } ] } }, "/device-indicators/data": { "post": { "operationId": "createIndicatorData", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "indicatorObj", "in": "query", "required": false, "schema": { "title": "indicatorObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/maps/{pathv1}": { "get": { "operationId": "getMaps", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] }, "put": { "operationId": "updateMap", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "mapObj", "in": "query", "required": false, "schema": { "title": "mapObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "operationId": "deleteMap", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } } ] } }, "/maps": { "post": { "operationId": "createMap", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapObj", "in": "query", "required": false, "schema": { "title": "mapObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/maps/{pathv1}/connections": { "get": { "operationId": "getMapConnections", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] }, "post": { "operationId": "createMapConnection", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "connectionObj", "in": "query", "required": false, "schema": { "title": "connectionObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/maps/{pathv1}/connections/{pathv2}": { "put": { "operationId": "updateMapConnection", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "connectionId", "in": "query", "required": false, "schema": { "title": "connectionId", "type": "string" } }, { "name": "connectionObj", "in": "query", "required": false, "schema": { "title": "connectionObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "operationId": "deleteMapConnection", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "connectionId", "in": "query", "required": false, "schema": { "title": "connectionId", "type": "string" } } ] } }, "/maps/{pathv1}/nodes": { "get": { "operationId": "getMapNodes", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "uriOptions", "in": "query", "required": false, "schema": { "title": "uriOptions", "type": "object" } } ] }, "post": { "operationId": "createMapNode", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "nodeObj", "in": "query", "required": false, "schema": { "title": "nodeObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/maps/{pathv1}/nodes/{pathv2}": { "put": { "operationId": "updateMapNode", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "nodeId", "in": "query", "required": false, "schema": { "title": "nodeId", "type": "string" } }, { "name": "nodeObj", "in": "query", "required": false, "schema": { "title": "nodeObj", "type": "object" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "operationId": "deleteMapNode", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "mapId", "in": "query", "required": false, "schema": { "title": "mapId", "type": "string" } }, { "name": "nodeId", "in": "query", "required": false, "schema": { "title": "nodeId", "type": "string" } } ] } }, "/api/v1/reports/attachments/objects/{id}/resources": { "get": { "operationId": "getObjectAttachmentResources", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "ObjectAttachmentResourceV1", "type": "object", "properties": { "deviceId": { "type": "integer", "description": "Required if type is Object" }, "ids": { "type": "array", "items": { "type": "integer" }, "description": "" }, "type": { "title": "Type60", "enum": [ "Object", "Device", "ObjectGroup", "Everything" ], "type": "string" } } } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "number" } } ] }, "put": { "operationId": "updateObjectAttachmentResources", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "ObjectAttachmentResourceV1", "type": "object", "properties": { "deviceId": { "type": "integer", "description": "Required if type is Object" }, "ids": { "type": "array", "items": { "type": "integer" }, "description": "" }, "type": { "title": "Type60", "enum": [ "Object", "Device", "ObjectGroup", "Everything" ], "type": "string" } } } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "number" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/api/v1/reports/attachments/objects/{id}/settings": { "get": { "operationId": "getObjectAttachmentSettings", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "ObjectAttachmentSettingsV1", "type": "object", "properties": { "resultLimitSetting": { "title": "ResultLimitSettingV1", "type": "object", "properties": { "resultLimit": { "type": "integer" } } } } } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "number" } } ] }, "put": { "operationId": "updateObjectAttachmentSettings", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "ObjectAttachmentSettingsV1", "type": "object", "properties": { "resultLimitSetting": { "title": "ResultLimitSettingV1", "type": "object", "properties": { "resultLimit": { "type": "integer" } } } } } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "number" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/api/v1/reports/attachments/objects/{id}/visualizations": { "get": { "operationId": "getObjectAttachmentVisualizationSettings", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "ObjectAttachmentVisualizationV1", "type": "object", "properties": { "table": { "title": "VisualizationTableSettingV1", "type": "object", "properties": { "columnSetting": { "title": "ColumnSetting", "type": "object", "properties": { "exclude": { "type": "array", "items": { "type": "string" }, "description": "" }, "include": { "type": "array", "items": { "type": "string" }, "description": "" } } }, "csvSetting": { "title": "CSVSetting", "type": "object", "properties": { "expandTimeseries": { "type": "boolean" }, "formatTimestamp": { "type": "boolean" } } }, "dataPresentationSetting": { "title": "DataPresentationSetting", "type": "object", "properties": { "formatNumbers": { "type": "boolean" }, "precision": { "type": "integer" } } }, "tableSetting": { "title": "TableSetting", "type": "object", "properties": { "blockVis": { "type": "boolean" }, "hideHeaders": { "type": "boolean" }, "wrapCells": { "type": "boolean" } } } } } } } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "number" } } ] }, "put": { "operationId": "updateObjectAttachmentVisualizationSettings", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "ObjectAttachmentVisualizationV1", "type": "object", "properties": { "table": { "title": "VisualizationTableSettingV1", "type": "object", "properties": { "columnSetting": { "title": "ColumnSetting", "type": "object", "properties": { "exclude": { "type": "array", "items": { "type": "string" }, "description": "" }, "include": { "type": "array", "items": { "type": "string" }, "description": "" } } }, "csvSetting": { "title": "CSVSetting", "type": "object", "properties": { "expandTimeseries": { "type": "boolean" }, "formatTimestamp": { "type": "boolean" } } }, "dataPresentationSetting": { "title": "DataPresentationSetting", "type": "object", "properties": { "formatNumbers": { "type": "boolean" }, "precision": { "type": "integer" } } }, "tableSetting": { "title": "TableSetting", "type": "object", "properties": { "blockVis": { "type": "boolean" }, "hideHeaders": { "type": "boolean" }, "wrapCells": { "type": "boolean" } } } } } } } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "number" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } }, "patch": { "operationId": "partiallyUpdateObjectAttachmentVisualizationSettings", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "ObjectAttachmentVisualizationV1", "type": "object", "properties": { "table": { "title": "VisualizationTableSettingV1", "type": "object", "properties": { "columnSetting": { "title": "ColumnSetting", "type": "object", "properties": { "exclude": { "type": "array", "items": { "type": "string" }, "description": "" }, "include": { "type": "array", "items": { "type": "string" }, "description": "" } } }, "csvSetting": { "title": "CSVSetting", "type": "object", "properties": { "expandTimeseries": { "type": "boolean" }, "formatTimestamp": { "type": "boolean" } } }, "dataPresentationSetting": { "title": "DataPresentationSetting", "type": "object", "properties": { "formatNumbers": { "type": "boolean" }, "precision": { "type": "integer" } } }, "tableSetting": { "title": "TableSetting", "type": "object", "properties": { "blockVis": { "type": "boolean" }, "hideHeaders": { "type": "boolean" }, "wrapCells": { "type": "boolean" } } } } } } } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "number" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/api/v1/reports/{id}/attachments/objects": { "post": { "operationId": "createObjectAttachment", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "ObjectAttachmentResponseDtoV1", "required": [ "name" ], "type": "object", "properties": { "name": { "type": "string" }, "resource": { "title": "ObjectAttachmentResource", "type": "object", "properties": { "deviceId": { "type": "integer", "description": "Required if type is Object" }, "ids": { "type": "array", "items": { "type"