Skip to main content
Class for CRUDL of Configuration Definitions.

Initialization

Methods

Create a new configuration definition.
Parameters:
string
required
The key for the config definition.
JSON
default:"None"
The JSON schema for the config definition.
JSON
default:"None"
The list of indexes for the config definition.
Returns: Success response with dictionary of the config-def data.
Read a configuration definition.
Parameters:
string
required
The key for the config definition.
Returns: Dictionary of the config-def data.
Update a configuration definition.
Parameters:
string
required
The key for the config definition.
string
required
The list of indexes for the config definition.
Returns: Dictionary of the config-def data.
Delete a configuration definition.
Parameters:
string
required
The key for the config definition.
Returns: Successful response.
List a configuration.
Parameters:
int
default:"1"
Number of pages.
int
default:"10"
Number of configs in each page.
string
default:"modified_at"
Sorting condition.
string
default:"desc"
The order to sort by.
Search by keywords.
Returns: List of Dictionary of the config-def data.