get_route_details
get_route_details
Section titled “get_route_details”Show one static route’s full record by _id.
Side effects: None (read-only). Call this before update_route to
see the current destination, next hop, and distance.
Returns the route record, or an error envelope if no route matches.
Example
Section titled “Example”get_route_details(route_id="65f...")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
route_id | string | yes | — | The _id from list_routes. |
controller | string | no | ”default” | Name of the UniFi controller to target. Defaults to "default". |