Computer Group and Belonging Computer

Hi Team, Please help me update my Rest API query to get computer group Name, ID and Its belonging computer name and ID.
Currently i an using below mentioned query for the same.
(names of bes computer groups of it, names of it, operating system of it) of bes computers

How about
(name of it, id of it, (name of it, operating system of it) of members of it) of bes computer groups