Skip to main content
Skip table of contents

Laser Commands

Last updated: 2026/1/7 22:37:2

Path To

Name

Description/Function

/api/laser

/invert/{value}

Invert laser controls.

/api/laser

/isattached

Gets a value indicating whether the camera has lasers.

/api/laser

/isinverted

Gets a value indicating whether the cameras lasers are inverted.

/api/laser

/ison

Gets a value indicating whether the cameras lasers are on.

/api/laser

/off

Turn the lasers off.

/api/laser

/on

Turn the lasers on.

/invert/{value}

Description

Invert laser controls.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/laser/invert/true

Parameter(s):

֍ Value: Values between true or false

Response

None

/isattached

Description

Gets a value indicating whether the camera has lasers.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/laser/isattached

Response

True if the Rayfin has lasers.

Response Type

Boolean

Response Example

CODE
true

/isinverted

Description

Gets a value indicating whether the cameras lasers are inverted.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/laser/isinverted

Response

True if the Rayfin lasers are inverted.

Response Type

Boolean

Response Example

CODE
false

/ison

Description

Gets a value indicating whether the cameras lasers are on.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/laser/ison

Response

True if the Rayfin lasers are on.

Response Type

Boolean

Response Example

CODE
false

/off

Description

Turn the lasers off.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/laser/off

Response

None

/on

Description

Turn the lasers on.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/laser/on

Response

None

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.