hunk.code_window:   return {
       get: function (id, params, callback, errorCallback) {
         $http({
           method: 'GET',
           url: API_ENDPOINT_ENDPOINTS + '/' + EndpointProvider.endpointID() + '/containers/' + id + '/top',
           params: {
             ps_args: params.ps_args
           }
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:         url: API_ENDPOINT_ENDPOINTS + '/' + EndpointProvider.endpointID() + '/docker/containers/' + id + '/top',
  
hunk.file_path: app/rest/docker/containerTop.js
hunk.type: replace
file: angular.module('portainer.rest')
  .factory('Task', ['$resource', 'API_ENDPOINT_ENDPOINTS', 'EndpointProvider', function TaskFactory($resource, API_ENDPOINT_ENDPOINTS, EndpointProvider) {
    'use strict';
    return $resource(API_ENDPOINT_ENDPOINTS + '/:endpointId/docker/tasks/:id', {
      endpointId: EndpointProvider.endpointID
    },
    {
      get: { method: 'GET', params: {id: '@id'} },
      query: { method: 'GET', isArray: true, params: {filters: '@filters'} }
    });
  }]);
  