IRPCDeclarativeMetadataStructure.SetDeclarativeMetadataStructureEndSession
Administration API / specialized admin session returns metadata structure version
Reserved for setting a structure in several parts. Not implemented.
| Service | Declarative metadata structure MFiles.IRPCDeclarativeMetadataStructure |
|---|---|
| gRPC method | /MFiles.IRPCDeclarativeMetadataStructure/SetDeclarativeMetadataStructureEndSession |
| HTTP (mf-http-grpc) | POST /grpc/v1/set-declarative-metadata-structure-end-session |
| Request | SetDeclarativeMetadataStructureEndSessionRequest |
| Response | SetDeclarativeMetadataStructureEndSessionResponse |
| Book and level | Administration API, specialized |
| Kind | admin |
| Session | Required: the session ID from LogIn in the mfiles-session-id-bin metadata. |
| Idempotent | no |
| Returns metadata structure version | yes (in the mfiles-metadata-version-bin trailer) |
| Streaming | none (unary) |
Remarks
- Always fails with "Not implemented.", whether or not the feature is enabled.
Request: SetDeclarativeMetadataStructureEndSessionRequest
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 |
|---|---|---|
session | uint32 | Session identifier. |
commit | bool | True to commit the Set operation. |
dry_run_with_schema_validation | bool | Reserved. Ignored when commit is false. |
Response: SetDeclarativeMetadataStructureEndSessionResponse
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 |
|---|---|---|
validated | bool | True for dry runs with schema validation. |
validation_errors | string | Reserved. Set only when validated is true. |
Related methods
- SetDeclarativeMetadataStructure -- Validates a declarative JSON document against the schema, or converts it for deployment.