Device Commands
Last updated: 2025/5/22 17:47:13 | ||
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 generation. |
/api/device | /humidity | Gets the Humidity of the device. |
/api/device | /internalstoragefound | Gets a value indicating whether the camera has internal storage. |
/api/device | /isupdating | Gets a value indicating whether the camera has updating. |
/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 | /totalstorage | Returns the total 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 |
Example |
CODE
|
Response | Ambient temperature. |
Response Type | number |
Response Example |
CODE
|
/cpu
Function | Gets the CPU temperature of the device. |
|---|---|
Method | Get |
Example |
CODE
|
Response | CPU temperature. |
Response Type | number |
Response Example |
CODE
|
/firmwareversion
Function | Gets the ROM version number. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The ROM version. |
Response Type | string |
Response Example |
CODE
|
/buildpropversion
Function | Gets the build prop script version number. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The build prop script version. |
Response Type | string |
Response Example |
CODE
|
/generation
Function | Gets the camera generation. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The model of the camera. |
Response Type | string |
Response Example |
CODE
|
/humidity
Function | Gets the Humidity of the device. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Humidity. |
Response Type | number |
Response Example |
CODE
|
/internalstoragefound
Function | Gets a value indicating whether the camera has internal storage. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The model of the camera. |
Response Type | boolean |
Response Example |
CODE
|
/isupdating
Function | Gets a value indicating whether the camera has updating. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The model of the camera. |
Response Type | boolean |
Response Example |
CODE
|
/model
Function | Gets the camera model. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The model of the camera. |
Response Type | string |
Response Example |
CODE
|
/nickname
Function | Gets the Nickname of the device. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Nickname. |
Response Type | string |
Response Example |
CODE
|
/nickname/{nickname}
Function | Sets the Nickname of the device. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Nickname. |
Response Type | Not Available |
Response Example |
CODE
|
/ping
Function | A simple way to ping the application. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Pong as a response. |
Response Type | string |
Response Example |
CODE
|
/restart
Function | Reboot the camera. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Status code 200, for completed operation being preformed. |
Response Type | Not Available |
Response Example |
CODE
|
/romversion
Function | Gets the ROM version number. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The ROM version. |
Response Type | string |
Response Example |
CODE
|
/serialnumber
Function | Gets the camera serial number. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The serial number of the camera. |
Response Type | string |
Response Example |
CODE
|
/storage
Function | Returns the remaining storage space in GB. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Free storage in GB. |
Response Type | number |
Response Example |
CODE
|
/totalstorage
Function | Returns the total storage space in GB. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Total storage in GB. |
Response Type | number |
Response Example |
CODE
|
/teensymode
Function | Gets the teensy mode at last startup. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Teensy mode. |
Response Type | string |
Response Example |
CODE
|