|
|
@@ -98,6 +98,7 @@ module.exports = function(crowi, app) {
|
|
|
app.get('/_api/pages.updatePost' , accessTokenParser(crowi, app) , loginRequired(crowi, app) , page.api.getUpdatePost);
|
|
|
app.post('/_api/pages.seen' , accessTokenParser(crowi, app) , loginRequired(crowi, app) , page.api.seen);
|
|
|
app.post('/_api/pages.rename' , accessTokenParser(crowi, app) , loginRequired(crowi, app) , page.api.rename);
|
|
|
+ app.post('/_api/pages.remove' , loginRequired(crowi, app) , page.api.remove); // (Avoid from API Token)
|
|
|
app.get('/_api/comments.get' , accessTokenParser(crowi, app) , loginRequired(crowi, app) , comment.api.get);
|
|
|
app.post('/_api/comments.add' , form.comment, accessTokenParser(crowi, app) , loginRequired(crowi, app) , comment.api.add);
|
|
|
app.get( '/_api/bookmarks.get' , accessTokenParser(crowi, app) , loginRequired(crowi, app) , bookmark.api.get);
|