Attachments

Get Attachment

Get an attachment by ID.

Returns the attachment with a download URL (if uploaded).

Authorization is based on the attachment's context:

  • No context: Only the uploader can access
  • Comment attachment: User must have VIEW access to the asset
  • Icon attachments: User must have VIEW access to the workspace/project/collection
  • Person and object reference photos: User must have VIEW access to the column's project
get/attachments/{attachment_id}

Request

  • Base URL
    https://api.aspect.inc
  • URL
    https://api.aspect.inc/attachments/{attachment_id}
  • Auth
    API key in header Authorization

Path parameters

attachment_idstring uuid required

The ID of the attachment to get

Response

Successful Response

idstring uuid required

Resource identifier

urlstring nullable

Temporary download URL

url_expires_atstring date-time nullable

When the URL expires

filenamestring required

Original filename

mime_typestring required

MIME type of the file

size_bytesinteger required

File size in bytes

uploadedboolean required

Whether the file has been uploaded

createdstring date-time required

Created timestamp

Changes

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