This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
http_api [2025/01/07 18:17] cflintiii [UpdateTerm] |
http_api [2025/04/16 15:32] (current) anthony [PtzAuxiliary] |
||
|---|---|---|---|
| Line 1889: | Line 1889: | ||
| ---- | ---- | ||
| - | //**data **// Parse the JSON formatted data and retrieve the mode, position and speed value. | + | //**data **// JSON formatted table with parameters: |
| + | |||
| + | * **idx** (integer) - PTZ index. Possible values: 0, 1. | ||
| + | * **Value** (integer) - ON/OFF state of the PTZ AUX function. Possible values: 0 - OFF, 1 - ON. | ||
| + | * **AuxId ** (integer) - PTZ AUX index. Possible values: 0 to 255. | ||
| == Returns: == | == Returns: == | ||
| Line 1898: | Line 1902: | ||
| **//ret//** Custom return code of the HTTP POST request. 0 on success, 1 on failure. | **//ret//** Custom return code of the HTTP POST request. 0 on success, 1 on failure. | ||
| - | **//status//** String describing the failure when **ret** is 1. "OK" on success. | + | **//status//** String describing the failure when **ret** is 1. "OK" on success. |
| ---- | ---- | ||
| + | |||
| ==== PtzClearPreset ==== | ==== PtzClearPreset ==== | ||