IRPCViews.GetViews

View as Markdown

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

Gets the calling user's view collection: all views, or the direct child views of one view.

ServiceViews MFiles.IRPCViews
gRPC method/MFiles.IRPCViews/GetViews
HTTP (mf-http-grpc)POST /grpc/v1/get-views
RequestGetViewsRequest
ResponseGetViewsResponse
Book and levelVault API, standard
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

Request: GetViewsRequest

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

FieldTypeDescription
get_all_viewsboolTrue to get every view in the user's collection. Then parent_view is ignored.
parent_viewint32With get_all_views false, the ID of the view whose direct child views to get, or -1 for the top-level views.

Response: GetViewsResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page. Fields marked (recursive) refer to a type already on their path.

FieldTypeDescription
views[]repeated ViewThe views. See View.
views[].idint32The ID of the view.
views[].typeViewTypeThe type of the view.Values: VIEW_TYPE_SHOW_OBJECTS (0), VIEW_TYPE_FILTER_ONLY (1).
views[].namestringThe name of the view.
views[].is_commonboolTells if the view is admin-defined (common) or user-defined.
views[].is_visibleboolTells if the view is visible.
views[].locationViewLocationThe location of the view. Valid only if bHasParent is true.
views[].location.parent_folder[]repeated FolderArray of folders describing the parent folder of the view. The first element of the array must be a view folder. Other elements, if any, are property folders.
views[].location.customizes_property_folderboolTrue if the view is overlapping with a property folder.
views[].location.customized_property_folderTypedValueThe overlapped property folder. Ignored if bOverlapping is false.
views[].content_definitionSearchDefThe search definition that contains the view levels and search conditions of the view.
views[].content_definition.filter_conditions[]repeated SearchConditionThe conditions that limit the object set of this search.
views[].content_definition.grouping_levels[]repeated GroupingLevelView levels (the display hierarchy of this search).
views[].content_definition.optionsSearchFlagsSearch flags. This affects the resulting object version set and also distinct view level values displayed inside this search.
views[].aclAccessControlListPermissions.
views[].acl.checked_out_to_userint32Specifies the ID of the user who has extended rights because of the checkout operation performed by her. 0 if such user does not exist.
views[].acl.is_fully_authoritativeboolSpecifies whether this access control list is set to ignore the secondary permissions that come from the latest checked in version.
views[].acl.custom_componentAccessControlListComponentAccesses the custom component of this ACL.
views[].acl.restrictive_components[]repeated AccessControlListComponentMapEntryAccesses the restrictive automatic components of this ACL.
views[].acl.secondary_access_control_listAccessControlList (recursive)Secondary ACL used for latest version ACL. Not used for access check if null.
views[].acl.additive_components[]repeated AccessControlListComponentMapEntryAccesses the additive automatic components of this ACL.
views[].flags_obsoleteuint32Bit flags that provide additional information on the view.
views[].optionsVIEWFLAGSBit flags that provide additional information on the view.
views[].options.allboolSpecifies all flags set; Including any future flags.
views[].options.indexedboolMaterialized/indexed view.
views[].options.incompatible_with_full_text_searchboolThe search conditions of the view definition (excluding the grouping levels) are not compatible with full-text search.
views[].options.sort_across_all_pages_disabledboolSorting search results is disabled.
views[].guidstringGUID for the view.
views[].view_visualizationViewVisualizationView visualization information.
views[].view_visualization.subview_groups[]repeated SubviewGroupThe subviews of the view as groups.