From b681aedf6f385704f358961d555a02ffa9448940 Mon Sep 17 00:00:00 2001 From: Shea Smith <51303984+SheaSmith@users.noreply.github.com> Date: Sat, 18 Dec 2021 22:27:08 +1300 Subject: [PATCH] Fix URLs in API docs --- docs/docs/integrations/api.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/integrations/api.md b/docs/docs/integrations/api.md index 7cf3bc522..96f525e19 100644 --- a/docs/docs/integrations/api.md +++ b/docs/docs/integrations/api.md @@ -234,18 +234,18 @@ HTTP Live Streaming Video on Demand URL for the camera with the specified time r If PTZ support is enabled for this particular camera, then you can use add `?direction=` and one of `left`, `right`, `up`, or `down` to move the camera. A 404 error will be returned for a camera which doesn't have ONVIF setup. -### `GET /api//zoom` +### `GET /api//ptz/zoom` If PTZ support is enabled for this camera, then you can set `?zoomIn=` to either `0` or `1` to zoom in or out the camera respectively. -### `GET /api//stop` +### `GET /api//ptz/stop` Stops any PTZ movements that are currently happening. -### `GET /api//sethome` +### `GET /api//ptz/sethome` Sets the 'home' location of this camera to the current location. -### `GET /api//gotohome` +### `GET /api//ptz/gotohome` Moves the camera to the preset 'home' location.