Task #21 - add page controller and page/node api endpoints
This commit is contained in:
@@ -38,10 +38,12 @@ const index = {
|
||||
get: {
|
||||
'/hello_world': ['controller::api:v1:Misc.hello_world'],
|
||||
'/page/:PageId': ['controller::api:v1:Page.get_page'],
|
||||
'/page/:PageId/nodes': ['controller::api:v1:Page.get_nodes'],
|
||||
},
|
||||
|
||||
post: {
|
||||
'/page/:PageId/save': ['controller::api:v1:Page.save_page'],
|
||||
'/page/:PageId/nodes/save': ['controller::api:v1:Page.save_nodes'],
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user