|
Last updated: 2026/1/7 23:11:39 |
||
|
Path To |
Name |
Description/Function |
|
/api/network |
/connectionspeed |
Get the network link speed in Mbps. |
|
/api/network |
/enabledhcp |
Enable DHCP on the camera. |
|
/api/network |
/enablestaticip |
Enable static IP. |
|
/api/network |
/enablestaticip/{ip}/{gateway}/{dns1}/{dns2}/{subnetmask} |
Enable static IP. |
|
/api/network |
/get |
Get the network state. |
|
/api/network |
/staticfallbackseconds/{seconds} |
Sets the number of seconds to delay before falling back to static IP. |
/connectionspeed
|
Description |
Get the network link speed in Mbps. |
|
Method |
Get |
|
Example |
|
|
Response |
Link speed. |
|
Response Type |
Number |
|
Response Example |
|
/enabledhcp
|
Description |
Enable DHCP on the camera. |
|
Method |
Get |
|
Example |
|
|
Response |
None |
/enablestaticip
|
Description |
Enable static IP. |
|
Method |
Post |
|
Example |
|
|
Body |
|
|
Response |
None |
|
Explanation |
Task |
/enablestaticip/{ip}/{gateway}/{dns1}/{dns2}/{subnetmask}
|
Description |
Enable static IP. |
|
Method |
Get |
|
Example |
|
|
Parameter(s): |
֍ Ip: IP Address to set. ֍ Gateway: Gateway to use. ֍ Dns1: DNS1 to use. ֍ Dns2: DNS2 to use. ֍ Subnetmask: Subnet mask to use. |
|
Response |
None |
/get
|
Description |
Get the network state. |
|
Method |
Get |
|
Example |
|
|
Response |
The current network state. |
|
Response Type |
JSON object |
|
Response Example |
|
/staticfallbackseconds/{seconds}
|
Description |
Sets the number of seconds to delay before falling back to static IP. |
|
Method |
Get |
|
Example |
|
|
Parameter(s): |
֍ Seconds: The number of seconds. Default=50. |
|
Response |
None |