Configurations API
Endpoints for managing application configuration settings.
SDK equivalent:
sdk.appConfigurations
Get App Configuration
Retrieve the current application configuration.
GET /api/configurations/app-configurationResponse
json
{
"metadata": {
"theme": "dark",
"logo": "https://example.com/logo.png",
"features": {
"enableComments": true,
"enableSharing": false
}
}
}Update App Configuration
Update the application configuration.
PUT /api/configurations/app-configurationRequest Body
Accepts a partial configuration object — only the fields being changed need to be included.
json
{
"theme": "dark",
"logo": "https://example.com/logo.png",
"features": {
"enableComments": true,
"enableSharing": false
}
}Response
json
{
"metadata": {
"theme": "dark",
"logo": "https://example.com/logo.png",
"features": {
"enableComments": true,
"enableSharing": false
}
}
}