{
  "opencollection": "1.0.0",
  "info": {
    "name": "Reolink Camera HTTP AI Encoding API",
    "version": "8.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "token",
      "value": "{{token}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Encoding",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get encoding settings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=GetEnc&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves video encoding parameters including resolution, bitrate, and frame rate."
        },
        {
          "info": {
            "name": "Set encoding settings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=SetEnc&token=:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Authentication token obtained from the Login command"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Configures video encoding parameters including resolution, bitrate, and frame rate."
        }
      ]
    }
  ],
  "bundled": true
}