Is it possible to get a minigraph trough API

I would like to get a minigraph (like we have on device main page) trough API call.

they should all be available.

I used this and and look like worked as well. :slight_smile:
/api/v0/portgroups/multiport?height=30&width=200&id=".$PORTID."&type=port_bits&legend=no&gridfit=no"