WorkspacePhotosOut
Response wrapper for GET /api/v1/devices/photos (Phase 122-01, D-03).
The workspace-wide photo listing uses a soft cap of 500 newest photos per
D-26: when the database has more matching rows than limit, the response
returns exactly limit rows ordered newest-first and has_more=True.
No full COUNT(*) is run; the caller can narrow the time range to see older
rows. There is no offset/limit pagination for this endpoint.
photos object[]required
Array [
idstring<uuid>required
file_keyFile Key (string)required
original_nameOriginal Name (string)required
content_typeContent Type (string)required
size_bytesSize Bytes (integer)required
latitude object
anyOf
- number
- null
number
longitude object
anyOf
- number
- null
number
download_urlDownload Url (string)required
device_uuidstring<uuid>required
device_nameDevice Name (string)required
session_idstring<uuid>required
captured_atstring<date-time>required
]
has_moreHas More (boolean)required
WorkspacePhotosOut
{
"photos": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"file_key": "string",
"original_name": "string",
"content_type": "string",
"size_bytes": 0,
"latitude": 0,
"longitude": 0,
"download_url": "string",
"device_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device_name": "string",
"session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"captured_at": "2024-07-29T15:51:28.071Z"
}
],
"has_more": true
}