Download OpenAPI specification:Download
The connection service hosts the connection API. It is responsible for managing connections between organizations and external services over Websockets, WDX3, IMAP or MQTT.
List all connections for a organization
organizationID required | integer |
[- {
- "cobraConfiguration": {
- "certificate": "string",
- "id": 0,
- "lastOperationMessageID": 0,
- "lastOperationalResourceMessageID": 0,
- "password": "string",
- "privateKey": "string",
- "server": "string",
- "username": "string"
}, - "connectedAt": null,
- "connectionStatus": "string",
- "connectionType": "string",
- "description": "string",
- "disconnectedAt": null,
- "enabled": true,
- "id": 0,
- "lastMessageAt": null,
- "name": "string",
- "organizationID": 0
}
]
Creates a connection with the passed parameters
object (CobraConfigurationCreate) CobraConfigurationCreate contains the information needed to create a cobra configuration | |
connectionType | string (ConnectionType) ConnectionType indicates what type of configuration is used for the connection |
description | string |
enabled | boolean |
name | string |
organizationID | integer <int64> |
{- "cobraConfiguration": {
- "certificate": "string",
- "password": "string",
- "privateKey": "string",
- "server": "string",
- "username": "string"
}, - "connectionType": "string",
- "description": "string",
- "enabled": true,
- "name": "string",
- "organizationID": 0
}
{- "cobraConfiguration": {
- "certificate": "string",
- "id": 0,
- "lastOperationMessageID": 0,
- "lastOperationalResourceMessageID": 0,
- "password": "string",
- "privateKey": "string",
- "server": "string",
- "username": "string"
}, - "connectedAt": null,
- "connectionStatus": "string",
- "connectionType": "string",
- "description": "string",
- "disconnectedAt": null,
- "enabled": true,
- "id": 0,
- "lastMessageAt": null,
- "name": "string",
- "organizationID": 0
}
Verifies the parameters of a connection are valid and allow connection
object (CobraConfigurationCreate) CobraConfigurationCreate contains the information needed to create a cobra configuration | |
connectionType | string (ConnectionType) ConnectionType indicates what type of configuration is used for the connection |
description | string |
enabled | boolean |
name | string |
organizationID | integer <int64> |
{- "cobraConfiguration": {
- "certificate": "string",
- "password": "string",
- "privateKey": "string",
- "server": "string",
- "username": "string"
}, - "connectionType": "string",
- "description": "string",
- "enabled": true,
- "name": "string",
- "organizationID": 0
}
Returns a connection with the passed connectionID
connectionID required | integer |
{- "cobraConfiguration": {
- "certificate": "string",
- "id": 0,
- "lastOperationMessageID": 0,
- "lastOperationalResourceMessageID": 0,
- "password": "string",
- "privateKey": "string",
- "server": "string",
- "username": "string"
}, - "connectedAt": null,
- "connectionStatus": "string",
- "connectionType": "string",
- "description": "string",
- "disconnectedAt": null,
- "enabled": true,
- "id": 0,
- "lastMessageAt": null,
- "name": "string",
- "organizationID": 0
}
Updates editable connection parameters. If configuration parameters are empty, they will not be updated
connectionID required | integer |
object (CobraConfigurationPatch) CobraConfigurationPatch is used to update a CobraConfiguration | |
connectionType | string add the name of the new configurations to the oneof |
description | string |
enabled | boolean |
name | string |
organizationID | integer <int64> |
{- "cobraConfiguration": {
- "certificate": "string",
- "password": "string",
- "privateKey": "string",
- "server": "string",
- "username": "string"
}, - "connectionType": "string",
- "description": "string",
- "enabled": true,
- "name": "string",
- "organizationID": 0
}
Returns the logs for a connection
connectionID required | integer |
limit | integer |
offset | integer |
[- {
- "logs": [
- {
- "connectionID": 0,
- "id": 0,
- "message": "string",
- "severity": "string",
- "timestamp": null
}
], - "totalLogs": 0
}
]
Verifies the parameters of a connection are valid and allow connection
connectionID required | integer |
object (CobraConfiguration) CobraConfiguration contains the unencrypted access information for connecting to a WDX3 server | |
connectedAt | any |
connectionStatus | string (ConnectionStatus) ConnectionStatus indicates the status of the connection |
connectionType | string (ConnectionType) ConnectionType indicates what type of configuration is used for the connection |
description | string |
disconnectedAt | any |
enabled | boolean |
id | integer <int64> |
lastMessageAt | any |
name | string |
organizationID | integer <int64> |
{- "cobraConfiguration": {
- "certificate": "string",
- "id": 0,
- "lastOperationMessageID": 0,
- "lastOperationalResourceMessageID": 0,
- "password": "string",
- "privateKey": "string",
- "server": "string",
- "username": "string"
}, - "connectedAt": null,
- "connectionStatus": "string",
- "connectionType": "string",
- "description": "string",
- "disconnectedAt": null,
- "enabled": true,
- "id": 0,
- "lastMessageAt": null,
- "name": "string",
- "organizationID": 0
}
Update a filter
connectionId | integer <int64> |
Array of objects (OrganizationValues) | |
paths | Array of strings |
{- "connectionId": 0,
- "organizationValues": [
- {
- "filterValues": [
- "string"
], - "organizationId": 0
}
], - "paths": [
- "string"
]
}