IRPCVault.GetMetadataStructureItemIdsByAliases_Compressed

View as Markdown

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

Gets alias-to-ID mappings of several kinds of metadata structure item as JSON, with the option to exclude kinds.

ServiceVault information MFiles.IRPCVault
gRPC method/MFiles.IRPCVault/GetMetadataStructureItemIdsByAliases_Compressed
HTTP (mf-http-grpc)POST /grpc/v1/get-metadata-structure-item-ids-by-aliases_-compressed
RequestGetMetadataStructureItemIdsByAliases_CompressedRequest
ResponseGetMetadataStructureItemIdsByAliases_CompressedResponse
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

Works like GetMetadataStructureItemIdsByAliases, with the same JSON format and compression, but takes lists of kinds. unambiguous_aliases_only must be true. Excluding METADATA_STRUCTURE_ITEM_ALL fails with E_INVALIDARG.

Request: GetMetadataStructureItemIdsByAliases_CompressedRequest

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

FieldTypeDescription
msi_array_included[]repeated MetadataStructureItemThe kinds of item to return. A single METADATA_STRUCTURE_ITEM_ALL means every kind that can have aliases.
msi_array_excludedMetadataStructureItemArrayOptional. Kinds to leave out, typically together with METADATA_STRUCTURE_ITEM_ALL in msi_array_included.
msi_array_excluded.value[]repeated MetadataStructureItemAn array of the MetadataStructureItem values.
unambiguous_aliases_onlyboolMust be true; false fails with E_NOTIMPL.

Response: GetMetadataStructureItemIdsByAliases_CompressedResponse

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

FieldTypeDescription
databytesNUL-terminated UTF-8 JSON, zlib-compressed unless uncompressed_length is 4294967295.
uncompressed_lengthuint32Size of the decompressed data, or 4294967295 if data is not compressed.