Skip to content

Configuration

Operations Summary

Method Endpoint Description
GET /api/configuration/ Get public configuration

Get public configuration

Returns a dictionary of public settings for the Waldur deployment. This includes feature flags, authentication methods, and other configuration details that are safe to expose to any user.

1
2
3
4
http \
  GET \
  https://api.example.com/api/configuration/ \
  Authorization:"Token YOUR_API_TOKEN"
1
2
3
4
5
6
7
8
9
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.configuration import configuration_retrieve # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = configuration_retrieve.sync(client=client)

print(response)
  1. API Source: configuration_retrieve
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { configurationRetrieve } from 'waldur-js-client';

try {
  const response = await configurationRetrieve({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}

200 -