PrivMX DOCS
API Reference/PrivMX 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

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 public metadata

privateMeta

core::Buffer

Store private metadata

policy

core::ContainerPolicy

Store policies

filesCount

int64_t

total number of files in the Store

statusCode

int64_t

status code of retrieval and decryption of the Store

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

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.