Skip to content

hub-novnc ​

← All modules

2 endpoints.

POST /api/v1/hub-novnc/session ​

Session

Trade the caller's Bearer token for the /novnc cookie. Must resolve before the frame or popup loads — its first request already needs it.

200 — Successful Response

json
{
  "additionalProperties": true,
  "type": "object",
  "title": "Response Session Api V1 Hub Novnc Session Post"
}

GET /api/v1/hub-novnc/authz ​

Authz

nginx's auth_request target: 204 lets it through, 401 doesn't. Database-free, like :func:app.api.hub_db.authz — it runs per request.

200 — Successful Response

json
{}

Lubb Business Documentation