SubC Rayfin v4 API

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

http://IP_ADDRESS:8080/api/device/ambient

Response

Ambient temperature.

Response Type

Decimal

Response Example

24.18

/buildpropversion

Description

Gets the build prop script version number.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/buildpropversion

Response

The build prop script version.

Response Type

Text

Response Example

4.3.1

/cpu

Description

Gets the CPU temperature of the device in Celsius.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/cpu

Response

CPU temperature.

Response Type

Decimal

Response Example

430

/firmware/bootloaderversion

Description

Gets the firmware bootloader version.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/firmware/bootloaderversion

Response

Bootloader version.

Response Type

Text

Response Example

Response Not Found(404)

/firmwareversion

Description

Gets the Firmware version number.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/firmwareversion

Response

The Rayfin camera Firmware version.

Response Type

Text

Response Example

SubC Rayfin v12.2.7

/generation

Description

Gets the camera generation.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/generation

Response

The camera's sensor generation.

Response Type

Text

Response Example

Mk2

/humidity

Description

Gets the Humidity of the device.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/humidity

Response

Humidity.

Response Type

Decimal

Response Example

17.45

/internalstoragefound

Description

Gets a value indicating whether the camera has internal storage.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/internalstoragefound

Response

True if camera has internal storage.

Response Type

Boolean

Response Example

true

/isupdating

Description

Gets a value indicating whether the camera has updating.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/isupdating

Response

True if the camera is updating.

Response Type

Boolean

Response Example

false

/model

Description

Gets the camera model.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/model

Response

The model of the camera.

Response Type

Text

Response Example

Rayfin

/nickname

Description

Gets the Nickname of the device.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/nickname

Response

Nickname.

Response Type

Text

Response Example

sampleNickname

/nickname/{nickname}

Description

Sets the Nickname of the device.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/nickname/sampleNickname

Parameter(s):

֍ Nickname: Nickname.

Response

None

/ping

Description

A simple way to ping the application.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/ping

Response

Pong as a response.

Response Type

Text

Response Example

pong

/restart

Description

Reboot the camera.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/restart

Response

None

/romversion

Description

Gets the ROM version number.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/romversion

Response

The ROM version.

Response Type

Text

Response Example

4.7.2.2-dev-851

/serialnumber

Description

Gets the camera serial number.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/serialnumber

Response

The serial number of the camera.

Response Type

Text

Response Example

61023

/storage

Description

Returns the remaining storage space in GB.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/storage

Response

Free storage in GB.

Response Type

Decimal

Response Example

401

/teensymode

Description

Gets the teensy mode at last startup.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/teensymode

Response

Teensy mode.

Response Type

Text

Response Example

Normal

/totalstorage

Description

Returns the total storage space in GB.

Method

Get

Example

http://IP_ADDRESS:8080/api/device/totalstorage

Response

Total storage in GB.

Response Type

Decimal

Response Example

422