Skip to content
Snippets Groups Projects
Commit 7a7b2f20 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

more removal of frontend service endpoints that are not valid any more.

parent 31405529
No related branches found
No related tags found
No related merge requests found
......@@ -10,12 +10,6 @@ DashboardServices.factory('Dashboard', ['$resource', '$cookies', function($resou
method:'GET',
isArray:true
},
for_card: {
url:'/api/dashboard/for_card/:cardId?f=:filterMode',
method:'GET',
params:{cardId:'@cardid'},
isArray:true
},
create: {
url:'/api/dashboard',
method:'POST',
......@@ -52,35 +46,6 @@ DashboardServices.factory('Dashboard', ['$resource', '$cookies', function($resou
method:'POST',
params:{dashId:'@dashId'},
headers: {'X-CSRFToken': function() { return $cookies.csrftoken; }},
},
reordercards: {
url:'/api/dashboard/:dashId/reorder',
method:'POST',
params:{dashId:'@dashId'},
headers: {'X-CSRFToken': function() { return $cookies.csrftoken; }},
},
subscribe: {
url: '/api/dashboard/:dashId/subscribe',
method: 'POST',
params: {dashId: '@dashId'},
headers: {'X-CSRFToken': function() { return $cookies.csrftoken; }}
},
unsubscribe: {
url: '/api/dashboard/:dashId/unsubscribe',
method: 'POST',
params: {dashId: '@dashId'},
headers: {'X-CSRFToken': function() { return $cookies.csrftoken; }}
}
});
}]);
DashboardServices.factory('DashCard', ['$resource', '$cookies', function($resource, $cookies) {
return $resource('/api/dashcard/:id', {}, {
resize: {
url: '/api/dashcard/:id/resize',
method: 'POST',
params: { id:'@id' },
headers: {'X-CSRFToken': function() { return $cookies.csrftoken; }},
}
});
}]);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment