IRPCDataExport.SearchExportedObjects

View as Markdown

Vault API / standard read session idempotent

Searches objects in batches ordered by object ID, for paging through all objects that match.

ServiceData export MFiles.IRPCDataExport
gRPC method/MFiles.IRPCDataExport/SearchExportedObjects
HTTP (mf-http-grpc)POST /grpc/v1/search-exported-objects
RequestSearchExportedObjectsRequest
ResponseSearchExportedObjectsResponse
Book and levelVault API, standard
Kindread
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: SearchExportedObjectsRequest

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

FieldTypeDescription
condition_array[]repeated SearchConditionSearch conditions, combined with AND. See SearchCondition and Search.
condition_array[].expressionExpressionThe left side of the condition: what is evaluated for each object, such as a property value, a status value or any field (full-text search).
condition_array[].expression.typeExpressionTypeThe kind of expression. Must match the member set in data.Values: EXPRESSION_TYPE_UNINITIALIZED (0), EXPRESSION_TYPE_PROPERTY_VALUE (1), EXPRESSION_TYPE_ID_SEGMENT (2), EXPRESSION_TYPE_STATUS_VALUE (3), EXPRESSION_TYPE_FILE_VALUE (4), EXPRESSION_TYPE_TYPED_VALUE (5), EXPRESSION_TYPE_ANY_FIELD (6), EXPRESSION_TYPE_PERMISSIONS (7).
condition_array[].expression.dataExpressionUnionThe expression data. Set the member that matches type.
condition_array[].expression.indirection_levels[]repeated IndirectionLevelThe lookups to follow before evaluating the expression, from the searched object outwards. Empty evaluates the expression on the object itself.
condition_array[].typeConditionTypeThe comparison operator.
condition_array[].valueTypedValueThe right side of the condition: the value to compare with. Its data type must suit the expression, for example a lookup for a lookup property, Boolean for STATUS_TYPE_IS_DELETED.
condition_array[].value.is_null_valueboolTrue if the value is empty. data is then unset.
condition_array[].value.typeDatatypeThe data type of the value.
condition_array[].value.dataTypedValueUnionThe value, in the member that matches type. Unset for an empty value.
last_received_obj_iduint32The ID of the last object received in the previous batch; 0 for the first batch.
batch_sizeuint32The maximum number of objects to return; 0 returns all matching objects.

Response: SearchExportedObjectsResponse

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

FieldTypeDescription
pexportedobjects[]repeated ObjVerThe matching objects as ObjVers with a specific version (the latest checked-in version), in ascending object ID order.
pexportedobjects[].obj_idObjIDThe object.
pexportedobjects[].obj_id.typeint32The object type ID, for example 0 for documents. In a lookup value, the value list ID (for a lookup to objects, the object type ID).
pexportedobjects[].obj_id.item_idItemIDThe ID of the object within its type, in item_id.internal_id.
pexportedobjects[].versionObjVerVersionThe version. Usually OBJ_VER_VERSION_TYPE_SPECIFIC with internal_version.
pexportedobjects[].version.typeObjVerVersionTypeWhat internal_version means. OBJ_VER_VERSION_TYPE_SPECIFIC for a version number.Values: OBJ_VER_VERSION_TYPE_UNINITIALIZED (0), OBJ_VER_VERSION_TYPE_LATEST (1), OBJ_VER_VERSION_TYPE_ANY (2), OBJ_VER_VERSION_TYPE_ALL (3), OBJ_VER_VERSION_TYPE_SPECIFIC (4), OBJ_VER_VERSION_TYPE_VALUE_LIST_ITEM (6), OBJ_VER_VERSION_TYPE_OBJECT_LEVEL_REFERENCE (7).
pexportedobjects[].version.internal_versionint32The version number, starting from 1, when type is OBJ_VER_VERSION_TYPE_SPECIFIC. The server returns -1 with OBJ_VER_VERSION_TYPE_LATEST.
pexportedobjects[].version.external_repository_versionstringUsed only for objects in external repositories. Leave empty.
pexportedobjects[].version.external_repository_sort_keyint64Used only for objects in external repositories. Leave 0.