{
  "opencollection": "1.0.0",
  "info": {
    "name": "Reolink Camera HTTP AI PTZ API",
    "version": "8.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "token",
      "value": "{{token}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "PTZ",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Control PTZ movement",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=PtzCtrl&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Controls pan, tilt, and zoom movements of PTZ-capable cameras. Supported operations include directional movement (Up, Down, Left, Right), zoom (ZoomInc, ZoomDec), focus (FocusInc, FocusDec), preset navigation (ToPos), and Stop."
        },
        {
          "info": {
            "name": "Get PTZ presets",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=GetPtzPreset&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves the list of configured PTZ preset positions."
        },
        {
          "info": {
            "name": "Set PTZ preset position",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=SetPtzPreset&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Saves the current PTZ position as a named preset."
        },
        {
          "info": {
            "name": "Get PTZ patrol settings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=GetPtzPatrol&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves PTZ patrol route configuration."
        },
        {
          "info": {
            "name": "Set PTZ patrol configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=SetPtzPatrol&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Configures PTZ patrol routes and timing."
        },
        {
          "info": {
            "name": "Calibrate PTZ",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=PtzCheck&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Initiates PTZ calibration to reset the pan-tilt-zoom mechanism."
        },
        {
          "info": {
            "name": "Get PTZ calibration status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=GetPtzCheckState&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves the current state of PTZ calibration."
        },
        {
          "info": {
            "name": "Get auto-tracking settings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=GetAutoTrack&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves AI auto-tracking configuration for PTZ cameras."
        },
        {
          "info": {
            "name": "Set auto-tracking settings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=SetAutoTrack&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Configures AI auto-tracking behavior for PTZ cameras."
        }
      ]
    }
  ],
  "bundled": true
}