6 endpoint(s).
The following endpoint list is extracted from the source. Actual server responses and integration availability depend on the runtime configuration.
GET /api/policies
- Handler:
policies - Source:
wesergate/api.py:371 - Declared access requirement:
authenticated admin - What it does: Policies (see request schemas and source for exact semantics).
Example request path: /api/policies. Use the documented HTTP method and send the corresponding validated body (if any).
POST /api/policies
- Handler:
create_policy - Source:
wesergate/api.py:379 - Body model/type:
PolicyWrite - Declared access requirement:
authenticated admin - What it does: Create policy (see request schemas and source for exact semantics).
Example request path: /api/policies. Use the documented HTTP method and send the corresponding validated body (if any).
POST /api/policies/simulate
- Handler:
simulate - Source:
wesergate/api.py:419 - Body model/type:
Simulation - Declared access requirement:
authenticated admin - What it does: Simulate (see request schemas and source for exact semantics).
Example request path: /api/policies/simulate. Use the documented HTTP method and send the corresponding validated body (if any).
PUT /api/policies/{policy_id}
- Handler:
update_policy - Source:
wesergate/api.py:391 - Body model/type:
PolicyWrite - Parameters:
policy_id : str - Declared access requirement:
authenticated admin - What it does: Update policy (see request schemas and source for exact semantics).
Example request path: /api/policies/{policy_id}. Use the documented HTTP method and send the corresponding validated body (if any).
POST /api/policies/{policy_id}/publish
- Handler:
publish_policy - Source:
wesergate/api.py:403 - Body model/type:
dict - Parameters:
policy_id : str - Declared access requirement:
authenticated admin - What it does: Publish policy (see request schemas and source for exact semantics).
Example request path: /api/policies/{policy_id}/publish. Use the documented HTTP method and send the corresponding validated body (if any).
GET /api/policies/{policy_id}/revisions
- Handler:
policy_revisions - Source:
wesergate/api.py:415 - Parameters:
policy_id : str - Declared access requirement:
authenticated admin - What it does: Policy revisions (see request schemas and source for exact semantics).
Example request path: /api/policies/{policy_id}/revisions. Use the documented HTTP method and send the corresponding validated body (if any).
en/api/authorization-policy-engine.mdRead documentation Not a certified production NAC. Physical switch/RADIUS enforcement and 1,000-device traffic remain unverified.

