Is there any ways or any command to get all edge id and group id from ignition edge when client connect to broker?

If mqtt client want to know what are the edges and groups in ignition edge . what are the ways to get these details? Is there any command to fetch those details at runtime ? If its there then we can create NCMD out of it to get devie associated with edges. can anybody please suggest ways …