ClientDocumentVersionDto

One earlier or current file in a document's version history, as the practice's storage provider
keeps it. Sodium stores no copies of superseded files: this list is read live from the provider
each time it is asked for, so it shows exactly what that account has actually retained. A
document not held on a provider that keeps versions has no history at all.

Properties

Name Type Description
versionIdstring

The provider's own identifier for this revision. Opaque — pass it back to download this
revision, never parse or order by it.

The provider's own identifier for this revision. Opaque — pass it back to download this
revision, never parse or order by it.

isCurrentboolean

Whether this is the file the document currently serves.

Whether this is the file the document currently serves.

modifiedDatestring

When the provider recorded this revision.

When the provider recorded this revision.

fileSizeinteger

Size in bytes, 0 where the provider does not report one.

Size in bytes, 0 where the provider does not report one.

modifiedBystring

Who saved this revision, as the provider names them. Null where the provider does not say —
Dropbox reports no author on a revision.

Who saved this revision, as the provider names them. Null where the provider does not say —
Dropbox reports no author on a revision.

fileNamestring

The file's name at this revision, where the provider records one per revision.

The file's name at this revision, where the provider records one per revision.

downloadUrlstring

Time-limited signed URL streaming this revision's file.

Time-limited signed URL streaming this revision's file.

JSON Example

{
  "versionId": "string",
  "isCurrent": false,
  "modifiedDate": "2024-01-01T00:00:00Z",
  "fileSize": 0,
  "modifiedBy": "string"
}