Photos
🛡️ Get your photos.
<h3>🛡️ Requires Capabilities: <code>Photos.Read</code></h3>get/api/v1/photos
Query parameters
metadataboolean
thumbnailsboolean
photoAlbumEntriesboolean
orderBy'createdAt' | 'takenAt' | 'modifiedAt' | 'width' | 'height' | 'deviceMake' | 'deviceModel' | 'gpsLat' | 'gpsLng' | 'gpsAltitude'
takenumber
skipnumber
order'ASC' | 'DESC'
Response
Returns an array where the first item is an array of query results, and the second item is the total number of photos.
{"stackTrail":"paths:/api/v1/photos:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","example":[[{"photoId":"7b74fae5-c377-4352-983d-0981e9b9fbec"},{"photoId":"7b74fae5-c377-4352-983d-0981e9b9fbec"},{"photoId":"7b74fae5-c377-4352-983d-0981e9b9fbec"},{"photoId":"7b74fae5-c377-4352-983d-0981e9b9fbec"}],24]}
Example response
[
[
{
"photoId": "7b74fae5-c377-4352-983d-0981e9b9fbec"
},
{
"photoId": "7b74fae5-c377-4352-983d-0981e9b9fbec"
},
{
"photoId": "7b74fae5-c377-4352-983d-0981e9b9fbec"
},
{
"photoId": "7b74fae5-c377-4352-983d-0981e9b9fbec"
}
],
24
]