Table of Contents

Class SaveServerFileRequest

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

Request body for saving (creating or overwriting) a server file.

public sealed record SaveServerFileRequest : ISaveServerFileRequest
Inheritance
object
SaveServerFileRequest
Implements

Properties

Area

The area (top-level folder under the content root) to store it in. Defaults to FLATFILES.

[JsonPropertyName("area")]
public string Area { get; init; }

Property Value

string

Content

The file's content, base64-encoded.

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

Property Value

string

FileName

The file name to store it under. Characters not allowed in a file name are replaced with _, and an existing file of that name is overwritten.

[JsonPropertyName("fileName")]
public string? FileName { get; init; }

Property Value

string

Parent

The folder inside the area; created when it does not exist. Empty for the area's root.

[JsonPropertyName("parent")]
public string? Parent { get; init; }

Property Value

string