Reolink · Schema

Reolink Command Request

Base request structure for all Reolink Camera HTTP API commands sent as JSON POST to /cgi-bin/api.cgi.

IoTSecurity CamerasSurveillanceSmart HomeAI Detection

Properties

Name Type Description
cmd string The API command name to execute (e.g., Login, GetDevInfo, PtzCtrl)
action integer Action type: 0 for get/read operations, 1 for set/write operations
param object Command-specific parameters
View JSON Schema on GitHub

JSON Schema

command-request.json Raw ↑
{
  "$id": "command-request.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Reolink Command Request",
  "description": "Base request structure for all Reolink Camera HTTP API commands sent as JSON POST to /cgi-bin/api.cgi.",
  "type": "object",
  "properties": {
    "cmd": {
      "type": "string",
      "description": "The API command name to execute (e.g., Login, GetDevInfo, PtzCtrl)"
    },
    "action": {
      "type": "integer",
      "description": "Action type: 0 for get/read operations, 1 for set/write operations",
      "enum": [0, 1]
    },
    "param": {
      "type": "object",
      "description": "Command-specific parameters"
    }
  },
  "required": ["cmd", "action"]
}