--- a/web/org.ossmeter.webapp/conf/routes
+++ b/web/org.ossmeter.webapp/conf/routes
@@ -4,13 +4,19 @@
# Home page
GET / controllers.Application.index()
-GET /projects controllers.Application.projects()
+GET /projects controllers.Application.projects(page: Integer ?= 1)
+GET /projects/ controllers.Application.projects(page: Integer ?= 1)
+GET /projects/all controllers.Application.projects(page: Integer ?= -1)
+GET /projects/:page controllers.Application.projects(page : Integer)
GET /project/:name controllers.Application.getProject(name : String)
GET /search controllers.Application.search()
-GET /api/projects controllers.ClientAPIController.projects()
+GET /api/projects controllers.ClientAPIController.projects(page: Integer ?= 1)
+GET /api/projects/ controllers.ClientAPIController.projects(page: Integer ?= 1)
+GET /api/projects/:page controllers.ClientAPIController.projects(page: Integer)
GET /api/project/:name controllers.ClientAPIController.getProject(name: String)
GET /api/project/:name/metric/:id controllers.ClientAPIController.getMetric(name: String, id: String)
+
# TODO: paging (of something, projects? a project's metrics?)