IRPCDeclarativeMetadataStructureAsProtobuf.SetDeclarativeMetadataStructureAsProtobuf

View as Markdown

Administration API / specialized internal: not for applications admin session returns metadata structure version

Replaces the vault's metadata structure with the given structure.

ServiceDeclarative metadata structure (protobuf) MFiles.IRPCDeclarativeMetadataStructureAsProtobuf
gRPC method/MFiles.IRPCDeclarativeMetadataStructureAsProtobuf/SetDeclarativeMetadataStructureAsProtobuf
HTTP (mf-http-grpc)POST /grpc/v1/set-declarative-metadata-structure-as-protobuf
RequestSetDeclarativeMetadataStructureAsProtobufRequest
ResponseSetDeclarativeMetadataStructureAsProtobufResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: SetDeclarativeMetadataStructureAsProtobufRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
sessionuint32Not used by the server. Leave 0.
mdsDeclarativeMetadataStructureThe complete new metadata structure.
mds.revisionint32Base revision. This is meaningful only if Revision is negative, indicating that the metadata structure is based on a local MFServer revision. In that case, this property indicates the actual revision that the local revision is based on. It may also be zero, which means that there has not been any actual revision deployed to MFServer, and the local revision is based on the initial state of MFServer before any revisions have been deployed.
mds.revision_baseint32Actual revision-based metadata structure.
mds.object_types[]repeated ObjectTypeDeclAn array of the ObjectTypeDecl structures.
mds.object_types[].ot_adminValueListAdminObject type admin data.
mds.object_types[].iconMetadataStructureResourceRefThe icon resource reference.
mds.object_types[].secrets[]repeated MetadataStructureSecretRefPer-language translations.
mds.object_types[].translations[]repeated ElementTranslationsDeclPer-language translations.
mds.object_types[].unknown_jsonstringOpaque JSON object of schema-recognized, converter-unmapped properties for this element, keyed by original property name.
mds.value_lists[]repeated ObjectTypeDeclAn array of the ObjectTypeDecl structures.
mds.value_lists[].ot_adminValueListAdminObject type admin data.
mds.value_lists[].iconMetadataStructureResourceRefThe icon resource reference.
mds.value_lists[].secrets[]repeated MetadataStructureSecretRefPer-language translations.
mds.value_lists[].translations[]repeated ElementTranslationsDeclPer-language translations.
mds.value_lists[].unknown_jsonstringOpaque JSON object of schema-recognized, converter-unmapped properties for this element, keyed by original property name.
mds.classes[]repeated ObjectClassDeclAn array of the ObjectClassDecl structures.
mds.classes[].base_infoValueListItemDeclValue list item representing this element.
mds.classes[].aliasesstringSemicolon-separated list of semantic aliases.
mds.classes[].object_typeint32The object type with which this class is used.
mds.classes[].is_predefinedboolTrue if this is a predefined class (cannot be deleted, editing is restricted).
mds.classes[].associated_property_defs[]repeated AssociatedPropertyDefPropertyDefs associated with this class.
mds.classes[].name_property_defint32The ID of the property definition that represents the name of the document or other object. Typically PROPERTYDEF_TITLE (0).
mds.classes[].default_workflowint32The default workflow of the document class, or zero if there is no default workflow.
mds.classes[].force_workflowboolTrue if the use of the specified workflow is forced.
mds.classes[].aclAccessControlListSpecifies the ACL that defines the visibility and other permission settings of this class. Also specifies who can attach objects to this class.
mds.classes[].signature_settings_for_new_objectsElectronicSignatureSettingsThe electronic signature settings for creating an electronic signature for new objects. Reserved for future improvements.
mds.classes[].assignment_class_infoAssignmentClassInfoAssignment class info.
mds.classes[].unknown_jsonstringOpaque JSON object of schema-recognized, converter-unmapped properties for this element, keyed by original property name.
mds.class_groups[]repeated ObjectClassGroupDeclAn array of the ObjectClassGroupDecl structures.
mds.class_groups[].base_infoValueListItemDeclValue list item representing this element.
mds.class_groups[].object_class_groupClassGroupOther information on the class group.
mds.class_groups[].aliasesstringSemicolon-separated list of semantic aliases.
mds.class_groups[].aclAccessControlListSpecifies the ACL that defines the visibility and other permission settings of this class. Also specifies who can attach objects to this class.
mds.class_groups[].unknown_jsonstringOpaque JSON object of schema-recognized, converter-unmapped properties for this element, keyed by original property name.
mds.property_defs[]repeated PropertyDefDeclAn array of the PropertyDefDecl structures.
mds.property_defs[].pd_adminPropertyDefAdminProperty definition admin data.
mds.property_defs[].iconMetadataStructureResourceRefPer-language translations.
mds.property_defs[].translations[]repeated ElementTranslationsDeclPer-language translations.
mds.property_defs[].automatic_numbering_codeMetadataStructureResourceRefThe automatic numbering VBScript resource reference.
mds.property_defs[].calc_with_vbscriptMetadataStructureResourceRefThe calculated-value VBScript resource reference.
mds.property_defs[].validation_codeMetadataStructureResourceRefThe validation VBScript resource reference.
mds.property_defs[].unknown_jsonstringOpaque JSON object of schema-recognized, converter-unmapped properties for this element, keyed by original property name.
mds.workflows[]repeated WorkflowDeclAn array of the WorkflowDecl structures.
mds.workflows[].base_infoValueListItemDeclValue list item representing this element.
mds.workflows[].workflowWorkflowAdminOther information on the workflow.
mds.workflows[].states[]repeated StateDeclThe states of this workflow.
mds.workflows[].transitions[]repeated StateTransitionDeclThe state transitions of this workflow.
mds.workflows[].unknown_jsonstringOpaque JSON object of schema-recognized, converter-unmapped properties for this element, keyed by original property name.
mds.named_acls[]repeated NamedAclDeclUsers and UserGroups as references.
mds.named_acls[].nacl_adminNamedACLAdminPer-language translations.
mds.named_acls[].translations[]repeated ElementTranslationsDeclPer-language translations.
mds.named_acls[].unknown_jsonstringOpaque JSON object of schema-recognized, converter-unmapped properties for this element, keyed by original property name.
mds.user_accounts[]repeated UserAccountDeclAn array of the UserAccount structures.
mds.user_accounts[].base_infoValueListItemDeclValue list item representing this element.
mds.user_accounts[].aliasesstringSemicolon-separated list of semantic aliases.
mds.user_accounts[].aclAccessControlListPermissions.
mds.user_accounts[].login_namestringThe login name that is associated with this user account (e.g. 'DOMAIN\user').
mds.user_groups[]repeated UserGroupDeclValue list items as references.
mds.user_groups[].base_infoValueListItemDeclValue list item representing this element.
mds.user_groups[].aliasesstringSemicolon-separated list of semantic aliases.
mds.user_groups[].aclAccessControlListPermissions.
mds.user_groups[].external_namestringThe name for external group. Empty if the group is not external.
mds.value_list_items[]repeated ValueListItemDeclNamed references for all the above elements.
mds.value_list_items[].vlitemValueListItemValue list item.
mds.value_list_items[].iconMetadataStructureResourceRefThe icon of the item.
mds.value_list_items[].translations[]repeated ElementTranslationsDeclPer-language translations.
mds.named_references[]repeated MetadataStructureNamedReferenceVault languages. The entry with pwszLanguageCode="" is the default language.
mds.named_references[].reference_typeMetadataStructureItemThe structure element type.
mds.named_references[].namestringThe name part of the named reference.
mds.named_references[].element_idint32The internal ID of the structure element.
mds.named_references[].type_idint32The internal ID of the structure element type. Relevant for MetadataStructureItem::valueListItem only, otherwise ignored.
mds.languages[]repeated LanguageAn array of the Language structures defining the vault languages.
mds.languages[].idint32Language ID.
mds.languages[].namestringThe name of the language.
mds.languages[].language_codestringLanguage indentifier, e.g. the ISO 639-1 or ISO 639-2 language code such as "en" or "eng".
mds.unknown_jsonstringOpaque JSON object of schema-recognized, converter-unmapped top-level properties, keyed by original property name.
anomalies[]repeated MetadataStructureAnomalyNot read by the server.
anomalies[].contextMetadataStructureContextThe anomaly context.
anomalies[].context.context_typeMetadataStructureItemThe structure element type of the context.
anomalies[].context.guidstringThe GUID of the source.
anomalies[].context.idint32The internal ID of the source.
anomalies[].context.type_idint32The internal type ID of the source. Relevant for value list items only, otherwise ignored.
anomalies[].context.namestringThe name of the source.
anomalies[].descriptionstringThe anomaly description.
anomalies[].callstackstringThe call stack of this anomaly occurrence.

Response: SetDeclarativeMetadataStructureAsProtobufResponse

No fields.