Add model logic & api endpoint for reverting page versions
This commit is contained in:
@@ -67,6 +67,9 @@ const index = {
|
||||
// Save the data for the specified page
|
||||
'/page/:PageId/save': ['controller::api:v1:Page.save_page'],
|
||||
|
||||
// Revert the page to a previous version
|
||||
'/page/:PageId/versions/revert': ['controller::api:v1:Page.revert_version'],
|
||||
|
||||
// Save the node data for the specified page
|
||||
'/page/:PageId/nodes/save': ['controller::api:v1:Page.save_nodes'],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user