The "listOutputs" action obtains a list of the names of previously created outputs. Outputs deliver tags from the server to external systems.
Note A tag is a piece of named data with an associated value. For example, the tag
temperature 70includes both the named data temperature and the value70. In JSON, a tag is a JSON property, such as"temperature": 70. In a SQL table, a tag is a data field, such as a field named temperature with a value of70.
- You can return a filtered list by specifying a partial name in the
"partialName"property. - You can include additional items in the list by searching for words contained in the item’s metadata.
- Use
"describeOutputs"to get detailed information about specific outputs.
Request examples
Minimal
{
"apiVersion": "1.0",
"action": "listOutputs",
"requestId": "00000001",
"params": { },
"authToken": "replaceWithAuthTokenFromCreateSession"
}Maximal
{
"api": "hub",
"apiVersion": "1.0",
"action": "listOutputs",
"requestId": "00000001",
"params": {
"partialName": ""
},
"authToken": "replaceWithAuthTokenFromCreateSession"
}
Response examples
Minimal
{
"result": {
"data": []
},
"requestId": "00000055",
"errorCode": 0,
"errorMessage": ""
}Maximal
{
"result": {
"data": []
},
"requestId": "00000056",
"errorCode": 0,
"errorMessage": ""
}
Properties
Request properties ("params")
| Property | Description | Default | Type | Limits (inclusive) |
|---|---|---|---|---|
enabledFilter |
The "enabledFilter" property returns input connections that are enabled or not. Omit or set to null to match all connections. |
Optional with default of null
|
Boolean |
|
integrationTableIdFilter |
The "integrationTableIdFilter" property specifies the integration table ID to include connectors that use the table. |
null | array of integers | Integer from 1 to 9223372036854770000, or a string containing an integer. |
partialName |
The |
Optional with default of ""
|
string | 1 to 64 bytes |
purposeFilter |
The "purposeFilter" property specifies the purpose of the thing. You can use it for fast partial lookups and filtering. |
[] |
Array of strings |
Each string in the array is 1 to 64 bytes and is a partial or complete purpose stored in the label group
|
runningFilter |
The "runningFilter" property returns input connections that are running or not. Omit or set to null to match all connections. |
Optional with default of null
|
Boolean |
|
statusFilter |
The "statusFilter" property filters connectors based on their active or inactive status. An inactive status is like a soft delete. |
["active"] |
array of status string enums |
"active""inactive""paused""connectorError""deviceError""userError"
|
tagIdFilter |
The "tagIdFilter" property associates a tag with a value being collected by a connector. It is mutually exclusive with the "tagNameFilter" and "propertyPath" properties. |
Conditional - No default value |
|
|
tagNameFilter |
The "tagNameFilter" property associates a tag with a value being collected by a connector. It is mutually exclusive with the "tagIdFilter" and "propertyPath" properties. |
Conditional - No default value | Array of strings |
If present, it must contain the name of an existing tag. Each string in the array is 1 to 256 bytes and must be an existing tag managed by the |
thingIdFilter |
The "thingIdFilter" property returns connectors that match the specified ID of the device or software thing. It is mutually exclusive with the "thingNameFilter" property. |
null | integer |
|
thingNameFilter |
The "thingNameFilter" property returns connectors that match the specified name of the device or software thing. It is mutually exclusive with the "thingIdFilter" property. |
null | string |
|
Response properties ("result")
| Property | Description | Type | Limits (inclusive) |
|---|---|---|---|
data |
The |
array of objects | The action determines its contents. |