Skip to main content
GET
Download an attachment

Authorizations

X-API-Key
string
header
required

Path Parameters

attachment_id
string
required

Identifies the attachment.

investigation_id
string
required

Identifies the investigation.

Response

200 - application/json
id
string<uuid>
required
read-only

Primary key

fileName
string
required
read-only

Sanitised file name as uploaded

contentType
string
required
read-only

MIME type derived from the validated extension

sizeBytes
integer
required
read-only

File size in bytes

checksumSha256
string
required
read-only

SHA-256 of the stored bytes, for integrity checks

description
string
required
read-only

Optional note on what the file shows

uploadedBy
integer
required
read-only

Unique identifier of the user

uploadedByName
string | null
required
read-only

Name, or email, of the uploader

uploadedAt
string<date-time>
required
read-only