Config Rest API

Overview

Resource Operation Description
Config GET /configs/(section) List full config.
OptionGetDel GET /configs/(section)/(option) get config value.
  DELETE /configs/(section)/(option) delete an option.
OptionSet PUT /configs/(section)/(option)/(value) set config value.
Section GET /configs/(section) List config section.

Details

PUT /configs/(section)/(option)/(value)

Set the value of an option. If the option does not exist, create it.

Status Codes:
GET /configs/(section)/(option)

Retrieve the value of an option.

Parameters:
  • section – The section name.
Response Headers:
 
Status Codes:
DELETE /configs/(section)/(option)

Delete an option.

Status Codes:
GET /configs/(section)

List configuration of a section

Parameters:
  • section – The section name.
Response Headers:
 
Status Codes:
GET /configs/(section)

List full configuration.

Response Headers:
 
Status Codes: