Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Next, the documentation of the camera API is described

Query/Output Examples

  • Start Camera
Code Block
languagebash
/startCamera
  • Response Success
Code Block
languagebash
{
  "msg": "Camera On",
  "status": 200
}
  • Response Fail
Code Block
languagebash
{
  "msg": "Unable to star camera. Check the hardware",
  "status": 200
}
  • Stop Camera
Code Block
languagebash
/stopCamera
  • Response Success
Code Block
languagebash
{
  "msg": "Camera Off",
  "status": 200
}
  • Response Fail
Code Block
languagebash
{
  "msg": "Unable to stop camera",
  "status": 200
}