Shutter
POST /api/cameras/{cameraId}/actions/shutter
Take a single photo, or control continuous shooting with down/up.
Optional. down to start continuous shooting, up to stop. Omit for single shot.
curl -X POST http://localhost:8080/api/cameras/D10F60149B0C/actions/shutter
For continuous shooting, set drive mode to a continuous mode first (e.g. Continuous Hi).
Half-Press (Focus Lock)
POST /api/cameras/{cameraId}/actions/half-press
Half-press the shutter button to lock autofocus (S1 press). No body required.
curl -X POST http://localhost:8080/api/cameras/D10F60149B0C/actions/half-press
AF + Shutter
POST /api/cameras/{cameraId}/actions/af-shutter
Autofocus then immediately capture in one operation. No body required.
curl -X POST http://localhost:8080/api/cameras/D10F60149B0C/actions/af-shutter
Zoom
POST /api/cameras/{cameraId}/actions/zoom
Control power zoom lenses. Requires a power zoom lens to be attached.
curl -X POST http://localhost:8080/api/cameras/D10F60149B0C/actions/zoom \
-H "Content-Type: application/json" \
-d '{"direction": "in", "speed": "normal"}'
Focus Near/Far
POST /api/cameras/{cameraId}/actions/focus-near-far
Move focus in discrete steps. Range: -7 (near, max speed) to +7 (far, max speed). Magnitude controls speed. 0 is not valid.
-7 to +7. Negative = near, positive = far.
curl -X POST http://localhost:8080/api/cameras/D10F60149B0C/actions/focus-near-far \
-H "Content-Type: application/json" \
-d '{"step": -1}'
For absolute focus positioning, use PUT /api/cameras/{id}/properties/focus-position with a value from 0 (infinity) to 65535 (closest).