---
title: "List 'show' commands (AP - top commands)"
method: GET
path: "/network-troubleshooting/v1/aps/{serial-number}/show-commands"
tags: ["Access Points"]
---

# List 'show' commands (AP - top commands)

`GET /network-troubleshooting/v1/aps/{serial-number}/show-commands`

## Request

- Base URL: `https://sso.common.cloud.hpe.com`
- URL: `https://sso.common.cloud.hpe.com/network-troubleshooting/v1/aps/{serial-number}/show-commands`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://sso.common.cloud.hpe.com/as/token.oauth2`
- TypeScript: <https://skmtc.dev/arubanetworks/apis/authorization/docs/network-troubleshooting/v1/aps/:serial-number/show-commands/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns most used/top 'show' commands supported on given AP.

## Path parameters

- `serial-number` string, required

## Response `200`

OK. Returns the list of 'show' commands grouped by category.

- ShowCommandsCategory[]
  - `categoryName` string, required: A logical category/group name for the commands.
  - `count` integer, required: Number of commands under this category.
  - `commands` ShowCommandsCommand[], required: Commands under this category.
    - `command` string, required: A device CLI command that begins with 'show '.

## Other responses

- `400`: Bad Request. Validation errors in the request body or parameters, or invalid parameters for the specific device.
- `401`: Unauthorized. Authentication credentials are required or invalid.
- `403`: Forbidden: Access is denied.
- `404`: Not Found. The device with the specified serial number was not found.
- `429`: Too Many Requests. The user has sent too many requests in a given amount of time.
- `500`: Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.dev/arubanetworks/apis/authorization.md) - [All operations](https://skmtc.dev/arubanetworks/apis/authorization/llms.txt) - [OpenAPI document](https://skmtc.dev/arubanetworks/apis/authorization/revisions/74c95058b11f?raw)
