IRPCWorkspace.GetWorkspaceSettings
Vault API / standard write session or assertion returns metadata structure version
Gets the tab order of the workspace of an object type: the caller's effective order, or the default for all users.
| Service | Workspaces MFiles.IRPCWorkspace |
|---|---|
| gRPC method | /MFiles.IRPCWorkspace/GetWorkspaceSettings |
| HTTP (mf-http-grpc) | POST /grpc/v1/get-workspace-settings |
| Request | GetWorkspaceSettingsRequest |
| Response | GetWorkspaceSettingsResponse |
| Book and level | Vault API, standard |
| Kind | write |
| Session | Required: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata). |
| Idempotent | no |
| Returns metadata structure version | yes (in the mfiles-metadata-version-bin trailer) |
| Streaming | none (unary) |
Remarks
- Requires a vault session. No special vault rights are needed.
WORKSPACE_SETTINGS_SCOPE_EFFECTIVE(default) returns the caller's own order, or the default order when the caller has none.WORKSPACE_SETTINGS_SCOPE_DEFAULTSreturns the default order, limited to common views.- The stored order is reconciled with the tab views that exist and that the caller can see:
views that no longer exist are dropped and new views are appended. When nothing is stored,
view_idslists all visible tab views. - An object type without workspace views, or an unknown ID, returns empty
view_ids.
Request: GetWorkspaceSettingsRequest
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
object_type_id | int32 | The source object type of the workspace. |
scope | WorkspaceSettingsScope | Which order to return. Leave unset (WORKSPACE_SETTINGS_SCOPE_EFFECTIVE) for the caller's own effective order.Values: WORKSPACE_SETTINGS_SCOPE_EFFECTIVE (0), WORKSPACE_SETTINGS_SCOPE_DEFAULTS (1). |
Response: GetWorkspaceSettingsResponse
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
workspace_settings | WorkspaceSettings | The tab view IDs in display order. |
workspace_settings.view_ids[] | repeated int32 | View IDs in order. |