NetworkController
Last updated: 2025/3/7 11:0:13 | ||
Path To | Name | Description/Function |
/api/network | /connectionspeed | Get the network link speed. |
/api/network | /enabledhcp | Enable DHCP on the camera. |
/api/network | /staticfallbackseconds/{seconds} | Sets the number of seconds to delay before falling back to static IP. |
/api/network | /enablestaticip | Enable static IP. |
/api/network | /enablestaticip/{ip}/{gateway}/{dns1}/{dns2}/{subnetmask} | Enable static IP. |
/api/network | /get | Get the network state. |
/connectionspeed
Function | Get the network link speed. |
---|---|
Method | Get |
Response | Link speed. |
Example |
CODE
|
/enabledhcp
Function | Enable DHCP on the camera. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/staticfallbackseconds/{seconds}
Function | Sets the number of seconds to delay before falling back to static IP. |
---|---|
Method | Get |
Response | The number of seconds. Default=30. |
Example |
CODE
|
/enablestaticip
Function | Enable static IP. |
---|---|
Method | Post |
Body |
CODE
|
Response | A representing the asynchronous operation. |
Explanation | Sets the IP address on the Rayfin to a static address. |
Example | Example 1
CODE
Example 2
CODE
|
/enablestaticip/{ip}/{gateway}/{dns1}/{dns2}/{subnetmask}
Function | Enable static IP. |
---|---|
Method | Get |
Response | Subnet mask to use. |
Example |
CODE
|
/get
Function | Get the network state. |
---|---|
Method | Get |
Response | The current network state. |
Example |
CODE
|