Document#
Document#
Represents a document. Basically, a document is everything that is not a collection within the document root collection.
message Document {
string id = 1;
string dataroom_id = 2;
string parent_id = 3;
string name = 4;
string type = 5;
string author = 6;
string title = 7;
optional string path = 8;
string version = 9;
uint32 document_size = 10;
google.protobuf.Timestamp creation_date = 11;
google.protobuf.Timestamp modification_date = 12;
string md5_checksum = 13;
bool pdf_variant_exists = 14;
EffectivePermission effective_permission = 15;
string mime_type = 16;
bool pdf_variant_creatable = 17;
string thumbnail_id = 18;
string description = 19;
string document_class = 20;
optional Statistics document_statistics = 21;
repeated ItemPermissionsEntry permissions = 22;
optional string restore_path = 23;
optional Parents parents = 24;
optional string parent_title = 25;
optional string sequence = 26;
optional string index = 27;
optional bool no_index = 28;
optional bool is_expired = 29;
optional bool is_read = 30;
optional google.protobuf.Timestamp read_date = 57;
optional bool has_comments = 58;
ItemType item_type = 31;
optional ItemSubType item_subtype = 32;
optional bool is_approved = 33;
optional Labels labels = 34;
optional bool has_different_parent_rights = 35;
optional DocumentStatus status = 36;
optional string status_set_by = 37;
optional uint32 comments_count = 39;
optional string version_owner = 40;
optional Parent parent = 41;
optional bool can_approve = 42;
optional google.protobuf.Timestamp approved_on = 43;
optional string approved_by = 44;
optional uint32 number_of_shared_annotations = 45;
optional bool has_redaction_annotations = 46;
optional string sort_type = 50;
optional bool is_symlink = 51;
optional bool is_shared = 52;
optional string document_state = 53;
optional string document_state_set_by = 54;
map<uint32, uint32> sum_children = 55;
map<uint32, uint32> sum_decendents = 56;
optional bool is_redacted = 67;
}
Field |
Type |
Description |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
optional |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
optional |
|
array of |
|
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
|
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
|
|
|
|
|
|
optional |
Parent#
Defines one parent
message Parent {
string id = 1;
string name = 2;
string title = 3;
ItemType item_type = 4;
optional string index = 5;
optional bool is_symlink = 6;
}
Field |
Type |
Description |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Optional |
|
|
Optional |
Parents#
Defines array of parents
- message Parents {
repeated Parent items = 1;
}
Field |
Type |
Description |
|---|---|---|
|
array of |
Statistics#
Statistics for a document like access count or last access
message Statistics {
optional uint32 access_count = 1;
optional google.protobuf.Timestamp last_access = 2;
}
Field |
Type |
Description |
|---|---|---|
|
|
Optional |
|
|
Optional |
SettingsEntryAsDocumentStatus#
Property for document status
message SettingsEntryAsDocumentStatus {
DocumentStatus value = 1;
bool editable = 2;
optional string tooltip_type = 4;
}
Field |
Type |
Description |
|---|---|---|
|
|
|
|
|
|
|
|
Optional |
SettingsEntryAsStatistics#
Property for document statistics
message SettingsEntryAsStatistics {
Statistics value = 1;
bool editable = 2;
optional string tooltip_type = 4;
}
Field |
Type |
Description |
|---|---|---|
|
|
|
|
|
|
|
|
Optional |
SettingsEntryAsDocumentState#
Property for setting document state
message SettingsEntryAsDocumentState {
string value = 1;
bool editable = 2;
optional string tooltip_type = 4;
repeated string allowed_list = 5;
}
Field |
Type |
Description |
|---|---|---|
|
|
|
|
|
|
|
|
Optional |
|
array of |
DocumentProperties#
Properties of a single document
message DocumentProperties {
string id = 1;
optional SettingsEntryAsString name = 4;
optional SettingsEntryAsString author = 6;
optional SettingsEntryAsString title = 7;
optional SettingsEntryAsString sequence = 8;
optional SettingsEntryAsString index = 9;
optional SettingsEntryAsBool no_index = 20;
optional SettingsEntryAsString path = 10;
optional SettingsEntryAsString version = 11;
optional SettingsEntryAsString version_owner = 12;
optional SettingsEntryAsNumber document_size = 13;
optional SettingsEntryAsDate creation_date = 14;
optional SettingsEntryAsDate modification_date = 15;
optional SettingsEntryAsString description = 19;
optional SettingsEntryAsStatistics document_statistics = 21;
optional SettingsEntryAsString tags = 22;
optional SettingsEntryAsString url = 23;
optional SettingsEntryAsBool is_read = 24;
optional SettingsEntryAsDocumentStatus status = 25;
optional SettingsEntryAsString status_set_by = 26;
optional SettingsEntryAsString approval_group = 27;
optional SettingsEntryAsDate approved_on = 28;
optional SettingsEntryAsString approved_by = 29;
optional SettingsEntryAsBool is_approved = 30;
optional SettingsEntryAsDate expiration_date = 31;
optional SettingsEntryAsDate deleted_on = 38;
optional SettingsEntryAsBool has_different_parent_rights = 35;
ItemType item_type = 32;
optional ItemSubType item_subtype = 33;
optional Parent parent = 34;
optional SettingsEntryAsDocumentState document_state = 40;
optional SettingsEntryAsBool is_redacted = 41;
}
Field |
Type |
Description |
|---|---|---|
|
|
|
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |
|
|
|
|
|
optional |
|
|
optional |
|
|
optional |
|
|
optional |