IRPCVaultsAdminBasic.GetAddInSettings
Administration API / specialized internal: not for applications admin no session
Gets the cross-origin (CORS) and cross-frame settings that a vault's add-in configuration allows.
| Service | Vault management (basic) MFiles.IRPCVaultsAdminBasic |
|---|---|
| gRPC method | /MFiles.IRPCVaultsAdminBasic/GetAddInSettings |
| HTTP (mf-http-grpc) | POST /grpc/v1/get-add-in-settings |
| Request | GetAddInSettingsRequest |
| Response | GetAddInSettingsResponse |
| Book and level | Administration API, specialized |
| Kind | admin |
| Session | Not needed: the call can be made before logging in. |
| Idempotent | no |
| Returns metadata structure version | no |
| Streaming | none (unary) |
Remarks
For M-Files components only. M-Files' web components read it to decide which external sites may call or frame the vaults' web endpoints. Applications should not call it.
Request: GetAddInSettingsRequest
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 |
|---|---|---|
vault_guid | string | The vault GUID, with braces. |
Response: GetAddInSettingsResponse
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 |
|---|---|---|
add_in_settings_of_vaults[] | repeated AddInSettingsOfVault | The add-in settings. See AddInSettingsOfVault. |
add_in_settings_of_vaults[].vault | string | The GUID of Vault. |
add_in_settings_of_vaults[].vault_domain_names[] | repeated string | The domain names. |
add_in_settings_of_vaults[].settings | AddInSettings | The settings. |
add_in_settings_of_vaults[].settings.allowed_methods[] | repeated string | The list of allowed HTTP Methods. |
add_in_settings_of_vaults[].settings.allowed_cross_frame_sites[] | repeated string | The list of allowed Cross Frame Sites. |
add_in_settings_of_vaults[].settings.allowed_headers[] | repeated string | The list of allowed HTTP Response Headers. |
add_in_settings_of_vaults[].settings.cross_origin_access[] | repeated string | The list of Cross Origin Access Domains. |
add_in_settings_of_vaults[].settings.allow_credentials | bool | True to allow the credentials, false to skip credentials. |
add_in_settings_of_vaults[].settings.prevent_xfs | bool | True to Prevent XFS, false to allow XFS. |