PrivMX DOCS
API Reference/Endpoint/Kvdb

Types

Kvdb

struct privmx::endpoint::kvdb::Kvdb{...}

Fields

contextId

std::string

ID of the Context

kvdbId

std::string

ID of the Kvdb

createDate

int64_t

Kvdb creation timestamp

creator

std::string

ID of user who created the Kvdb

lastModificationDate

int64_t

Kvdb last modification timestamp

lastModifier

std::string

ID of the user who last modified the Kvdb

users

std::vector< std::string >

list of users (their IDs) with access to the Kvdb

managers

std::vector< std::string >

list of users (their IDs) with management rights

version

int64_t

version number (changes on updates)

publicMeta

core::Buffer

Kvdb's public metadata

privateMeta

core::Buffer

Kvdb's private metadata

entries

int64_t

total number of entries in the Kvdb

lastEntryDate

int64_t

Timestamp of the last added entry

policy

core::ContainerPolicy

Kvdb's policies

statusCode

int64_t

Retrieval and decryption status code

schemaVersion

int64_t

Version of the Kvdb data structure and how it is encoded/encrypted

KvdbEntry

struct privmx::endpoint::kvdb::KvdbEntry{...}

Fields

info

ServerKvdbEntryInfo

Entry information created by server

publicMeta

core::Buffer

Entry public metadata

privateMeta

core::Buffer

Entry private metadata

data

core::Buffer

Entry data

authorPubKey

std::string

public key of an author of the entry

version

int64_t

version number (changes on every on existing item)

statusCode

int64_t

Retrieval and decryption status code

schemaVersion

int64_t

Version of the Entry data structure and how it is encoded/encrypted

ServerKvdbEntryInfo

struct privmx::endpoint::kvdb::ServerKvdbEntryInfo{...}

Fields

kvdbId

std::string

ID of the Kvdb

key

std::string

Kvdb entry's key

createDate

int64_t

Entry's creation timestamp

author

std::string

ID of the user who created the entry

We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.