Querying node groups: RAPI support