@ GET @ Path ( "tree" ) public APIConnectionGroup getConnectionGroupTree ( @ QueryParam ( "permission" ) List < ObjectPermission . Type > permissions ) throws GuacamoleException { // Retrieve the requested tree, filtering by the given permissions ConnectionGroupTree tree = new ConnectionGroupTree ( userContext , connectionGroup , permissions ) ; // Return tree as a connection group return tree . getRootAPIConnectionGroup ( ) ; }
Returns the current connection group along with all descendants .