v1

latestOpenAPI 3.0.02026-07-243339471.1 MB
AOS-S Switches

Run 'show' commands (AOS-S)

Starts an asynchronous execution of one or more 'show' commands on an AOS-S switch. Rejected with 400 if any command does not start with 'show ', or if more than 20 commands are provided.

post/network-troubleshooting/v1/aos-s/{serial-number}/showCommands

Path parameters

serial-numberstring required

Serial number of the target device

Request body

commandsstring[] required

List of CLI commands to run; each MUST start with 'show '.

Response

Accepted.

locationstring uri-reference

The relative URL path to query the status and result of the asynchronous operation.

status'INITIATED'

The initial status of the operation.

startTimestring date-time

ISO 8601 timestamp indicating when the operation was initiated.