PrivMX DOCS
API Reference/Endpoint/Store

Types

File

struct privmx::endpoint::store::File{...}

Fields

info

ServerFileInfo

file's information created by server

publicMeta

core::Buffer

file's public metadata

privateMeta

core::Buffer

file's private metadata

size

int64_t

file's size

authorPubKey

std::string

public key of the author of the file

statusCode

int64_t

status code of retrieval and decryption of the file

schemaVersion

int64_t

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

randomWrite

bool

randomWrite is enabled

FileChange

struct privmx::endpoint::store::FileChange{...}

Fields

pos

int64_t

position of the first changed chunk

length

int64_t

length aligned to full chunks

truncate

bool

remove all data

ServerFileInfo

struct privmx::endpoint::store::ServerFileInfo{...}

Fields

storeId

std::string

ID of the Store

fileId

std::string

ID of the file

createDate

int64_t

file's creation timestamp

author

std::string

ID of the user who created the file

Store

struct privmx::endpoint::store::Store{...}

Fields

storeId

std::string

ID ot the Store

contextId

std::string

ID of the Context

createDate

int64_t

Store creation timestamp

creator

std::string

ID of user who created the Store

lastModificationDate

int64_t

Store last modification timestamp

lastFileDate

int64_t

timestamp of last created file

lastModifier

std::string

ID of the user who last modified the Store

users

std::vector< std::string >

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

managers

std::vector< std::string >

list of users (their IDs) with management rights

version

int64_t

version number (changes on updates)

publicMeta

core::Buffer

Store's public metadata

privateMeta

core::Buffer

Store's private metadata

policy

core::ContainerPolicy

Store's policies

filesCount

int64_t

total number of files in the Store

statusCode

int64_t

status code of retrieval and decryption of the Store

schemaVersion

int64_t

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

StoreDeletedEventData

struct privmx::endpoint::store::StoreDeletedEventData{...}

Fields

storeId

std::string

Store ID

StoreFileDeletedEventData

struct privmx::endpoint::store::StoreFileDeletedEventData{...}

Fields

contextId

std::string

Context ID

storeId

std::string

Store ID

fileId

std::string

file ID

StoreFileUpdatedEventData

struct privmx::endpoint::store::StoreFileUpdatedEventData{...}

Fields

file

File

File meta

changes

std::vector< FileChange >

List of file changes

StoreStatsChangedEventData

struct privmx::endpoint::store::StoreStatsChangedEventData{...}

Fields

contextId

std::string

Context ID

storeId

std::string

Store ID

lastFileDate

int64_t

last uploaded file date timestamp

filesCount

int64_t

total number of files

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.