Plattform-Konfiguration
Öffentliche Endpunkte – kein Auth nötig.
Endpunkte
| Methode | Endpunkt | Beschreibung |
|---|---|---|
GET | /settings/config/{appid}/ | Gesamte Plattform-Konfiguration |
GET | /platforms/themes/active/ | Aktives Theme (Farben, Fonts, Logos) |
GET | /platforms/current/ | Aktuelle Plattform-Metadaten |
GET | /platforms/{appid}/navigation/ | Navigationsstruktur |
Beispiel: Plattform-Konfiguration
http
GET /settings/config/1285704764/
appid: 1285704764json
{
"appId": 1285704764,
"appName": "LoftOS Community",
"setup": {
"languages": [
{"name": "English", "shortname": "en"},
{"name": "Deutsch", "shortname": "de"}
],
"oauthServices": {"google": true, "linkedIn": true, "xing": false},
"hasActivityAnalytics": true
},
"ui": {
"sidebarNew": {
"sortedItems": ["home", "users", "news", "allOrganizations", "groups"]
}
}
}Beispiel: Aktives Theme
http
GET /platforms/themes/active/
appid: 1285704764json
{
"id": 749,
"general": {
"mainFont": "OpenSans",
"mainColor": "#272e71",
"backgroundColor": "#fbfcfd",
"boxRadius": 3,
"darkmodeEnabled": false
},
"header": {
"headerColor": "#272e71"
},
"logos": {
"logo": "https://img.innoloft.com/platforms/1285704764/platform_....png",
"favicon": "https://img.innoloft.com/platforms/1285704764/favicons/favicon.ico"
}
}