Gobierto Modules

Get public configuration data of a module

GET api/v1/MODULE-NAME/configuration

Each module can expose configuration data. The module name can include gobierto- prefix. The application returns all settings defined for the module which:

  • Are objects
  • One of their key-value pairs is { "exposed_in_public_api": true }

Parameters:

None

Example requests: /api/v1/data/configuration, /api/v1/gobierto-investments/configuration

Response: JSON

JSON response schema:

{
    CONFIGURATION-NAME: {
        "exposed_in_public_api": true,
        CONFIGURATION-KEY: ···[, ···]
    }[, ···]
}