|
@@ -103,7 +103,7 @@ module.exports = function(crowi, app) {
|
|
|
app.post('/_api/pages.rename' , accessTokenParser , loginRequired(crowi, app) , csrf, page.api.rename);
|
|
app.post('/_api/pages.rename' , accessTokenParser , loginRequired(crowi, app) , csrf, page.api.rename);
|
|
|
app.post('/_api/pages.remove' , loginRequired(crowi, app) , csrf, page.api.remove); // (Avoid from API Token)
|
|
app.post('/_api/pages.remove' , loginRequired(crowi, app) , csrf, page.api.remove); // (Avoid from API Token)
|
|
|
app.post('/_api/pages.revertRemove' , loginRequired(crowi, app) , csrf, page.api.revertRemove); // (Avoid from API Token)
|
|
app.post('/_api/pages.revertRemove' , loginRequired(crowi, app) , csrf, page.api.revertRemove); // (Avoid from API Token)
|
|
|
- app.post('/_api/pages.removeCompletely' , loginRequired(crowi, app) , csrf, page.api.removeCompletely); // (Avoid from API Token)
|
|
|
|
|
|
|
+ app.post('/_api/pages.unlink' , loginRequired(crowi, app) , csrf, page.api.unlink); // (Avoid from API Token)
|
|
|
app.get('/_api/comments.get' , accessTokenParser , loginRequired(crowi, app) , comment.api.get);
|
|
app.get('/_api/comments.get' , accessTokenParser , loginRequired(crowi, app) , comment.api.get);
|
|
|
app.post('/_api/comments.add' , form.comment, accessTokenParser , loginRequired(crowi, app) , csrf, comment.api.add);
|
|
app.post('/_api/comments.add' , form.comment, accessTokenParser , loginRequired(crowi, app) , csrf, comment.api.add);
|
|
|
app.get( '/_api/bookmarks.get' , accessTokenParser , loginRequired(crowi, app) , bookmark.api.get);
|
|
app.get( '/_api/bookmarks.get' , accessTokenParser , loginRequired(crowi, app) , bookmark.api.get);
|