Connection
Enumerate cameras connected via USB and network, then connect in the desired mode. Priority key must be set to pc-remote after connecting before any property changes or shooting commands will be accepted.
See the auto-generated API reference for full request/response schemas.
List Cameras
Section titled “List Cameras”GET /api/cameras — enumerate all cameras visible via USB and network.
curl http://localhost:8080/api/cameras{ "success": true, "message": "Camera discovery completed", "cameras": [ { "id": "D10F60149B0C", "model": "ILCE-9M3", "connectionType": "USB", "connected": false } ]}Connect Camera
Section titled “Connect Camera”POST /api/cameras/{cameraId}/connection — establish a connection in the specified mode.
Body fields:
| Field | Default | Description |
|---|---|---|
mode |
remote |
remote, remote-transfer, or contents |
reconnecting |
— | on or off — auto-reconnect on disconnection |
username |
— | For network cameras |
password |
— | For network cameras |
curl -X POST http://localhost:8080/api/cameras/D10F60149B0C/connection \ -H "Content-Type: application/json" \ -d '{"mode": "remote"}'{ "success": true, "message": "Camera connected successfully in remote mode", "camera": { "connected": true, "model": "ILCE-9M3", "id": "D10F60149B0C" }}Connection Status
Section titled “Connection Status”GET /api/cameras/{cameraId}/connection — check whether a camera is currently connected.
curl http://localhost:8080/api/cameras/D10F60149B0C/connectionDisconnect Camera
Section titled “Disconnect Camera”DELETE /api/cameras/{cameraId}/connection — disconnect a camera. Clears event callbacks and waits for clean disconnection.
curl -X DELETE http://localhost:8080/api/cameras/D10F60149B0C/connection