IRPCObjectOperations.FindFilesByChecksum
Vault API / core write session or assertion returns metadata structure version
Finds file versions in the vault by MD5 checksum.
| Service | Objects, versions, properties and files MFiles.IRPCObjectOperations |
|---|---|
| gRPC method | /MFiles.IRPCObjectOperations/FindFilesByChecksum |
| HTTP (mf-http-grpc) | POST /grpc/v1/find-files-by-checksum |
| Request | FindFilesByChecksumRequest |
| Response | FindFilesByChecksumResponse |
| Book and level | Vault API, core |
| Kind | write |
| Session | Required: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata). |
| Idempotent | no |
| Returns metadata structure version | yes (in the mfiles-metadata-version-bin trailer) |
| Streaming | none (unary) |
Request: FindFilesByChecksumRequest
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
low_digest | int64 | Specifies the low-order part of the MD5 checksum. |
high_digest | int64 | Specifies the high-order part of the MD5 checksum. |
exclude_files_from_deleted_objects | bool | True if the results should exclude duplicates which belong to deleted objects. |
Response: FindFilesByChecksumResponse
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
obj_ids[] | repeated ObjID | Results. |
obj_ids[].type | int32 | The 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). |
obj_ids[].item_id | ItemID | The ID of the object within its type, in item_id.internal_id. |
obj_ids[].item_id.internal_id | int32 | The ID of the object or value list item. |
obj_ids[].item_id.external_repository_id | ExternalRepositoryID | Used only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault. |