protected WebTarget extendApiResource(WebTarget webTarget, String relativeUri) {
    WebTarget result = webTarget;
    if (StringUtils.isNotEmpty(relativeUri) && !CONTAINS_API_VERSION_PATTERN.matcher(relativeUri).matches()) {
      result = webTarget.path(DEFAULT_API_PATH);
    }
    return result.path(relativeUri);
  }
Returns the absolute web resource with {@link #DEFAULT_API_PATH}
@param webTarget Ambari WebResource as provided by the client {@link #ambariWebResource}
@param relativeUri relative request URI
@return  Extended WebResource
ambari-server/src/main/java/org/apache/ambari/server/scheduler/ExecutionScheduleManager.java