Gateway

Start recording the gateway data stream to a log file

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Start recording the gateway data stream to a log file

Filename
string

Name of the file the recording will be written to.

UserID
string

Identifier of the user initiating the recording.

Append
boolean
Default: false

Indicates whether to append to an existing file with the same name, rather than replacing it.

Overwrite
boolean
Default: false

Indicates whether an existing file with the same name should be overwritten.

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/gateway/replay-log/start-recording
Request samples
application/json
{
  • "Filename": "recording.log",
  • "UserID": "user1",
  • "Append": false,
  • "Overwrite": false
}
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Stop recording the gateway data stream

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

post/modules/gateway/replay-log/stop-recording
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Start replaying a recorded gateway data stream log file

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Start replaying a recorded gateway data stream log file

Filename
string

Name of the recorded gateway log file to replay.

Media
string

Identifies the media/interface the replayed data should be routed through. An empty string indicates the default media.

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/gateway/replay-log/start-replay
Request samples
application/json
{
  • "Filename": "recording.log",
  • "Media": ""
}
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Stop replaying the gateway data stream log file

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

post/modules/gateway/replay-log/stop-replay
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Get the current gateway replay log status

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
property name*
additional property
any
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

get/modules/gateway/replay-log/status
Request samples
Response samples
application/json
{ }

Create a new recorded file

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Create a new recorded file

Filename
string

Name of the recorded file.

Responses
200

Response success

Response Schema: application/json
Filename
string

Name of the recorded file.

400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/gateway/recordedFile
Request samples
application/json
{
  • "Filename": "recording.log"
}
Response samples
application/json
{
  • "Filename": "recording.log"
}

Delete a recorded file

SecurityOAuth2 or ApiKey
Request
path Parameters
filename
required
string

Name of the recorded file

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

delete/modules/gateway/recordedFile/{filename}
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Start recording the Event Hub stream to a log file

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Start recording the Event Hub stream to a log file

Filename
string

Name of the file the recording will be written to.

UserID
string

Identifier of the user initiating the recording.

Append
boolean
Default: false

Indicates whether to append to an existing file with the same name, rather than replacing it.

Overwrite
boolean
Default: false

Indicates whether an existing file with the same name should be overwritten.

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/gateway/event-hub-log/start-recording
Request samples
application/json
{
  • "Filename": "recording.log",
  • "UserID": "user1",
  • "Append": false,
  • "Overwrite": false
}
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Stop recording the Event Hub stream

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

post/modules/gateway/event-hub-log/stop-recording
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Start replaying a recorded Event Hub log file

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Start replaying a recorded Event Hub log file

Filename
string

Name of the recorded Event Hub log file to replay.

Array of objects (FilterChain)

Array of FilterChain objects used to select which recorded events are replayed.

Array
FilterTemplate
string
Default: "none"

Several built-in filter chains are available for common activities.

Enum: "dashboard" "hardware_events" "position_events" "api_calls" "alert_events" "none"
Selector
string

Indicates the property within the Event upon which to filter its value.

Type
string

Specify whether the value should be matched against the Match property of this object as a regular expression or a string comparison.

Enum: "regex" "string"
Match
string

The pattern to match against the value specified by the Selection property within each Event.

Invert
boolean
Default: false

Logically invert the match result.

Children
object (FilterChain) Recursive
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/gateway/event-hub-log/start-replay
Request samples
application/json
{
  • "Filename": "eventhub.log",
  • "EventFilters": [
    ]
}
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Reset the current Event Hub log replay session

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

post/modules/gateway/event-hub-log/reset-replay
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Pause the current Event Hub log replay session

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

post/modules/gateway/event-hub-log/pause-replay
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Resume the current Event Hub log replay session

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

post/modules/gateway/event-hub-log/resume-replay
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Get the current Event Hub log status

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
property name*
additional property
any
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

get/modules/gateway/event-hub-log/status
Request samples
Response samples
application/json
{ }

Upload an Event Hub log recording file

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Upload an Event Hub log recording file

Filename
string

Name to save the uploaded recording file as.

FileContent
string <byte>

The recording file content, encoded in base64 format.

UserID
string

Identifier of the user uploading the recording.

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/gateway/event-hub-log/upload-recording
Request samples
application/json
{
  • "Filename": "eventhub.log",
  • "FileContent": "base64-encoded-content",
  • "UserID": "user1"
}
Response samples
application/json
{
  • "status": 200,
  • "success": true
}