Documentation Index
Fetch the complete documentation index at: https://crsdk.app/llms.txt
Use this file to discover all available pages before exploring further.
Requires remote-transfer or contents connection mode.
List Files
GET /api/cameras/{cameraId}/sd-card/slot/{slotNumber}/files
curl http://localhost:8080/api/cameras/D10F60149B0C/sd-card/slot/1/files
Download File
POST /api/cameras/{cameraId}/sd-card/slot/{slotNumber}/files/{contentId}/{fileId}/download
Download a specific file from the SD card to the host PC.
Content ID from file listing
File ID from file listing
Directory on host PC to save the file
curl -X POST http://localhost:8080/api/cameras/D10F60149B0C/sd-card/slot/1/files/12345/67890/download \
-H "Content-Type: application/json" \
-d '{"save_path": "/Users/me/Photos"}'
Listen for transferProgress SSE events to track download progress in remote-transfer mode.
Download Thumbnail
POST /api/cameras/{cameraId}/sd-card/slot/{slotNumber}/files/{contentId}/{fileId}/thumbnail
Download a compressed JPEG thumbnail (~50-60 KB) for fast preview or ML evaluation. Much faster than pulling the full file.
Content ID from file listing
File ID from file listing
Directory on host PC to save the thumbnail
curl -X POST http://localhost:8080/api/cameras/D10F60149B0C/sd-card/slot/1/files/12345/67890/thumbnail \
-H "Content-Type: application/json" \
-d '{"save_path": "/Users/me/thumbnails"}'
Download Screennail
POST /api/cameras/{cameraId}/sd-card/slot/{slotNumber}/files/{contentId}/{fileId}/screennail
Download a medium-resolution JPEG preview (~250-300 KB). Higher quality than thumbnail, still much smaller than the full file.
Content ID from file listing
File ID from file listing
Directory on host PC to save the screennail
curl -X POST http://localhost:8080/api/cameras/D10F60149B0C/sd-card/slot/1/files/12345/67890/screennail \
-H "Content-Type: application/json" \
-d '{"save_path": "/Users/me/previews"}'
Size comparison for ML workflows:| Type | Size | Use Case |
|---|
| Thumbnail | ~50-60 KB | Fast ML triage, grid views |
| Screennail | ~250-300 KB | Detailed evaluation, composition analysis |
| Full file | ~35 MB (ARW) | Final delivery, full processing |
Both thumbnail and screennail endpoints are async — listen for transferProgress SSE events with percent: 100 for completion.
Save Info
Configure where auto-transferred images are saved on the host PC.
Save info only applies in remote connection mode, where images auto-transfer to the host PC. It has no effect in remote-transfer or contents modes.
Get Save Info
GET /api/cameras/{cameraId}/settings/save-info
{
"success": true,
"data": {
"path": "/Users/me/Photos",
"prefix": "DSC",
"startNo": "1"
}
}
Set Save Info
PUT /api/cameras/{cameraId}/settings/save-info
Directory path on host PC
curl -X PUT http://localhost:8080/api/cameras/D10F60149B0C/settings/save-info \
-H "Content-Type: application/json" \
-d '{"path": "/Users/me/Photos", "prefix": "SHOOT", "startNo": 1}'