Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

REST Configuration

Randgalt edited this page May 8, 2012 · 8 revisions

APIs concerning the Exhibitor Shared Configuration. See REST Entities for descriptions of any arguments/results.

getSystemState

Returns a complete system state. Can be polled periodically. NOTE: This API sets the ETag response header and respects the “If-None-Match” request header.

Method GET
URL exhibitor/v1/config/get-state
Argument n/a
Response State

setConfig

Change the config. IMPORTANT: this can cause instance restarts.

Method POST
URL exhibitor/v1/config/set
Argument Config
Response Result

setConfigRolling

Sets the given config as a rolling config and causes rolling configuration to begin.

Method POST
URL exhibitor/v1/config/set-rolling
Argument Config
Response Result

forceCommitRolling

Cancels the rolling config and sets the master config to the rolling config values.

Method GET
URL exhibitor/v1/config/force-commit-rolling
Argument n/a
Response Result

rollbackRolling

Cancels the rolling config and leaves the master config as is.

Method GET
URL exhibitor/v1/config/rollback-rolling
Argument n/a
Response Result