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 Apr 6, 2012 · 8 revisions

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

API URL/Method Arguments/Result Description
getSystemState GET
exhibitor/v1/config/get-state
In: n/a
Out: State
Returns a complete system state. Can be polled periodically.
setConfig POST
exhibitor/v1/config/set
In: Config
Out: Result
Change the config. IMPORTANT: this can cause instance restarts.
setConfigRolling POST
exhibitor/v1/config/set-rolling
In: Config
Out: Result
Sets the given config as a rolling config and causes rolling configuration to begin.
forceCommitRolling GET
exhibitor/v1/config/force-commit-rolling
In: n/a
Out: Result
Cancels the rolling config and sets the master config to the rolling config values.
rollbackRolling GET
exhibitor/v1/config/rollback-rolling
In: n/a
Out: Result
Cancels the rolling config and leaves the master config as is.