Interface IWebFileHistory
A saved version of a WebFile. Every save of a web file stores a copy here, so the newest record
is the current content; the server keeps the newest ELEMENT_HISTORY_LIMIT (default 5) per file.
List responses omit Content (fetch a single revision via GetWebFileHistoryRecordAsync
to retrieve it).
public interface IWebFileHistory
Properties
Changed
When this version was saved. The history lists newest first by this value.
DateTimeOffset Changed { get; init; }
Property Value
- DateTimeOffset
ContainerId
The ContainerId of the file at the time of that save.
string? ContainerId { get; init; }
Property Value
- string
Content
The file's bytes at the time of that save (base64 in JSON). null in list responses.
byte[]? Content { get; init; }
Property Value
- byte[]
ContentType
The ContentType of the file at the time of that save.
string? ContentType { get; init; }
Property Value
- string
Created
The Created time of the file.
DateTimeOffset Created { get; init; }
Property Value
- DateTimeOffset
Creator
The Creator of the file.
string? Creator { get; init; }
Property Value
- string
Id
The id of this history record, assigned by the server - what GetWebFileHistoryRecordAsync takes.
long? Id { get; init; }
Property Value
- long?
Modifier
The user who saved this version.
string? Modifier { get; init; }
Property Value
- string
Path
The Path of the file at the time of that save.
string? Path { get; init; }
Property Value
- string
WebFileId
The id of the WebFile this is a version of.
string? WebFileId { get; init; }
Property Value
- string