finish porting group model

This commit is contained in:
Matteo Pagliazzi
2015-12-17 16:11:45 +01:00
parent 455eaf0932
commit bbc47f5e00
3 changed files with 152 additions and 181 deletions
-20
View File
@@ -1,20 +0,0 @@
let api = {};
/**
* @api {get} /groups/:groupId Get a group by its id
* @apiVersion 3.0.0
* @apiName GetGroup
* @apiGroup Group
*
* @apiSuccess {Object} group The group object
*/
api.getGroup = {
method: 'GET',
url: '/groups/:groupId',
middlewares: [authWithHeaders()],
handler (req, res, next) {
// ...
},
};
export default api;