code: public static List<Command> constructGetCommand(String restQuery) {
      return Arrays.asList(new RestApiCommand().build(Arrays.asList(restQuery), RestApiCommandType.GET));
    }
docs: Build a list of {@link Command}s given a String Rest query.