connector_protect_get
Proxies a GET request to the UniFi Protect API via cloud connector, enabling access to endpoint data like cameras using the console ID and API path.
Instructions
Proxy a GET request to the Protect Application via Cloud Connector.
Forwards the request to
https://api.ui.com/v1/connector/{console_id}/proxy/protect/{path}
and returns the raw response.
Args:
console_id: UniFi console/host identifier (from list_hosts)
path: Protect API sub-path, e.g. v1/cameras
settings: Application settings (UNIFI_SITE_MANAGER_ENABLED required)
params: Optional query parameters
Returns: Raw response from the proxied Protect API endpoint
Raises: ValidationError: If console_id or path is empty ValueError: If Site Manager API is not enabled
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| params | No | ||
| console_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||