API Reference
Complete reference for the Wenex Platform HTTP API — authentication, authorization, REST and GraphQL endpoints, filtering, and real-time streaming.
In this section
- Authentication — Token types (JWT and APT), grant flows, the
strictflag,x-api-key, and client integration examples. - Authorization — ABAC model, policies, grants, scopes, and the
AuthorityInterceptor. - REST Reference — All REST endpoints, request/response shapes, common headers, and error codes.
- GraphQL Reference — Schema overview, queries, mutations, and subscription support.
- Filtering & Pagination — Query filter syntax, operators, sorting, and cursor-based pagination.
- Streaming (SSE) — Server-Sent Events: subscribing to resource streams and handling reconnection.
- Realtime Data (MQTT) — Near-real-time change notifications over MQTT and MQTT-over-WebSocket: topics, message schema, the
mqttclient, and EMQX authn/authz.