Download OpenAPI specification:Download
Upgrade the connection to a websocket to receive a stream of live ThreatAlarm objects as they occur.
| state | integer <int32> Filter results by state, see ThreatAlarmState |
| level | integer <int32> Filter results by level, see ThreatAlarmLevel |
| type | string Filter results by type, see ThreatAlarmType |
| new | boolean Filter results to only new ThreatAlarms |
| id | integer <int32> Filter results based on fibre id |
| fibretype | string Filter results based on fibre type |
| Connection required | string Control the connection for websocket upgrade, e.g "Upgrade" |
| Upgrade required | string Protocol to upgrade to, e.g "websocket" |
| Sec-WebSocket-Key required | string Random generated key for handshake, e.g "dGhlIHNhbXBsZSBub25jZQ==" |
| Sec-WebSocket-Version required | integer <int32> Websocket protocol version to use, e.g 13 |
[- {
- "persistentID": "string",
- "fibreId": {
- "id": 0,
- "fibreType": { }
}, - "clientFibreName": "string",
- "source": "string",
- "startTime": 0,
- "endTime": 0,
- "startResPoint": 0,
- "centreResPoint": 0,
- "endResPoint": 0,
- "startLatitude": 0.1,
- "startLongitude": 0.1,
- "centreLatitude": 0.1,
- "centreLongitude": 0.1,
- "endLatitude": 0.1,
- "endLongitude": 0.1,
- "threatLevel": 0,
- "zoneName": "string",
- "state": 0,
- "individualState": 0,
- "activeState": 0,
- "weighting": 0.1,
- "speed": 0.1,
- "threatTypeSettingsString": "string",
- "userName": "string",
- "userComment": "string",
- "externalType": "string",
- "externalId": "string",
- "initialCentreAlertLatitude": 0.1,
- "initialCentreAlertLongitude": 0.1,
- "redTime": 0,
- "initialStartResPoint": 0,
- "initialCentreResPoint": 0,
- "initialEndResPoint": 0,
- "minResPoint": 0,
- "maxResPoint": 0,
- "customTextField": "string",
- "assetScaleID": "string",
- "updateTime": 0,
- "stateUpdateTime": 0,
- "subordinates": { },
- "clientScale": "string",
- "clientScalePoint": 0.1
}
]Retrieve the systems fibre route.
| id | integer <int32> Filter results based on fibre id |
| fibretype | string Filter results based on fibre type |
[- {
- "id": 0,
- "fibretype": "string",
- "channelindex": 0,
- "latitude": 0.1,
- "longitude": 0.1
}
]Upgrade the connection to a websocket to receive a live stream of Protobuf byte[] serialized com.optasense.ola.interfaces.rest.pojo.protoc.Measurement objects.
| id required | integer <int32> Fibre id of the data to retrieve, see fibreid endpoint |
| fibretype required | string Fibre type of the data to retrieve, see fibreid endpoint |
| rate | integer <int32> Applicable only to live data, the rate in which the data will be decimated, e.g 1 is no decimation 64 is one in every 64th sample |
| Connection required | string Control the connection for websocket upgrade, e.g "Upgrade" |
| Upgrade required | string Protocol to upgrade to, e.g "websocket" |
| Sec-WebSocket-Key required | string Random generated key for handshake, e.g "dGhlIHNhbXBsZSBub25jZQ==" |
| Sec-WebSocket-Version required | integer <int32> Websocket protocol version to use, e.g 13 |
{ }Upgrade the connection to a websocket to receive a stream of live UserNotificationNode objects.
| Connection required | string Control the connection for websocket upgrade, e.g "Upgrade" |
| Upgrade required | string Protocol to upgrade to, e.g "websocket" |
| Sec-WebSocket-Key required | string Random generated key for handshake, e.g "dGhlIHNhbXBsZSBub25jZQ==" |
| Sec-WebSocket-Version required | integer <int32> Websocket protocol version to use, e.g 13 |
[- {
- "associatedNotification": {
- "constantID": "string",
- "displayResourceName": "string",
- "title": "string",
- "subTextResourceName": "string",
- "description": "string",
- "imageName": "string",
- "severity": 0
}, - "ip": "string",
- "process": {
- "name": "string",
- "instance": 0,
- "fibreIDs": { },
- "ipToRunOn": "string",
- "customParams": [
- "string"
], - "customProcessArguments": [
- "string"
]
}, - "activeDurationMillis": 0,
- "nonNodeNotification": true,
- "pidNumber": "string",
- "dynamicInfo": [
- { }
]
}
]Retrieve a list of all threat alarms the system has produced, default results are for last 24 hours limited to 100 items unless specified otherwise.
| limit | integer <int32> Limit the amount of results returned |
| start | integer <int64> Filter results created after the provided epoch milliseconds |
| end | integer <int64> Filter results created before the provided epoch milliseconds |
| state | integer <int32> Filter results by state, see Threat Alarm State |
| level | integer <int32> Filter the results to a particular Threat Alarm Level |
| type | string Filter the results to a particular Threat Alarm Type |
| id | integer <int32> Filter results based on fibre id |
| fibretype | string Filter results based on fibre type |
[- {
- "persistentID": "string",
- "fibreId": {
- "id": 0,
- "fibreType": { }
}, - "clientFibreName": "string",
- "source": "string",
- "startTime": 0,
- "endTime": 0,
- "startResPoint": 0,
- "centreResPoint": 0,
- "endResPoint": 0,
- "startLatitude": 0.1,
- "startLongitude": 0.1,
- "centreLatitude": 0.1,
- "centreLongitude": 0.1,
- "endLatitude": 0.1,
- "endLongitude": 0.1,
- "threatLevel": 0,
- "zoneName": "string",
- "state": 0,
- "individualState": 0,
- "activeState": 0,
- "weighting": 0.1,
- "speed": 0.1,
- "threatTypeSettingsString": "string",
- "userName": "string",
- "userComment": "string",
- "externalType": "string",
- "externalId": "string",
- "initialCentreAlertLatitude": 0.1,
- "initialCentreAlertLongitude": 0.1,
- "redTime": 0,
- "initialStartResPoint": 0,
- "initialCentreResPoint": 0,
- "initialEndResPoint": 0,
- "minResPoint": 0,
- "maxResPoint": 0,
- "customTextField": "string",
- "assetScaleID": "string",
- "updateTime": 0,
- "stateUpdateTime": 0,
- "subordinates": { },
- "clientScale": "string",
- "clientScalePoint": 0.1
}
]Insert or update a threat alarm.
New (No persistentID) or existing threat alarm object
| persistentID | string |
object (FibreID) | |
| clientFibreName | string |
| source | string |
| startTime | integer <int64> |
| endTime | integer <int64> |
| startResPoint | integer <int64> |
| centreResPoint | integer <int64> |
| endResPoint | integer <int64> |
| startLatitude | number <double> |
| startLongitude | number <double> |
| centreLatitude | number <double> |
| centreLongitude | number <double> |
| endLatitude | number <double> |
| endLongitude | number <double> |
| threatLevel | integer <int32> |
| zoneName | string |
| state | integer <int32> |
| individualState | integer <int32> |
| activeState | integer <int32> |
| weighting | number <double> |
| speed | number <double> |
| threatTypeSettingsString | string |
| userName | string |
| userComment | string |
| externalType | string |
| externalId | string |
| initialCentreAlertLatitude | number <double> |
| initialCentreAlertLongitude | number <double> |
| redTime | integer <int64> |
| initialStartResPoint | integer <int64> |
| initialCentreResPoint | integer <int64> |
| initialEndResPoint | integer <int64> |
| minResPoint | integer <int64> |
| maxResPoint | integer <int64> |
| customTextField | string |
| assetScaleID | string |
| updateTime | integer <int64> |
| stateUpdateTime | integer <int64> |
| subordinates | object |
| clientScale | string |
| clientScalePoint | number <double> |
{- "persistentID": "string",
- "fibreId": {
- "id": 0,
- "fibreType": { }
}, - "clientFibreName": "string",
- "source": "string",
- "startTime": 0,
- "endTime": 0,
- "startResPoint": 0,
- "centreResPoint": 0,
- "endResPoint": 0,
- "startLatitude": 0.1,
- "startLongitude": 0.1,
- "centreLatitude": 0.1,
- "centreLongitude": 0.1,
- "endLatitude": 0.1,
- "endLongitude": 0.1,
- "threatLevel": 0,
- "zoneName": "string",
- "state": 0,
- "individualState": 0,
- "activeState": 0,
- "weighting": 0.1,
- "speed": 0.1,
- "threatTypeSettingsString": "string",
- "userName": "string",
- "userComment": "string",
- "externalType": "string",
- "externalId": "string",
- "initialCentreAlertLatitude": 0.1,
- "initialCentreAlertLongitude": 0.1,
- "redTime": 0,
- "initialStartResPoint": 0,
- "initialCentreResPoint": 0,
- "initialEndResPoint": 0,
- "minResPoint": 0,
- "maxResPoint": 0,
- "customTextField": "string",
- "assetScaleID": "string",
- "updateTime": 0,
- "stateUpdateTime": 0,
- "subordinates": { },
- "clientScale": "string",
- "clientScalePoint": 0.1
}[- {
- "persistentID": "string",
- "fibreId": {
- "id": 0,
- "fibreType": { }
}, - "clientFibreName": "string",
- "source": "string",
- "startTime": 0,
- "endTime": 0,
- "startResPoint": 0,
- "centreResPoint": 0,
- "endResPoint": 0,
- "startLatitude": 0.1,
- "startLongitude": 0.1,
- "centreLatitude": 0.1,
- "centreLongitude": 0.1,
- "endLatitude": 0.1,
- "endLongitude": 0.1,
- "threatLevel": 0,
- "zoneName": "string",
- "state": 0,
- "individualState": 0,
- "activeState": 0,
- "weighting": 0.1,
- "speed": 0.1,
- "threatTypeSettingsString": "string",
- "userName": "string",
- "userComment": "string",
- "externalType": "string",
- "externalId": "string",
- "initialCentreAlertLatitude": 0.1,
- "initialCentreAlertLongitude": 0.1,
- "redTime": 0,
- "initialStartResPoint": 0,
- "initialCentreResPoint": 0,
- "initialEndResPoint": 0,
- "minResPoint": 0,
- "maxResPoint": 0,
- "customTextField": "string",
- "assetScaleID": "string",
- "updateTime": 0,
- "stateUpdateTime": 0,
- "subordinates": { },
- "clientScale": "string",
- "clientScalePoint": 0.1
}
]Unacknowledge an existing threat alarm.
| id required | string The persistent id of the threat alarm to unacknowledge |
[- {
- "persistentID": "string",
- "fibreId": {
- "id": 0,
- "fibreType": { }
}, - "clientFibreName": "string",
- "source": "string",
- "startTime": 0,
- "endTime": 0,
- "startResPoint": 0,
- "centreResPoint": 0,
- "endResPoint": 0,
- "startLatitude": 0.1,
- "startLongitude": 0.1,
- "centreLatitude": 0.1,
- "centreLongitude": 0.1,
- "endLatitude": 0.1,
- "endLongitude": 0.1,
- "threatLevel": 0,
- "zoneName": "string",
- "state": 0,
- "individualState": 0,
- "activeState": 0,
- "weighting": 0.1,
- "speed": 0.1,
- "threatTypeSettingsString": "string",
- "userName": "string",
- "userComment": "string",
- "externalType": "string",
- "externalId": "string",
- "initialCentreAlertLatitude": 0.1,
- "initialCentreAlertLongitude": 0.1,
- "redTime": 0,
- "initialStartResPoint": 0,
- "initialCentreResPoint": 0,
- "initialEndResPoint": 0,
- "minResPoint": 0,
- "maxResPoint": 0,
- "customTextField": "string",
- "assetScaleID": "string",
- "updateTime": 0,
- "stateUpdateTime": 0,
- "subordinates": { },
- "clientScale": "string",
- "clientScalePoint": 0.1
}
]Acknowledge an existing threat alarm.
| id required | string The persistent id of the threat alarm to acknowledge |
[- {
- "persistentID": "string",
- "fibreId": {
- "id": 0,
- "fibreType": { }
}, - "clientFibreName": "string",
- "source": "string",
- "startTime": 0,
- "endTime": 0,
- "startResPoint": 0,
- "centreResPoint": 0,
- "endResPoint": 0,
- "startLatitude": 0.1,
- "startLongitude": 0.1,
- "centreLatitude": 0.1,
- "centreLongitude": 0.1,
- "endLatitude": 0.1,
- "endLongitude": 0.1,
- "threatLevel": 0,
- "zoneName": "string",
- "state": 0,
- "individualState": 0,
- "activeState": 0,
- "weighting": 0.1,
- "speed": 0.1,
- "threatTypeSettingsString": "string",
- "userName": "string",
- "userComment": "string",
- "externalType": "string",
- "externalId": "string",
- "initialCentreAlertLatitude": 0.1,
- "initialCentreAlertLongitude": 0.1,
- "redTime": 0,
- "initialStartResPoint": 0,
- "initialCentreResPoint": 0,
- "initialEndResPoint": 0,
- "minResPoint": 0,
- "maxResPoint": 0,
- "customTextField": "string",
- "assetScaleID": "string",
- "updateTime": 0,
- "stateUpdateTime": 0,
- "subordinates": { },
- "clientScale": "string",
- "clientScalePoint": 0.1
}
]Dismiss an existing threat alarm.
| id required | string The persistent id of the threat alarm to dismiss |
[- {
- "persistentID": "string",
- "fibreId": {
- "id": 0,
- "fibreType": { }
}, - "clientFibreName": "string",
- "source": "string",
- "startTime": 0,
- "endTime": 0,
- "startResPoint": 0,
- "centreResPoint": 0,
- "endResPoint": 0,
- "startLatitude": 0.1,
- "startLongitude": 0.1,
- "centreLatitude": 0.1,
- "centreLongitude": 0.1,
- "endLatitude": 0.1,
- "endLongitude": 0.1,
- "threatLevel": 0,
- "zoneName": "string",
- "state": 0,
- "individualState": 0,
- "activeState": 0,
- "weighting": 0.1,
- "speed": 0.1,
- "threatTypeSettingsString": "string",
- "userName": "string",
- "userComment": "string",
- "externalType": "string",
- "externalId": "string",
- "initialCentreAlertLatitude": 0.1,
- "initialCentreAlertLongitude": 0.1,
- "redTime": 0,
- "initialStartResPoint": 0,
- "initialCentreResPoint": 0,
- "initialEndResPoint": 0,
- "minResPoint": 0,
- "maxResPoint": 0,
- "customTextField": "string",
- "assetScaleID": "string",
- "updateTime": 0,
- "stateUpdateTime": 0,
- "subordinates": { },
- "clientScale": "string",
- "clientScalePoint": 0.1
}
]Retrieve all live user notification nodes, user notifications and process information.
[- {
- "associatedNotification": {
- "constantID": "string",
- "displayResourceName": "string",
- "title": "string",
- "subTextResourceName": "string",
- "description": "string",
- "imageName": "string",
- "severity": 0
}, - "ip": "string",
- "process": {
- "name": "string",
- "instance": 0,
- "fibreIDs": { },
- "ipToRunOn": "string",
- "customParams": [
- "string"
], - "customProcessArguments": [
- "string"
]
}, - "activeDurationMillis": 0,
- "nonNodeNotification": true,
- "pidNumber": "string",
- "dynamicInfo": [
- { }
]
}
]Retrieve a list of pu's the system is aware of.
| id | integer <int32> Filter results based on fibre id |
| fibretype | string Filter results based on fibre type |
| ip | string Filter results based on ip address |
[- {
- "dpu": true,
- "ipAddress": "string",
- "name": "string"
}
]Retrieve an array of all the client scales in the system. The points on each client scale are sorted in ascending order of scale value
[- {
- "id": 0,
- "fibretype": "string",
- "channelindex": 0,
- "latitude": 0.1,
- "longitude": 0.1
}
]Retrieve all live user notifications.
[- {
- "constantID": "string",
- "displayResourceName": "string",
- "title": "string",
- "subTextResourceName": "string",
- "description": "string",
- "imageName": "string",
- "severity": 0
}
]Upgrade the connection to a websocket to receive a historical stream of Protobuf byte[] serialized com.optasense.ola.interfaces.rest.pojo.protoc.Measurement objects.
| id required | integer <int32> Fibre id of the data to retrieve, see fibreid endpoint |
| fibretype required | string Fibre type of the data to retrieve, see fibreid endpoint |
| start required | integer <int64> Begin stream from the provided epoch milliseconds |
| end required | integer <int64> End stream from the provided epoch milliseconds |
| samples | integer <int32> How many samples you want the data to be aggregated into |
| rateLimit | boolean <binary> Slow the response from the server to allow the client time to process each in turn. Send any string to acknowledge receipt and request next packet |
| Connection required | string Control the connection for websocket upgrade, e.g "Upgrade" |
| Upgrade required | string Protocol to upgrade to, e.g "websocket" |
| Sec-WebSocket-Key required | string Random generated key for handshake, e.g "dGhlIHNhbXBsZSBub25jZQ==" |
| Sec-WebSocket-Version required | integer <int32> Websocket protocol version to use, e.g 13 |
{ }Retrieve the overall system specification object.
| id | integer <int32> Filter results based on fibre id |
| fibretype | string Filter results based on fibre type |
{- "siteName": "string",
- "puList": [
- {
- "dpu": true,
- "ipAddress": "string",
- "name": "string"
}
], - "processingBlocks": [
- {
- "displayName": "string",
- "processesInBlock": [
- {
- "name": "string",
- "instance": 0,
- "fibreIDs": { },
- "ipToRunOn": "string",
- "customParams": [
- "string"
], - "customProcessArguments": [
- "string"
]
}
]
}
], - "standaloneProcesses": [
- {
- "name": "string",
- "instance": 0,
- "fibreIDs": { },
- "ipToRunOn": "string",
- "customParams": [
- "string"
], - "customProcessArguments": [
- "string"
]
}
], - "systemWideProcesses": [
- { }
]
}Retrieve a list of all updates for a specific Threat Alarm
| id required | string Persistent ID of the Threat Alarm to query |
| start | integer <int64> Filter results created after the provided epoch milliseconds |
| end | integer <int64> Filter results created before the provided epoch milliseconds |
| fibreid required | integer <int64> Fibre ID to search for specified alert |
| fibretype required | string Fibre type to search for specified alert |
[- {
- "persistentID": "string",
- "fibreId": {
- "id": 0,
- "fibreType": { }
}, - "clientFibreName": "string",
- "source": "string",
- "startTime": 0,
- "endTime": 0,
- "startResPoint": 0,
- "centreResPoint": 0,
- "endResPoint": 0,
- "startLatitude": 0.1,
- "startLongitude": 0.1,
- "centreLatitude": 0.1,
- "centreLongitude": 0.1,
- "endLatitude": 0.1,
- "endLongitude": 0.1,
- "threatLevel": 0,
- "zoneName": "string",
- "state": 0,
- "individualState": 0,
- "activeState": 0,
- "weighting": 0.1,
- "speed": 0.1,
- "threatTypeSettingsString": "string",
- "userName": "string",
- "userComment": "string",
- "externalType": "string",
- "externalId": "string",
- "initialCentreAlertLatitude": 0.1,
- "initialCentreAlertLongitude": 0.1,
- "redTime": 0,
- "initialStartResPoint": 0,
- "initialCentreResPoint": 0,
- "initialEndResPoint": 0,
- "minResPoint": 0,
- "maxResPoint": 0,
- "customTextField": "string",
- "assetScaleID": "string",
- "updateTime": 0,
- "stateUpdateTime": 0,
- "subordinates": { },
- "clientScale": "string",
- "clientScalePoint": 0.1
}
]