Activities

Retrieve activity statistics

Returns the number of likes and comments for a given album or asset in an album.

get/activities/statistics

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/activities/statistics
  • Auth: one of:
    • HTTP bearer
    • API key in cookie immich_access_token
    • API key in header x-api-key

Query parameters

albumIdstring uuid required

Album ID

assetIdstring uuid

Asset ID (if activity is for an asset)

Response

commentsinteger required

Number of comments

likesinteger required

Number of likes

Changes

No recorded changes to this operation across all 50 revisions of this API.