IRPCDeclarativeMetadataStructure.PauseDeclarativeMetadataStructureRevisionGeneration

View as Markdown

Administration API / specialized admin session returns metadata structure version

Starts, extends or reads a pause of automatic revision generation for the calling session.

While the pause is active, structure changes made by this session do not each generate a new revision of the declarative metadata structure. When the pause ends, by CancelDeclarativeMetadataStructureRevisionGenerationPause or by expiry, the server generates one catch-up revision.

ServiceDeclarative metadata structure MFiles.IRPCDeclarativeMetadataStructure
gRPC method/MFiles.IRPCDeclarativeMetadataStructure/PauseDeclarativeMetadataStructureRevisionGeneration
HTTP (mf-http-grpc)POST /grpc/v1/pause-declarative-metadata-structure-revision-generation
RequestPauseDeclarativeMetadataStructureRevisionGenerationRequest
ResponsePauseDeclarativeMetadataStructureRevisionGenerationResponse
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: PauseDeclarativeMetadataStructureRevisionGenerationRequest

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

FieldTypeDescription
duration_secondsint32The pause length in seconds, 1 to 3600, or 0 to read the status only.

Response: PauseDeclarativeMetadataStructureRevisionGenerationResponse

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

FieldTypeDescription
remaining_secondsint32Seconds left on this session's pause, rounded up. 0 means no active pause.