IRPCVault.GetAllMetadataStructureItemIdswithAliases

View as Markdown

Vault API / core read session or assertion idempotent returns metadata structure version

Gets all unambiguous alias-to-ID mappings of one kind of metadata structure item, or of all kinds, as typed lists.

ServiceVault information MFiles.IRPCVault
gRPC method/MFiles.IRPCVault/GetAllMetadataStructureItemIdswithAliases
HTTP (mf-http-grpc)POST /grpc/v1/get-all-metadata-structure-item-idswith-aliases
RequestGetAllMetadataStructureItemIdswithAliasesRequest
ResponseGetAllMetadataStructureItemIdswithAliasesResponse
Book and levelVault API, core
Kindread
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentyes
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

The typed form of GetMetadataStructureItemIdsByAliases: one list per kind in metadata_structure_aliases, each entry an alias and its ID. Lists of kinds without aliases are empty. unambiguous_aliases_only must be true; false fails with E_NOTIMPL. Fetch once and cache with the metadata structure version.

Request: GetAllMetadataStructureItemIdswithAliasesRequest

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

FieldTypeDescription
emsiMetadataStructureItemThe kind of item, or METADATA_STRUCTURE_ITEM_ALL for every kind that can have aliases.
unambiguous_aliases_onlyboolMust be true. Aliases used by more than one item of the same kind are left out.

Response: GetAllMetadataStructureItemIdswithAliasesResponse

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

FieldTypeDescription
metadata_structure_aliasesMetadataStructureAliasesReceives the output object.
metadata_structure_aliases.class_metadatas[]repeated StructureAliasStructureAlias array related to the class.
metadata_structure_aliases.class_metadatas[].alias_namestringThe metadata structure item alias name.
metadata_structure_aliases.class_metadatas[].idint32The metadata structure item ID.
metadata_structure_aliases.class_metadatas[].allocated_as_newboolTrue if the ID was allocated as new.
metadata_structure_aliases.object_types[]repeated StructureAliasStructureAlias array related to the objecttype.
metadata_structure_aliases.object_types[].alias_namestringThe metadata structure item alias name.
metadata_structure_aliases.object_types[].idint32The metadata structure item ID.
metadata_structure_aliases.object_types[].allocated_as_newboolTrue if the ID was allocated as new.
metadata_structure_aliases.property_defs[]repeated StructureAliasStructureAlias array related to the propertydef.
metadata_structure_aliases.property_defs[].alias_namestringThe metadata structure item alias name.
metadata_structure_aliases.property_defs[].idint32The metadata structure item ID.
metadata_structure_aliases.property_defs[].allocated_as_newboolTrue if the ID was allocated as new.
metadata_structure_aliases.workflows[]repeated StructureAliasStructureAlias array related to the workflow.
metadata_structure_aliases.workflows[].alias_namestringThe metadata structure item alias name.
metadata_structure_aliases.workflows[].idint32The metadata structure item ID.
metadata_structure_aliases.workflows[].allocated_as_newboolTrue if the ID was allocated as new.
metadata_structure_aliases.states[]repeated StructureAliasStructureAlias array related to the state.
metadata_structure_aliases.states[].alias_namestringThe metadata structure item alias name.
metadata_structure_aliases.states[].idint32The metadata structure item ID.
metadata_structure_aliases.states[].allocated_as_newboolTrue if the ID was allocated as new.
metadata_structure_aliases.state_transitions[]repeated StructureAliasStructureAlias array related to the StateTransition.
metadata_structure_aliases.state_transitions[].alias_namestringThe metadata structure item alias name.
metadata_structure_aliases.state_transitions[].idint32The metadata structure item ID.
metadata_structure_aliases.state_transitions[].allocated_as_newboolTrue if the ID was allocated as new.
metadata_structure_aliases.named_acls[]repeated StructureAliasStructureAlias array related to the NamedACL.
metadata_structure_aliases.named_acls[].alias_namestringThe metadata structure item alias name.
metadata_structure_aliases.named_acls[].idint32The metadata structure item ID.
metadata_structure_aliases.named_acls[].allocated_as_newboolTrue if the ID was allocated as new.
metadata_structure_aliases.user_groups[]repeated StructureAliasStructureAlias array related to the usergroup.
metadata_structure_aliases.user_groups[].alias_namestringThe metadata structure item alias name.
metadata_structure_aliases.user_groups[].idint32The metadata structure item ID.
metadata_structure_aliases.user_groups[].allocated_as_newboolTrue if the ID was allocated as new.
metadata_structure_aliases.value_lists[]repeated StructureAliasStructureAlias array related to the ValueList.
metadata_structure_aliases.value_lists[].alias_namestringThe metadata structure item alias name.
metadata_structure_aliases.value_lists[].idint32The metadata structure item ID.
metadata_structure_aliases.value_lists[].allocated_as_newboolTrue if the ID was allocated as new.