Skip to main content
reference

Store

File

Holds information about the file.

public class File{
String authorPubKey,
ServerFileInfo info,
byte[] privateMeta,
byte[] publicMeta,
Long size,
Long statusCode
}

Fields

NameTypeDescription
authorPubKeyStringPublic key of the author of the file.
infoServerFileInfoFile's information created by server.
privateMetabyte[]File's private metadata.
publicMetabyte[]File's public metadata.
sizeLongFile's size.
statusCodeLongStatus code of retrieval and decryption of the file.

ServerFileInfo

Holds file's information created by server.

public class ServerFileInfo{
String author,
Long createDate,
String fileId,
String storeId
}

Fields

NameTypeDescription
authorStringID of the user who created the file.
createDateLongFile's creation timestamp.
fileIdStringID of the file.
storeIdStringID of the Store.

Store

Holds all available information about a Store.

public class Store{
String contextId,
Long createDate,
String creator,
Long filesCount,
Long lastFileDate,
Long lastModificationDate,
String lastModifier,
List<String> managers,
byte[] privateMeta,
byte[] publicMeta,
Long statusCode,
String storeId,
List<String> users,
Long version
}

Fields

NameTypeDescription
contextIdStringID of the Context.
createDateLongStore creation timestamp.
creatorStringID of the user who created the Store.
filesCountLongTotal number of files in the Store.
lastFileDateLongTimestamp of the last created file.
lastModificationDateLongStore last modification timestamp.
lastModifierStringID of the user who last modified the Store.
managersList<String>List of users (their IDs) with management rights.
privateMetabyte[]Store's private metadata.
publicMetabyte[]Store's public metadata.
statusCodeLongStatus code of retrieval and decryption of the `Store`.
storeIdStringID of the Store.
usersList<String>List of users (their IDs) with access to the Store.
versionLongVersion number (changes on updates).