Get a list of active cameras and its properties

get/api/v1/cameras

Response

OK

camera_idstring
connectedboolean

Camera is successfully connected to PrusaLink

detectedboolean

Camera is detected by PrusaLink, but not saved yet

storedboolean

Camera configuration is saved in PrusaLink

linkedboolean

Camera is linked to PrusaConnect

Example response

[
  {
    "camera_id": "sh42arta",
    "config": {
      "path": "/dev/video0",
      "name": "Camera L4D",
      "driver": "V4L2",
      "resolution": "1280x720"
    }
  }
]

Changes

Changed in 4 of the 49 revisions of this API.117

  • e25bada0148d15See the full diff
    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      endpoint added

      endpoint-added

    • ▲

      api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 26 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog