Types
File
namespace: privmx::endpoint::store
struct privmx::endpoint::store::File{...}
Fields
Name | Type | Description |
---|---|---|
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
namespace: privmx::endpoint::store
struct privmx::endpoint::store::ServerFileInfo{...}
Fields
Name | Type | Description |
---|---|---|
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
namespace: privmx::endpoint::store
struct privmx::endpoint::store::Store{...}
Fields
Name | Type | Description |
---|---|---|
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 |
filesCount | int64_t | total number of files in the Store |
statusCode | int64_t | status code of retrieval and decryption of the Store |
StoreDeletedEventData
namespace: privmx::endpoint::store
struct privmx::endpoint::store::StoreDeletedEventData{...}
Fields
Name | Type | Description |
---|---|---|
storeId | std::string | Store ID |
StoreFileDeletedEventData
namespace: privmx::endpoint::store
struct privmx::endpoint::store::StoreFileDeletedEventData{...}
Fields
StoreStatsChangedEventData
namespace: privmx::endpoint::store
struct privmx::endpoint::store::StoreStatsChangedEventData{...}