IRPCViews.EnableShareView

View as Markdown

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

Allows other users to copy the given private views of the caller for a limited time.

ServiceViews MFiles.IRPCViews
gRPC method/MFiles.IRPCViews/EnableShareView
HTTP (mf-http-grpc)POST /grpc/v1/enable-share-view
RequestEnableShareViewRequest
ResponseEnableShareViewResponse
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: EnableShareViewRequest

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

FieldTypeDescription
views_countuint32The number of entries in shared_views. Must match.
shared_views[]repeated ItemIDThe IDs (internal_id) of the views to share.
shared_views[].internal_idint32The ID of the object or value list item.
shared_views[].external_repository_idExternalRepositoryIDUsed only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault.
shared_views[].external_repository_id.connectionstringThe external repository connection identifier.
shared_views[].external_repository_id.itemstringExternal ID within the scope of the connection to external system.

Response: EnableShareViewResponse

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

FieldTypeDescription
sharing_daysint32How many days other users can copy the views, as set by the vault administrator (14 by default).