DeviceController
Last updated: 2025/3/7 11:37:5 | ||
Path To | Name | Description/Function |
/api/device | /ambient | Gets the Ambient temperature of the device. |
/api/device | /cpu | Gets the CPU temperature of the device. |
/api/device | /firmwareversion | Gets the ROM version number. |
/api/device | /buildpropversion | Gets the build prop script version number. |
/api/device | /generation | Gets the camera model. |
/api/device | /humidity | Gets the Humidity of the device. |
/api/device | /internalstoragefound | Gets the camera model. |
/api/device | /isupdating | Gets the camera model. |
/api/device | /model | Gets the camera model. |
/api/device | /nickname | Gets the Nickname of the device. |
/api/device | /nickname/{nickname} | Gets the Nickname of the device. |
/api/device | /ping | A simple way to ping the application. |
/api/device | /restart | Reboot the camera. |
/api/device | /romversion | Gets the ROM version number. |
/api/device | /serialnumber | Gets the camera serial number. |
/api/device | /storage | Returns the remaining storage space in GB. |
/api/device | /teensymode | Gets the teensy mode at last startup. |
/ambient
Function | Gets the Ambient temperature of the device. |
---|---|
Method | Get |
Response | Ambient temperature. |
Example |
CODE
|
/cpu
Function | Gets the CPU temperature of the device. |
---|---|
Method | Get |
Response | CPU temperature. |
Example |
CODE
|
/firmwareversion
Function | Gets the ROM version number. |
---|---|
Method | Get |
Response | The ROM version. |
Example |
CODE
|
/buildpropversion
Function | Gets the build prop script version number. |
---|---|
Method | Get |
Response | The build prop script version. |
Example |
CODE
|
/generation
Function | Gets the camera model. |
---|---|
Method | Get |
Response | The model of the camera. |
Example |
CODE
|
/humidity
Function | Gets the Humidity of the device. |
---|---|
Method | Get |
Response | Humidity. |
Example |
CODE
|
/internalstoragefound
Function | Gets the camera model. |
---|---|
Method | Get |
Response | The model of the camera. |
Example |
CODE
|
/isupdating
Function | Gets the camera model. |
---|---|
Method | Get |
Response | The model of the camera. |
Example |
CODE
|
/model
Function | Gets the camera model. |
---|---|
Method | Get |
Response | The model of the camera. |
Example |
CODE
|
/nickname
Function | Gets the Nickname of the device. |
---|---|
Method | Get |
Response | Nickname. |
Example |
CODE
|
/nickname/{nickname}
Function | Gets the Nickname of the device. |
---|---|
Method | Get |
Response | Nickname. |
Example |
CODE
|
/ping
Function | A simple way to ping the application. |
---|---|
Method | Get |
Response | Pong as a response. |
Example |
CODE
|
/restart
Function | Reboot the camera. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/romversion
Function | Gets the ROM version number. |
---|---|
Method | Get |
Response | The ROM version. |
Example |
CODE
|
/serialnumber
Function | Gets the camera serial number. |
---|---|
Method | Get |
Response | The serial number of the camera. |
Example |
CODE
|
/storage
Function | Returns the remaining storage space in GB. |
---|---|
Method | Get |
Response | Free storage in GB. |
Example |
CODE
|
/teensymode
Function | Gets the teensy mode at last startup. |
---|---|
Method | Get |
Response | Teensy mode. |
Example |
CODE
|