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 |
|---|---|---|
| versionId | string | The provider's own identifier for this revision. Opaque — pass it back to download this |
The provider's own identifier for this revision. Opaque — pass it back to download this | ||
| isCurrent | boolean | Whether this is the file the document currently serves. |
Whether this is the file the document currently serves. | ||
| modifiedDate | string | When the provider recorded this revision. |
When the provider recorded this revision. | ||
| fileSize | integer | Size in bytes, 0 where the provider does not report one. |
Size in bytes, 0 where the provider does not report one. | ||
| modifiedBy | string | Who saved this revision, as the provider names them. Null where the provider does not say — |
Who saved this revision, as the provider names them. Null where the provider does not say — | ||
| fileName | string | 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. | ||
| downloadUrl | string | 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"
}