Command
Commands
Search this users Commands
Filter by Command Id
Filter by Command Name
Filter by Command Code
Flag (0,1). When filtering by multiple commands in command filter, should we use regex?
Flag (0,1). When filtering by multiple codes in code filter, should we use regex?
When filtering by multiple commands in command filter, which logical operator should be used? AND|OR
When filtering by multiple codes in code filter, which logical operator should be used? AND|OR
Filter by player type (e.g. android, windows, linux, chromeOS, lg). Returns commands available on that type plus commands with no type restriction.
Specifies which field the results are sorted by. Used together with sortDir
Sort direction
successful operation
GET /api/command HTTP/1.1
Accept: */*
successful operation
[
{
"commandId": 1,
"command": "text",
"code": "text",
"description": "text",
"userId": 1,
"commandString": "text",
"validationString": "text",
"displayProfileId": 1,
"commandStringDisplayProfile": "text",
"validationStringDisplayProfile": "text",
"availableOn": "text",
"createAlertOn": "text",
"createAlertOnDisplayProfile": null,
"groupsWithPermissions": "text"
}
]Add a Command
The Command Name
A description for the command
A unique code for this command
The Command String for this Command. Can be overridden on Display Settings.
The Validation String for this Command. Can be overridden on Display Settings.
An array of Player types this Command is available on, empty for all.
On command execution, when should a Display alert be created? success, failure, always or never
successful operation
POST /api/command HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 146
"command='text'&description='text'&code='text'&commandString='text'&validationString='text'&availableOn='text'&createAlertOn='text'"successful operation
{
"commandId": 1,
"command": "text",
"code": "text",
"description": "text",
"userId": 1,
"commandString": "text",
"validationString": "text",
"displayProfileId": 1,
"commandStringDisplayProfile": "text",
"validationStringDisplayProfile": "text",
"availableOn": "text",
"createAlertOn": "text",
"createAlertOnDisplayProfile": null,
"groupsWithPermissions": "text"
}Get the Command object specified by the provided commandId
Numeric ID of the Command to get
successful operation
Class Command
Command Id
Command Name
Unique Code
Description
User Id
Command String
Validation String
DisplayProfileId if specific to a Display Profile
Command String specific to the provided DisplayProfile
Validation String specific to the provided DisplayProfile
A comma separated list of player types this command is available on
Define if execution of this command should create an alert on success, failure, always or never.
Create Alert On specific to the provided DisplayProfile.
A comma separated list of groups/users with permissions to this Command
GET /api/command/{commandId} HTTP/1.1
Accept: */*
successful operation
{
"commandId": 1,
"command": "text",
"code": "text",
"description": "text",
"userId": 1,
"commandString": "text",
"validationString": "text",
"displayProfileId": 1,
"commandStringDisplayProfile": "text",
"validationStringDisplayProfile": "text",
"availableOn": "text",
"createAlertOn": "text",
"createAlertOnDisplayProfile": null,
"groupsWithPermissions": "text"
}Edit the provided command
The Command Id to Edit
The Command Name
A description for the command
The Command String for this Command. Can be overridden on Display Settings.
The Validation String for this Command. Can be overridden on Display Settings.
An array of Player types this Command is available on, empty for all.
On command execution, when should a Display alert be created? success, failure, always or never
successful operation
Class Command
Command Id
Command Name
Unique Code
Description
User Id
Command String
Validation String
DisplayProfileId if specific to a Display Profile
Command String specific to the provided DisplayProfile
Validation String specific to the provided DisplayProfile
A comma separated list of player types this command is available on
Define if execution of this command should create an alert on success, failure, always or never.
Create Alert On specific to the provided DisplayProfile.
A comma separated list of groups/users with permissions to this Command
PUT /api/command/{commandId} HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 132
"command='text'&description='text'&commandString='text'&validationString='text'&availableOn='text'&createAlertOn='text'"successful operation
{
"commandId": 1,
"command": "text",
"code": "text",
"description": "text",
"userId": 1,
"commandString": "text",
"validationString": "text",
"displayProfileId": 1,
"commandStringDisplayProfile": "text",
"validationStringDisplayProfile": "text",
"availableOn": "text",
"createAlertOn": "text",
"createAlertOnDisplayProfile": null,
"groupsWithPermissions": "text"
}Last updated
Was this helpful?

