Memories

Add assets to a memory

Changed on

Add a list of asset IDs to a specific memory.

put/memories/{id}/assets

Request

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

Path parameters

idstring uuid required

Request body

idsstring[] required

IDs to process

Response

error'duplicate' | 'no_permission' | 'not_found' | 'unknown' | 'validation'

Error reason

errorMessagestring
idstring uuid required

ID

successboolean required

Whether operation succeeded

Changes

    • info

      the / response's property pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$ was added for the status