CoAP GET /tcp-tunnels/services

DESCRIPTION

This endpoint lists all TCP tunnel services available on the device.

DECLARATION

GET /tcp-tunnels/services

REQUEST

Request body is empty.

RESPONSE

CoAP status codes:

  • 205: On success.
  • 403: Blocked by IAM configuration.

Response body is a CBOR encoded array of service ID strings:

["ssh", "nginx"]

AUTHORIZATION PARAMETERS

This endpoint generates an Authorization request with the following Action which must be allowed for this endpoint to be available:

  • TcpTunnel:ListServices

No special attributes are provided.