Skip to content

adm_my_document_versions_v

One row per version of a document the ADM user established in the current session may see, metadata only.

Group: Application integration

Category: Versions - Document version control and lifecycle

  • A version history region in your own application
  • Auditing who last changed a file’s contents
  • Detecting a re-upload of unchanged content by checksum

The view contains 8 columns providing comprehensive information:

Column NameDescription
version_idPrimary key of the version.
document_idThe document this version belongs to. Joins to adm_my_documents_v.document_id.
version_numberVersion number within the document, counting from 1 and never reused.
file_sizeSize of this version in bytes, raw.
checksumContent checksum of this version. Two versions with the same checksum hold the same bytes; use it to detect a re-upload of unchanged content.
version_statusCURRENT for the version adm_my_documents_v.latest_version_id points at, HISTORICAL for every earlier one.
created_dateTimestamp this version was uploaded.
created_byUser who uploaded this version.
  • Unique by version_id, and by (document_id, version_number)
  • version_status marks the one CURRENT version per document
  • No file content and no storage location - fetch bytes through the API

Other views in the Versions category: