File

A single attachment (PDF, supplementary material, image, …) bound to a Reference.

  • MIME type of the file.

  • Unix timestamp when the file was uploaded.

  • Unique identifier of the file.

  • MD5 checksum of the file.

  • Name of the file including extension. Set at upload time via the filename form field; cannot be changed afterwards.

  • Marks this file as the "main PDF" Paperpile uses for reading and annotation.

  • Reference id by default; full Reference object when list({ expand: ['reference'] }) is used; null for an attachment with no associated reference.

  • File size in bytes.