Add endpoint for retrieving page versions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-11-02 20:22:24 -06:00
parent 52382f6bf7
commit 2e34deb203
2 changed files with 34 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ const index = {
// Get the data for the specified page
'/page/:PageId': ['controller::api:v1:Page.get_page'],
// Get the available versions of the given page
'/page/:PageId/versions': ['controller::api:v1:Page.get_page_versions'],
// Get the nodes present on the specified page
'/page/:PageId/nodes': ['controller::api:v1:Page.get_nodes'],