Table of Contents

Class WebFileHistory

Namespace
BiExcellence.OpenBi.Api.WebFiles
Assembly
BiExcellence.OpenBi.Api.Client.dll

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 sealed record WebFileHistory : IWebFileHistory
Inheritance
object
WebFileHistory
Implements

Properties

Changed

When this version was saved. The history lists newest first by this value.

[JsonPropertyName("changed")]
public DateTimeOffset Changed { get; init; }

Property Value

DateTimeOffset

ContainerId

The ContainerId of the file at the time of that save.

[JsonPropertyName("containerId")]
public 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.

[JsonPropertyName("content")]
public byte[]? Content { get; init; }

Property Value

byte[]

ContentType

The ContentType of the file at the time of that save.

[JsonPropertyName("contentType")]
public string? ContentType { get; init; }

Property Value

string

Created

The Created time of the file.

[JsonPropertyName("created")]
public DateTimeOffset Created { get; init; }

Property Value

DateTimeOffset

Creator

The Creator of the file.

[JsonPropertyName("creator")]
public string? Creator { get; init; }

Property Value

string

Id

The id of this history record, assigned by the server - what GetWebFileHistoryRecordAsync takes.

[JsonPropertyName("id")]
public long? Id { get; init; }

Property Value

long?

Modifier

The user who saved this version.

[JsonPropertyName("modifier")]
public string? Modifier { get; init; }

Property Value

string

Path

The Path of the file at the time of that save.

[JsonPropertyName("path")]
public string? Path { get; init; }

Property Value

string

WebFileId

The id of the WebFile this is a version of.

[JsonPropertyName("webFileId")]
public string? WebFileId { get; init; }

Property Value

string