code: @Override
      @GET
      @Path("/invoke/{name}/{namespace}/{projectName}/{path: .*}")
      @Produces(MediaType.APPLICATION_JSON)
      public Response executeCommandViaGet(@PathParam("name") final String name,
                                           @PathParam("namespace") final String namespace,
                                           @PathParam("projectName") final String project,
                                           @PathParam("path") final String path) throws Exception {
  
          LOG.info("Invoking command " + name + " in project " + namespace + "/" + project + " with path: " + path);
  
          ExecutionRequest executionRequest = new ExecutionRequest();
          executionRequest.setNamespace(namespace);
          executionRequest.setProjectName(project);
          executionRequest.setResource(path);
          List<Map<String, Object>> inputList = new ArrayList<>();
          Map<String, Object> arguments = new HashMap<>();
  
          // lets pass in query arguments that are not secret related stuff
          Map<String, String[]> parameterMap = request.getParameterMap();
          for (Map.Entry<String, String[]> entry : parameterMap.entrySet()) {
              String parameterName = entry.getKey();
              String[] value = entry.getValue();
              if (value != null) {
                  if (!RequestParameters.REQUEST_PARAMETERS.contains(parameterName)) {
                      Object paramValue = value;
                      if (value.length == 1) {
                          paramValue = value[0];
                      }
                      arguments.put(parameterName, paramValue);
                  }
              }
          }
          inputList.add(arguments);
          executionRequest.setInputList(inputList);
          return executeCommand(name, executionRequest);
      }
docs: Provides a simple way to execute a command via a single GET