Skip to main content

SettingsClient

A class in Alta.Api.Client, Alta.Api.Client.HighLevel.

High-level API client for named settings documents stored on the Alta API. Reached through the high-level API client.

Constructors​

1 private and internal constructor
MemberWhat it is
internal SettingsClient(IHighLevelApiClientManager clientManager)Creates a SettingsClient from clientManager.

Methods​

MemberWhat it is
async Task<string> GetSettings(string name)Fetches the named settings and returns their content, or an empty string if none exist.
Task SetSettings(string name, string content)Stores the content under the given settings name.