IRPCViews.GetView

View as Markdown

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

Gets one view of the calling user's view collection, or one external view, as folder data.

ServiceViews MFiles.IRPCViews
gRPC method/MFiles.IRPCViews/GetView
HTTP (mf-http-grpc)POST /grpc/v1/get-view
RequestGetViewRequest
ResponseGetViewResponse
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: GetViewRequest

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

FieldTypeDescription
view_idItemIDThe view: internal_id for a vault view, or external_repository_id for an external view.
view_id.internal_idint32The ID of the object or value list item.
view_id.external_repository_idExternalRepositoryIDUsed only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault.
view_id.external_repository_id.connectionstringThe external repository connection identifier.
view_id.external_repository_id.itemstringExternal ID within the scope of the connection to external system.
required_folder_infoFOLDERDATAREQUESTFLAGSThe folder information that must be returned. For a vault view, set folder_info.
required_folder_info.allboolSpecifies all flags set; Including any future flags.
required_folder_info.folder_infoboolFolder information is requested, e.g. View or ExternalView.
required_folder_info.locationboolThe exact location of the folder is requested, e.g. ViewLocation or FolderArray.
required_folder_info.aclboolThe acl of the folder is requested.
accepted_folder_infoFOLDERDATAREQUESTFLAGSAdditional folder information the caller can accept. Used for external views.
accepted_folder_info.allboolSpecifies all flags set; Including any future flags.
accepted_folder_info.folder_infoboolFolder information is requested, e.g. View or ExternalView.
accepted_folder_info.locationboolThe exact location of the folder is requested, e.g. ViewLocation or FolderArray.
accepted_folder_info.aclboolThe acl of the folder is requested.

Response: GetViewResponse

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

FieldTypeDescription
putf8szviewFolderDataThe view as FolderData.
putf8szview.typeFolderTypeThe type of the folder (eg. eftViewFolder).Values: FOLDER_TYPE_UNKNOWN (0), FOLDER_TYPE_ANY_FOLDER (1), FOLDER_TYPE_VIEW_FOLDER (2), FOLDER_TYPE_PROPERTY_FOLDER (3), FOLDER_TYPE_TRADITIONAL_FOLDER (4), FOLDER_TYPE_SEARCH_FOLDER (5), FOLDER_TYPE_EXTERNAL_VIEW_FOLDER (6).
putf8szview.dataFolderDataUnionAdditional folder type -specific data as a union.
putf8szview.data.view_folderFolderDataUnion.ViewFolderData (oneof data)
putf8szview.data.external_view_folderFolderDataUnion.ExternalViewFolderData (oneof data)
putf8szview.folder_locationFolderArrayArray of folders describing the exact location of the folder. If null, the caller must resolve the location by walking the parent chain.
putf8szview.folder_location.value[]repeated FolderArray of Folder structures.
putf8szview.folder_location_namestringThe display name of the folder location. Describes the location (e.g. full path) rather than the actual name. Specified only if the location data is specified, too.