Skip to main content
Version: Next

Server Module

Message types for the Server API

Defaults

class Defaults(BaseModel)

Default server settings

bucket

settings for a new bucket

LicenseInfo

class LicenseInfo(BaseModel)

License information

licensee

Licensee usually is the company name

invoice

Invoice number

expiry_date

Expiry date of the license in ISO 8601 format (UTC)

plan

Plan name

device_number

Number of devices (0 for unlimited)

disk_quota

Disk quota in TB (0 for unlimited)

fingerprint

License fingerprint

ServerInfo

class ServerInfo(BaseModel)

Server stats

version

version of the storage in x.y.z format

bucket_count

number of buckets in the storage

usage

stored data in bytes

uptime

storage uptime in seconds

oldest_record

UNIX timestamp of the oldest record in microseconds

latest_record

UNIX timestamp of the latest record in microseconds

license

license information

defaults

Default server settings

BucketList

class BucketList(BaseModel)

List of buckets

buckets

list of buckets