UNPKG

@itentialopensource/adapter-sevone

Version:
1,549 lines (1,548 loc) 1.85 MB
{ "openapi": "3.1.0", "info": { "title": "", "version": "1.0.0" }, "paths": { "/alerts/{pathv1}": { "get": { "tags": [ "alert" ], "operationId": "getAlerts", "description": "The parameters and request body are for method: getAlerts. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } }, "example": { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 1, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "put": { "tags": [ "alert" ], "operationId": "updateAlert", "description": "The parameters and request body are for method: updateAlert. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } }, "example": { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 0, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "delete": { "tags": [ "alert" ], "operationId": "deleteAlert", "description": "The parameters and request body are for method: deleteAlert. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } }, "example": { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 0, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/alerts/filter": { "post": { "tags": [ "alert" ], "operationId": "getAlertsFiltered", "description": "The parameters and request body are for method: getAlertsFiltered. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "content": { "type": "array", "items": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } } }, "pageNumber": { "type": "number" }, "pageSize": { "type": "number" }, "totalElements": { "type": "number" }, "totalPages": { "type": "number" } } }, "example": { "content": [ { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 1, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 }, { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "eewregrh", "deviceId": 1245, "endTime": 0, "id": 2, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "fdgdsfgrty jgjfh", "number": 10, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 3, "startTime": 3423425, "thresholdId": 0 } ], "pageNumber": 0, "pageSize": 0, "totalElements": 0, "totalPages": 0 } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/alerts/devices/{pathv1}": { "get": { "tags": [ "alert" ], "operationId": "getAlertsForDevice", "description": "The parameters and request body are for method: getAlertsForDevice. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "alerts": { "type": "array", "items": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } } }, "pageNumber": { "type": "number" }, "pageSize": { "type": "number" }, "totalElements": { "type": "number" }, "totalPages": { "type": "number" } } }, "example": { "alerts": [ { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 1, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 }, { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "eewregrh", "deviceId": 1245, "endTime": 0, "id": 2, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "fdgdsfgrty jgjfh", "number": 10, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 3, "startTime": 3423425, "thresholdId": 0 } ], "pageNumber": 0, "pageSize": 0, "totalElements": 0, "totalPages": 0 } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/maps/{pathv1}/connection/{pathv2}/alerts": { "get": { "tags": [ "alert" ], "operationId": "getAlertsForMapConnection", "description": "The parameters and request body are for method: getAlertsForMapConnection. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } } }, "example": [ { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 1, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 }, { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "eewregrh", "deviceId": 1245, "endTime": 0, "id": 2, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "fdgdsfgrty jgjfh", "number": 10, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 3, "startTime": 3423425, "thresholdId": 0 } ] } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/maps/{pathv1}/node/{pathv2}/alerts": { "get": { "tags": [ "alert" ], "operationId": "getAlertsForMapNode", "description": "The parameters and request body are for method: getAlertsForMapNode. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } } }, "example": [ { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 1, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 }, { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "eewregrh", "deviceId": 1245, "endTime": 0, "id": 2, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "fdgdsfgrty jgjfh", "number": 10, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 3, "startTime": 3423425, "thresholdId": 0 } ] } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/alerts": { "post": { "tags": [ "alert" ], "operationId": "createAlert", "description": "The parameters and request body are for method: createAlert. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } }, "example": { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 0, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/alerts/{pathv1}/assign/{pathv2}": { "patch": { "tags": [ "alert" ], "operationId": "assignAlert", "description": "The parameters and request body are for method: assignAlert. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } }, "example": { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 0, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/alerts/{pathv1}/ignore/{pathv2}": { "patch": { "tags": [ "alert" ], "operationId": "ignoreAlert", "description": "The parameters and request body are for method: ignoreAlert. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } }, "example": { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 0, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/alerts/{pathv1}/clear": { "patch": { "tags": [ "alert" ], "operationId": "clearAlert", "description": "The parameters and request body are for method: clearAlert. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "acknowledgedBy": { "type": "string" }, "assignedTo": { "type": "number" }, "clearMessage": { "type": "string" }, "closed": { "type": "number" }, "closedKey": { "type": "number" }, "comments": { "type": "string" }, "deviceId": { "type": "number" }, "endTime": { "type": "number" }, "id": { "type": "number" }, "ignoreComment": { "type": "string" }, "ignoreUid": { "type": "number" }, "ignoreUntil": { "type": "number" }, "lastProcessed": { "type": "number" }, "message": { "type": "string" }, "number": { "type": "number" }, "objectId": { "type": "number" }, "origin": { "type": "string" }, "pluginName": { "type": "string" }, "pollId": { "type": "number" }, "severity": { "type": "number" }, "startTime": { "type": "number" }, "thresholdId": { "type": "number" } } }, "example": { "acknowledgedBy": "string", "assignedTo": 0, "clearMessage": "string", "closed": 0, "closedKey": 0, "comments": "dfsdfs", "deviceId": 4321, "endTime": 0, "id": 0, "ignoreComment": "string", "ignoreUid": 0, "ignoreUntil": 0, "lastProcessed": 0, "message": "rgsgsewrg fdgsdfg", "number": 7, "objectId": 0, "origin": "system", "pluginName": "string", "pollId": 0, "severity": 2, "startTime": 5646535, "thresholdId": 0 } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/devices/{pathv1}": { "get": { "tags": [ "device" ], "operationId": "getDevices", "description": "The parameters and request body are for method: getDevices. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "string" }, "example": "failed" } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } }