IRPCDeclarativeMetadataStructure.SetDeclarativeMetadataStructure

View as Markdown

Administration API / specialized admin session returns metadata structure version

Validates a declarative JSON document against the schema, or converts it for deployment.

ServiceDeclarative metadata structure MFiles.IRPCDeclarativeMetadataStructure
gRPC method/MFiles.IRPCDeclarativeMetadataStructure/SetDeclarativeMetadataStructure
HTTP (mf-http-grpc)POST /grpc/v1/set-declarative-metadata-structure
RequestSetDeclarativeMetadataStructureRequest
ResponseSetDeclarativeMetadataStructureResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: SetDeclarativeMetadataStructureRequest

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

FieldTypeDescription
sessionuint32Not used by the server. Leave 0.
declmds_as_jsonstringThe declarative metadata structure document, as returned by GetDeclarativeMetadataStructure.
dry_run_with_schema_validationboolTrue to only validate the document against the schema.

Response: SetDeclarativeMetadataStructureResponse

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

FieldTypeDescription
validatedboolTrue when the call was a dry run.
validation_errorsstringThe schema validation errors as text, empty if the document is valid. Set only when validated is true.