Device Commands
Last updated: 2026/1/7 16:25:38 | ||
Path To | Name | Description/Function |
/api/device | /ambient | Gets the Ambient temperature of the device in Celsius. |
/api/device | /buildpropversion | Gets the build prop script version number. |
/api/device | /cpu | Gets the CPU temperature of the device in Celsius. |
/api/device | /firmware/bootloaderversion | Gets the firmware bootloader version. |
/api/device | /firmwareversion | Gets the ROM 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} | Sets 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. |
/api/device | /totalstorage | Returns the total storage space in GB. |
/ambient
Description | Gets the Ambient temperature of the device in Celsius. |
Method | Get |
Example |
CODE
|
Response | Ambient temperature. |
Response Type | Decimal |
Response Example |
CODE
|
/buildpropversion
Description | Gets the build prop script version number. |
Method | Get |
Example |
CODE
|
Response | The build prop script version. |
Response Type | Text |
Response Example |
CODE
|
/cpu
Description | Gets the CPU temperature of the device in Celsius. |
Method | Get |
Example |
CODE
|
Response | CPU temperature. |
Response Type | Decimal |
Response Example |
CODE
|
/firmware/bootloaderversion
Description | Gets the firmware bootloader version. |
Method | Get |
Example |
CODE
|
Response | Bootloader version. |
Response Type | Text |
Response Example |
CODE
|
/firmwareversion
Description | Gets the Firmware version number. |
Method | Get |
Example |
CODE
|
Response | The Rayfin camera Firmware version. |
Response Type | Text |
Response Example |
CODE
|
/generation
Description | Gets the camera generation. |
Method | Get |
Example |
CODE
|
Response | The camera's sensor generation. |
Response Type | Text |
Response Example |
CODE
|
/humidity
Description | Gets the Humidity of the device. |
Method | Get |
Example |
CODE
|
Response | Humidity. |
Response Type | Decimal |
Response Example |
CODE
|
/internalstoragefound
Description | Gets a value indicating whether the camera has internal storage. |
Method | Get |
Example |
CODE
|
Response | True if camera has internal storage. |
Response Type | Boolean |
Response Example |
CODE
|
/isupdating
Description | Gets a value indicating whether the camera has updating. |
Method | Get |
Example |
CODE
|
Response | True if the camera is updating. |
Response Type | Boolean |
Response Example |
CODE
|
/model
Description | Gets the camera model. |
Method | Get |
Example |
CODE
|
Response | The model of the camera. |
Response Type | Text |
Response Example |
CODE
|
/nickname
Description | Gets the Nickname of the device. |
Method | Get |
Example |
CODE
|
Response | Nickname. |
Response Type | Text |
Response Example |
CODE
|
/nickname/{nickname}
Description | Sets the Nickname of the device. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Nickname: Nickname. |
Response | None |
/ping
Description | A simple way to ping the application. |
Method | Get |
Example |
CODE
|
Response | Pong as a response. |
Response Type | Text |
Response Example |
CODE
|
/restart
Description | Reboot the camera. |
Method | Get |
Example |
CODE
|
Response | None |
/romversion
Description | Gets the ROM version number. |
Method | Get |
Example |
CODE
|
Response | The ROM version. |
Response Type | Text |
Response Example |
CODE
|
/serialnumber
Description | Gets the camera serial number. |
Method | Get |
Example |
CODE
|
Response | The serial number of the camera. |
Response Type | Text |
Response Example |
CODE
|
/storage
Description | Returns the remaining storage space in GB. |
Method | Get |
Example |
CODE
|
Response | Free storage in GB. |
Response Type | Decimal |
Response Example |
CODE
|
/teensymode
Description | Gets the teensy mode at last startup. |
Method | Get |
Example |
CODE
|
Response | Teensy mode. |
Response Type | Text |
Response Example |
CODE
|
/totalstorage
Description | Returns the total storage space in GB. |
Method | Get |
Example |
CODE
|
Response | Total storage in GB. |
Response Type | Decimal |
Response Example |
CODE
|