From 1bab909511692df3319301ff560ed29556a17d0a Mon Sep 17 00:00:00 2001 From: Felipe D'Abrantes <felidabrantes@gmail> Date: Fri, 14 Apr 2023 01:32:29 +0100 Subject: [PATCH] Update routes to match contract --- backend-services/feed-service/conf/routes | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/backend-services/feed-service/conf/routes b/backend-services/feed-service/conf/routes index 3a0a580f..c858105f 100644 --- a/backend-services/feed-service/conf/routes +++ b/backend-services/feed-service/conf/routes @@ -7,21 +7,19 @@ GET / controllers.HomeController.index() # Map static resources from the /public folder to the /assets URL path -GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset) +GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset) -GET /daily/getAll controllers.DailyController.getAll() +POST /daily/create controllers.DailyController.create() -GET /daily/users controllers.DailyController.getUserDailies(userId: String) +GET /user/dailies controllers.DailyController.getUserDailies(userId: String) -GET /feed controllers.DailyController.getUserFeed(userId: String) +GET /feed controllers.DailyController.getUserFeed(userId: String) -POST /daily/create controllers.DailyController.create() +PUT /daily/like controllers.DailyController.like() -PUT /daily/like controllers.DailyController.like() +PUT /daily/unlike controllers.DailyController.unlike() -PUT /daily/unlike controllers.DailyController.unlike() +GET /test/getFriends controllers.TestController.getFriends(userId: String) -GET /test/getFriends controllers.TestController.getFriends(userId: String) - -GET /test/verifyUser controllers.TestController.verifyUser(userId: String) +GET /test/verifyUser controllers.TestController.verifyUser(userId: String) -- GitLab