IRPCVaultAdmin.VerifyVault

View as Markdown

Administration API / specialized admin session

Verifies the consistency of a vault's database and optionally of its file data, and optionally fixes the problems it finds (M-Files Admin's "Verify and Repair").

With verifyvaultjob.fix_errors false the vault is not modified; the problems found are reported in poutput.errors. With fix_errors true the problems are reported and fixed. If the method itself fails, the verification or repair logic failed or the vault is too badly damaged to be fixed by this method.

ServiceVault administration MFiles.IRPCVaultAdmin
gRPC method/MFiles.IRPCVaultAdmin/VerifyVault
HTTP (mf-http-grpc)POST /grpc/v1/verify-vault
RequestVerifyVaultRequest
ResponseVerifyVaultResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: VerifyVaultRequest

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

FieldTypeDescription
verifyvaultjobVerifyVaultJobWhat to verify: the vault (vault_guid), whether to fix the problems found (fix_errors) and whether to also check the contents of the files on disk (verify_file_contents).
verifyvaultjob.vault_guidstringThe GUID of the vault to verify.
verifyvaultjob.fix_errorsboolTrue to fix detected errors.
verifyvaultjob.verify_file_contentsboolTrue to verify the integrity of the data files on disk.
synchronousboolTrue to verify within the call. False to start a background job and return at once.

Response: VerifyVaultResponse

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

FieldTypeDescription
task_idint32The ID of the server-level verification job when synchronous is false.
poutputVerifyVaultJobOutputInfoThe problems found, one message per item in errors, when synchronous is true. Empty if the vault has no problems.
poutput.errors[]repeated stringEncountered vault errors.