How does jitsi initialization work? rest api or ws?

I have a question about jitsi-meet. how does the init works?
via ws or rest api?
Thank you very much.