code: func (a *HistoricalApi) podContainerAggregations(request *restful.Request, response *restful.Response) {
  	var key core.HistoricalKey
  	if request.PathParameter("pod-id") != "" {
  		key = core.HistoricalKey{
  			ObjectType:    core.MetricSetTypePodContainer,
  			PodId:         request.PathParameter("pod-id"),
  			ContainerName: request.PathParameter("container-name"),
  		}
  	} else {
  		key = core.HistoricalKey{
  			ObjectType:    core.MetricSetTypePodContainer,
  			NamespaceName: request.PathParameter("namespace-name"),
  			PodName:       request.PathParameter("pod-name"),
  			ContainerName: request.PathParameter("container-name"),
  		}
  	}
  	a.processAggregationRequest(key, request, response)
  }
docs: // podContainerAggregations returns a metric timeseries for a metric of a Pod Container entity.