You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Gabriel Huerta Araujo <hu...@globalhitss.com.INVALID> on 2023/06/27 03:28:01 UTC

REST API returns a map of map of list

Hi

How can I get a REST Api call which returns a map of map of list?

@GET
@Path("/allusers")
public Map<String, Map<String, List<String>>> getAllUsers() throws GuacamoleException {
        return authenticationService.getAllUsers();
}


Something similar to this:
{ "Tacacs: { "CNS" : ["user1", "user2", "user3" ] } }

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org