// api/session-create.prg — Format session create response // ctx: session_id, created_at FUNCTION Main() AP_JSONRESPONSE({ ; "sessionId" => ctx_get("session_id", ""), ; "createdAt" => ctx_get("created_at", "") ; }) RETURN NIL