File
A single attachment (PDF, supplementary material, image, …) bound to a Reference.
- contentType: string
_type MIME type of the file.
- createdType: integer
_at Unix timestamp when the file was uploaded.
- idType: string
Unique identifier of the file.
- md5Type: string
MD5 checksum of the file.
- nameType: string
Name of the file including extension. Set at upload time via the
filenameform field; cannot be changed afterwards. - primaryType: boolean
Marks this file as the "main PDF" Paperpile uses for reading and annotation.
- referencenullable
Reference id by default; full
Referenceobject whenlist({ expand: ['reference'] })is used;nullfor an attachment with no associated reference.- Type: string
Reference id by default; full
Referenceobject whenlist({ expand: ['reference'] })is used;nullfor an attachment with no associated reference.
- sizeType: integer
File size in bytes.