WESERGATE NAC / API

API: First-run setup wizard

17 endpoint(s). The following endpoint list is extracted from the source. Actual server responses and integration availability depend on the runtime configuration. POST /api/setup/ad/lookup - Handler: ad user lookup - So

v0.14.3Pre-production · v0.14.3
v0.14.3 documentation draft: technical, legal and commercial reviews are still pending.

17 endpoint(s).

The following endpoint list is extracted from the source. Actual server responses and integration availability depend on the runtime configuration.

POST /api/setup/ad/lookup

  • Handler: ad_user_lookup
  • Source: wesergate/setup_wizard.py:374
  • Body model/type: DirectoryLookup
  • Declared access requirement: authenticated admin
  • What it does: Ad user lookup (see request schemas and source for exact semantics).

Example request path: /api/setup/ad/lookup. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/setup/administrators

  • Handler: setup_administrators
  • Source: wesergate/setup_wizard.py:267
  • Declared access requirement: authenticated admin
  • What it does: Setup administrators (see request schemas and source for exact semantics).

Example request path: /api/setup/administrators. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/setup/administrators/directory-mappings

  • Handler: add_mapping
  • Source: wesergate/setup_wizard.py:275
  • Body model/type: AdminDirectoryMappingWrite
  • Declared access requirement: authenticated admin
  • What it does: Add mapping (see request schemas and source for exact semantics).

Example request path: /api/setup/administrators/directory-mappings. Use the documented HTTP method and send the corresponding validated body (if any).

DELETE /api/setup/administrators/directory-mappings/{mapping_id}

  • Handler: remove_mapping
  • Source: wesergate/setup_wizard.py:291
  • Parameters: mapping_id : str
  • Declared access requirement: authenticated admin
  • What it does: Remove mapping (see request schemas and source for exact semantics).

Example request path: /api/setup/administrators/directory-mappings/{mapping_id}. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/setup/bootstrap

  • Handler: bootstrap
  • Source: wesergate/setup_wizard.py:109
  • Body model/type: FirstAdmin
  • Access: Inspect related router dependency and source; not determined by the extractor.
  • What it does: Bootstrap (see request schemas and source for exact semantics).

Example request path: /api/setup/bootstrap. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/setup/checks/latest

  • Handler: recent_checks
  • Source: wesergate/setup_wizard.py:301
  • Declared access requirement: authenticated admin
  • What it does: Recent checks (see request schemas and source for exact semantics).

Example request path: /api/setup/checks/latest. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/setup/checks/run

  • Handler: run_checks
  • Source: wesergate/setup_wizard.py:306
  • Implementation note: Bounded local safety checks; never claims physical authentication success.
  • Declared access requirement: authenticated admin
  • What it does: Bounded local safety checks; never claims physical authentication success.

Example request path: /api/setup/checks/run. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/setup/host-nics

  • Handler: host_nics
  • Source: wesergate/setup_wizard.py:197
  • Declared access requirement: authenticated admin
  • What it does: Host nics (see request schemas and source for exact semantics).

Example request path: /api/setup/host-nics. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/setup/keycloak/test/callback

  • Handler: callback_keycloak_test
  • Source: wesergate/setup_wizard.py:412
  • Parameters: state : str, code : str
  • Access: Inspect related router dependency and source; not determined by the extractor.
  • What it does: Callback keycloak test (see request schemas and source for exact semantics).

Example request path: /api/setup/keycloak/test/callback. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/setup/keycloak/test/start

  • Handler: start_keycloak_test
  • Source: wesergate/setup_wizard.py:386
  • Body model/type: OIDCTestStart
  • Declared access requirement: authenticated admin
  • What it does: Start keycloak test (see request schemas and source for exact semantics).

Example request path: /api/setup/keycloak/test/start. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/setup/progress

  • Handler: progress
  • Source: wesergate/setup_wizard.py:174
  • Body model/type: StepUpdate
  • Declared access requirement: authenticated admin
  • What it does: Progress (see request schemas and source for exact semantics).

Example request path: /api/setup/progress. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/setup/radius/builtin/enable

  • Handler: builtin_enable
  • Source: wesergate/setup_wizard.py:238
  • Body model/type: BuiltinEnable
  • Declared access requirement: authenticated admin
  • What it does: Builtin enable (see request schemas and source for exact semantics).

Example request path: /api/setup/radius/builtin/enable. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/setup/site

  • Handler: site
  • Source: wesergate/setup_wizard.py:84
  • Declared access requirement: authenticated admin
  • What it does: Site (see request schemas and source for exact semantics).

Example request path: /api/setup/site. Use the documented HTTP method and send the corresponding validated body (if any).

PUT /api/setup/site

  • Handler: save_site
  • Source: wesergate/setup_wizard.py:90
  • Body model/type: SiteInput
  • Declared access requirement: authenticated admin
  • What it does: Save site (see request schemas and source for exact semantics).

Example request path: /api/setup/site. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/setup/state

  • Handler: state
  • Source: wesergate/setup_wizard.py:160
  • Declared access requirement: authenticated admin
  • What it does: State (see request schemas and source for exact semantics).

Example request path: /api/setup/state. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/setup/status

  • Handler: bootstrap_status
  • Source: wesergate/setup_wizard.py:78
  • Access: Inspect related router dependency and source; not determined by the extractor.
  • What it does: Bootstrap status (see request schemas and source for exact semantics).

Example request path: /api/setup/status. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/setup/tls

  • Handler: tls_upload
  • Source: wesergate/setup_wizard.py:208
  • Body model/type: TLSUpload
  • Declared access requirement: authenticated admin
  • What it does: Tls upload (see request schemas and source for exact semantics).

Example request path: /api/setup/tls. Use the documented HTTP method and send the corresponding validated body (if any).

Original English reference: en/api/first-run-setup-wizard.mdRead documentation
Pre-production · v0.14.3

Not a certified production NAC. Physical switch/RADIUS enforcement and 1,000-device traffic remain unverified.

WeserCode One now provides customer accounts, support tickets and verified commercial records. Automated checkout and signed WeserGate license issuance are not connected.

Open customer portal Product overview