unifi-api
Execute any UniFi Network API operation by specifying the OpenAPI path. Automatically detect HTTP method and substitute path parameters.
Instructions
Execute any UniFi Network API operation. Specify the spec path (e.g. /v1/sites/{siteId}/devices) and optional path params, query params, or body. HTTP method is auto-detected. Use unifi-api-schema to discover available paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body | |
| path | Yes | OpenAPI spec path (e.g. /v1/sites/{siteId}/devices) | |
| method | No | HTTP method. Auto-detected if omitted. | |
| pathParams | No | Path parameters to substitute (e.g. { siteId: 'abc' }) | |
| queryParams | No | Query string parameters |