Users (admin)
Retrieve calendar heatmap activity
Changed onRetrieve activity counts for a specified period, in a calendar heatmap format.
get/admin/users/{id}/calendar-heatmap
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/admin/users/{id}/calendar-heatmap
- Auth: one of:
- HTTP bearer
- API key in cookie immich_access_token
- API key in header x-api-key
Path parameters
idstring uuid required
Query parameters
fromstring date
Example:2024-01-01
Start date in UTC
tostring date
Example:2024-01-01
End date in UTC
type'Upload' | 'Taken'
Type of calendar heatmap
Response
Example response
{
"from": "2024-01-01",
"series": [
{
"date": "2024-01-01"
}
],
"to": "2024-12-31"
}Changes
- info
endpoint added
- info