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
|
Response | True if the Rayfin lasers are on. |
Response Type | boolean |
Response Example |
CODE
|
/isinverted
Function | Gets a value indicating whether the cameras lasers are inverted. |
|---|---|
Method | Get |
Example |
CODE
|
Response | True if the Rayfin lasers are on. |
Response Type | boolean |
Response Example |
CODE
|
/invert/{val}
Function | Invert laser controls. |
|---|---|
Method | Get |
Example |
CODE
|
Response | None |
Response Type | Not Available |
Response Example |
CODE
|
/isattached
Function | Gets a value indicating whether the camera has lasers. |
|---|---|
Method | Get |
Example |
CODE
|
Response | True if the Rayfin has lasers. |
Response Type | boolean |
Response Example |
CODE
|
/off
Function | Turn the lasers off. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Status code 200, for completed operation being preformed. |
Response Type | none |
Response Example |
CODE
|
/on
Function | Turn the lasers on. |
|---|---|
Method | Get |
Example |
CODE
|
Response | Status code 200, for completed operation being preformed. |
Response Type | none |
Response Example |
CODE
|