Nuclos App architecture: generic interpreter of the REST API, endpoints (/rest, /rest/bos, boMetas, query, boGenerations), Flutter, dio, riverpod.

globe with meridians Language: Deutsch · English

open book Architecture and API

How the app works: generic REST interpreter, endpoints used, technology stack and roadmap.

On this page

At its core the app is an interpreter of the generic Nuclos REST API. It contains no Nuclet-specific code; structure, layout and data come from the server at runtime.

Endpoints used

POST /rest                              Login (Cookie-Session, JSESSIONID)
POST /rest  (anonymous/anonymous)       Anonymer Login
GET  /rest/ssoAuthEndpoints             konfigurierte SSO-Dienste (Label, Icon, Farbe)
PUT  /rest/ssoAuthEndpoints/{id}        SSO-Flow starten -> Authorize-URL (PKCE)
POST /rest  (loginUri, serverUri)       SSO-Login abschliessen (Token-Tausch serverseitig)
GET  /rest/datalanguages                verfuegbare Datensprachen
PUT  /rest/datalanguage                 aktive Datensprache setzen
POST /rest/user/register                Selbstregistrierung
POST /rest/user/activate/{code}         Konto aktivieren
PUT  /rest/user/{user}/password         Passwort aendern
POST /rest/user/{user}/forgotPassword   Reset-E-Mail anfordern
POST /rest/user/{user}/passwordReset    Passwort per Code zuruecksetzen
GET  /rest/bos                          Entitaeten (Business Objects)
GET  /rest/boMetas/{id}                 Metadaten (Attribute, Typen, titlePattern)
GET  /rest/bos/{id}?offset=&chunkSize=  Datensaetze (mit Paging)
POST /rest/bos/{id}/query               Suche/Filter
     boGenerations                      Neuanlage (Objektgeneratoren)

Technology

The session is persisted; when it expires the app attempts a silent re-login and only falls back to the login screen on failure. Server commands (message, navigation, session end) run after save/rule/status change.

For the Web build, CORS is required on the server because of the cookie session. Not needed on iOS/Android.

Roadmap

Related pages

light bulb What is the Nuclos App?


Concept.

Öffnen →

memo Editing records


Generic layout.

Öffnen →