Skip to end of metadata
Go to start of metadata

The /api/io/caps function returns a list of available hardware inputs and outputs (ports) of the device. Define the input/output in the optional port parameter. If the port parameter is not included, settings of all the inputs and outputs are returned.

The function is part of the I/O service and the user must be assigned the I/O Monitoring privilege for authentication if required. The function is available with the Enhanced Integration licence key only.

The GET or POST method can be used for this function.

Request parameters:

Parameter

Description

Port

Optional input/output identifier

The reply is in the application/json format and includes a port list (ports) including current settings. If the port parameter is used, the ports field includes just one item.

Parameter

Description

port

Input/output identifier

type

Type (input – for digital inputs, output – for digital outputs)

Example:

  • No labels