IRPCObjectOperations.GetPromotedObjects

View as Markdown

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

Lists promoted objects of an external repository. Requires full control of the vault; the maximum result count must be 1 to 1000.

ServiceObjects, versions, properties and files MFiles.IRPCObjectOperations
gRPC method/MFiles.IRPCObjectOperations/GetPromotedObjects
HTTP (mf-http-grpc)POST /grpc/v1/get-promoted-objects
RequestGetPromotedObjectsRequest
ResponseGetPromotedObjectsResponse
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)

Request: GetPromotedObjectsRequest

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

FieldTypeDescription
external_repositorystringIf not null or empty, the external repository name.
obj_id_last_seenObjIDThe last seen object ID. Returns only objects that are after this object when ordered by managed object ID (object type, ID).
obj_id_last_seen.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).
obj_id_last_seen.item_idItemIDThe ID of the object within its type, in item_id.internal_id.
obj_id_last_seen.item_id.internal_idint32The ID of the object or value list item.
obj_id_last_seen.item_id.external_repository_idExternalRepositoryIDUsed only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault.
max_result_countuint32The maximum number of results to return.

Response: GetPromotedObjectsResponse

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

FieldTypeDescription
obj_id_pairs[]repeated ObjIDPairReceives the managed and unmanaged object IDs of the promoted objects. Ordered by managed object ID (object type, ID).
obj_id_pairs[].obj_id_managedObjIDThe managed object ID.
obj_id_pairs[].obj_id_managed.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).
obj_id_pairs[].obj_id_managed.item_idItemIDThe ID of the object within its type, in item_id.internal_id.
obj_id_pairs[].obj_id_unmanagedObjIDThe unmanaged object ID.
obj_id_pairs[].obj_id_unmanaged.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).
obj_id_pairs[].obj_id_unmanaged.item_idItemIDThe ID of the object within its type, in item_id.internal_id.