code: private void taskStatus(RESTRequest request, RESTResponse response) {
          String taskID = RESTHelper.getRequiredParam(request, APIConstants.PARAM_TASK_ID);
  
          String taskStatusJson = getMultipleRoutingHelper().getStatus(taskID);
          OutputHelper.writeJsonOutput(response, taskStatusJson);
      }
docs: Returns a JSON string with the status of that task (pending, successful, failed, etc), and the URL for hosts.
  
  { "taskStatus" : "completed", "propertiesURL" : "url" , "hostsURL" : "url" }