IRPCObjectOperations.RemoveFromRecentlyAccessed
Vault API / core write session or assertion returns metadata structure version
Removes the specified objects from being shown in 'Recently Accessed by Me'.
| Service | Objects, versions, properties and files MFiles.IRPCObjectOperations |
|---|---|
| gRPC method | /MFiles.IRPCObjectOperations/RemoveFromRecentlyAccessed |
| HTTP (mf-http-grpc) | POST /grpc/v1/remove-from-recently-accessed |
| Request | RemoveFromRecentlyAccessedRequest |
| Response | RemoveFromRecentlyAccessedResponse |
| 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) |
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.
| Field | Type | Description |
|---|---|---|
object_count | int32 | The number of entries in remove_objects. Must match it. |
remove_objects[] | repeated ObjID | The objects to remove from the caller's Recently accessed list. |
remove_objects[].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). |
remove_objects[].item_id | ItemID | The ID of the object within its type, in item_id.internal_id. |
remove_objects[].item_id.internal_id | int32 | The ID of the object or value list item. |
remove_objects[].item_id.external_repository_id | ExternalRepositoryID | Used only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault. |
remove_all | bool | True to clear the whole list. |
Response: RemoveFromRecentlyAccessedResponse
No fields.