Get Response Sample
get_response_sampleRetrieve the exact sample JSON response for any UniFi API endpoint, with placeholder values as shown in official docs. Quickly see the shape of a successful reply.
Instructions
Get the sample response body published for one endpoint.
Returns raw JSON exactly as the documentation shows it, with placeholder values. About two thirds of endpoints have one; the rest say so plainly. This is the shape of a successful reply — for the field-by-field schema including types and which fields are optional, use get_endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Endpoint identifier (e.g. 'network/getnetworksoverviewpage'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |