IRPCViews.GetViewsOrDelta

View as Markdown

Vault API / standard read session or assertion idempotent returns metadata structure version

Gets the calling user's whole view collection, or only the changes since a version the caller already has.

ServiceViews MFiles.IRPCViews
gRPC method/MFiles.IRPCViews/GetViewsOrDelta
HTTP (mf-http-grpc)POST /grpc/v1/get-views-or-delta
RequestGetViewsOrDeltaRequest
ResponseGetViewsOrDeltaResponse
Book and levelVault API, standard
Kindread
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentyes
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: GetViewsOrDeltaRequest

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

FieldTypeDescription
callers_current_views_versionint64The current_views_version_on_server from the caller's previous response, or 0 to get the full collection.

Response: GetViewsOrDeltaResponse

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

FieldTypeDescription
current_views_version_on_serverint64The version of the view collection now. Store it and send it next time.
views_or_deltaViewsOrDeltaExThe full collection (type false) or the changes (type true). See ViewsOrDeltaEx.
views_or_delta.typeboolTrue if this struct represents a delta (i.e. just the occurred changes to views).
views_or_delta.removed_views[]repeated int32Removed views. This contains data only when this struct represents a delta. Otherwise it must be an empty array.
views_or_delta.invisible_views[]repeated int32Invisible views. This contains data only when this struct represents a delta. Otherwise it must be an empty array.
views_or_delta.views[]repeated ViewViews. This contains inserted or updated views if this struct represents a delta, otherwise it contains just a "normal" array of views.
views_or_delta.views[].idint32The ID of the view.
views_or_delta.views[].typeViewTypeThe type of the view.Values: VIEW_TYPE_SHOW_OBJECTS (0), VIEW_TYPE_FILTER_ONLY (1).
views_or_delta.views[].namestringThe name of the view.
views_or_delta.views[].is_commonboolTells if the view is admin-defined (common) or user-defined.
views_or_delta.views[].is_visibleboolTells if the view is visible.
views_or_delta.views[].locationViewLocationThe location of the view. Valid only if bHasParent is true.
views_or_delta.views[].content_definitionSearchDefThe search definition that contains the view levels and search conditions of the view.
views_or_delta.views[].aclAccessControlListPermissions.
views_or_delta.views[].flags_obsoleteuint32Bit flags that provide additional information on the view.
views_or_delta.views[].optionsVIEWFLAGSBit flags that provide additional information on the view.
views_or_delta.views[].guidstringGUID for the view.
views_or_delta.views[].view_visualizationViewVisualizationView visualization information.