Read SWConfig via JsonRPC

Hi guys,

I would like to monitor my OpenWRT with my home automation system. Therefor I found the JsonRPC provided by LuCI. Main focus I want to monitor is the port status of the integrated switch "switch0". I was reading the docu of the rpc but I couldn't figure out how to get the info I wanted.
Now I am asking here if anybody has already done this or knows how I could read the status of the switch over the JsonRPC.

I have already installed all needed packages and can authenticate.I think that it is around the uci path of the api but I am not sure about it.

Thanks for your help