IRPCObjectOperations.RemoveFromRecentlyAccessed

View as Markdown

Vault API / core write session or assertion returns metadata structure version

Removes the specified objects from being shown in 'Recently Accessed by Me'.

ServiceObjects, versions, properties and files MFiles.IRPCObjectOperations
gRPC method/MFiles.IRPCObjectOperations/RemoveFromRecentlyAccessed
HTTP (mf-http-grpc)POST /grpc/v1/remove-from-recently-accessed
RequestRemoveFromRecentlyAccessedRequest
ResponseRemoveFromRecentlyAccessedResponse
Book and levelVault API, core
Kindwrite
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentno
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

object_count must equal the number of remove_objects; otherwise the call fails with "The parameter is incorrect. (ObjectCount does not match array size)". With remove_all, the whole list is cleared.

Request: RemoveFromRecentlyAccessedRequest

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

FieldTypeDescription
object_countint32The number of entries in remove_objects. Must match it.
remove_objects[]repeated ObjIDThe objects to remove from the caller's Recently accessed list.
remove_objects[].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).
remove_objects[].item_idItemIDThe ID of the object within its type, in item_id.internal_id.
remove_objects[].item_id.internal_idint32The ID of the object or value list item.
remove_objects[].item_id.external_repository_idExternalRepositoryIDUsed only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault.
remove_allboolTrue to clear the whole list.

Response: RemoveFromRecentlyAccessedResponse

No fields.