Get a download URL for a memory's attachment.

Return a short-lived download URL for the memory attachment. The URL expires after expiresIn seconds. Returns 404 when the memory has no stored attachment.

get/v1/memories/{id}/attachment

Request

  • Base URL: https://api.cortexplus.io
  • URL: https://api.cortexplus.io/v1/memories/{id}/attachment
  • Auth: HTTP bearer

Path parameters

idstring required

Memory id.

Query parameters

variant'thumb' | 'original'

Return a thumbnail URL when available, otherwise the original attachment URL.

Response

Successful response.

urlstring uri required
expiresInnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.