IRPCIndexingDataSource.GetObjectTypesWithPropertyDefs

View as Markdown

Server integration API / specialized internal: not for applications write session

Gets object types with associated property defs.

ServiceIndexing data source MFiles.IRPCIndexingDataSource
gRPC method/MFiles.IRPCIndexingDataSource/GetObjectTypesWithPropertyDefs
HTTP (mf-http-grpc)POST /grpc/v1/get-object-types-with-property-defs
RequestGetObjectTypesWithPropertyDefsRequest
ResponseGetObjectTypesWithPropertyDefsResponse
Book and levelServer integration API, specialized
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

For M-Files components only. Search indexers call it to learn which properties to index per object type. Applications should use GetObjectTypes and GetPropertyDefs.

Request: GetObjectTypesWithPropertyDefsRequest

No fields.

Response: GetObjectTypesWithPropertyDefsResponse

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

FieldTypeDescription
items[]repeated ObjectTypeWithPropertyDefsItems.
items[].object_typeint32Object type ID.
items[].property_defs[]repeated int32The IDs of those propertydefs that are based on the object type.