Skip to main content
Skip table of contents

Laser Commands

Last updated: 2025/5/22 18:28:0

Path To

Name

Description/Function

/api/laser

/ison

Gets a value indicating whether the cameras lasers are on.

/api/laser

/isinverted

Gets a value indicating whether the cameras lasers are inverted.

/api/laser

/invert/{val}

Invert laser controls.

/api/laser

/isattached

Gets a value indicating whether the camera has lasers.

/api/laser

/off

Turn the lasers off.

/api/laser

/on

Turn the lasers on.

/ison

Function

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

/isinverted

Function

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 on.

Response Type

boolean

Response Example

CODE
false

/invert/{val}

Function

Invert laser controls.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/laser/invert/{val}

Response

None

Response Type

Not Available

Response Example

CODE
Not Available

/isattached

Function

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

/off

Function

Turn the lasers off.

Method

Get

Example

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

Response

Status code 200, for completed operation being preformed.

Response Type

none

Response Example

CODE
Response OK(200)

/on

Function

Turn the lasers on.

Method

Get

Example

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

Response

Status code 200, for completed operation being preformed.

Response Type

none

Response Example

CODE
Response OK(200)
JavaScript errors detected

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

If this problem persists, please contact our support.