more api documentation

This commit is contained in:
Athou
2013-04-16 12:36:18 +02:00
parent 11a9d68948
commit 3ab8abe5bd
6 changed files with 119 additions and 55 deletions

View File

@@ -42,49 +42,55 @@ module.factory('SubscriptionService', function($resource, $http) {
fetch : {
method : 'GET',
params : {
_method : 'fetch'
_method : 'feed/fetch'
}
},
get : {
method : 'GET',
params : {
_method : ''
_method : 'get'
}
},
subscribe : {
method : 'POST',
params : {
_method : 'subscribe'
_method : 'feed/subscribe'
}
},
unsubscribe : {
method : 'GET',
params : {
_method : 'unsubscribe'
_method : 'feed/unsubscribe'
}
},
rename : {
method : 'GET',
params : {
_method : 'rename'
_method : 'feed/rename'
}
},
collapse : {
method : 'GET',
params : {
_method : 'collapse'
_method : 'category/collapse'
}
},
addCategory : {
method : 'GET',
params : {
_method : 'addCategory'
_method : 'category/add'
}
},
deleteCategory : {
method : 'GET',
params : {
_method : 'deleteCategory'
_method : 'category/delete'
}
},
renameCategory : {
method : 'GET',
params : {
_method : 'category/rename'
}
}
};