+activityPubClientRouter.get('/accounts?/:name',
+ executeIfActivityPub,
+ asyncMiddleware(localAccountValidator),
+ accountController
+)
+activityPubClientRouter.get('/accounts?/:name/followers',
+ executeIfActivityPub,
+ asyncMiddleware(localAccountValidator),
+ asyncMiddleware(accountFollowersController)
+)
+activityPubClientRouter.get('/accounts?/:name/following',
+ executeIfActivityPub,
+ asyncMiddleware(localAccountValidator),
+ asyncMiddleware(accountFollowingController)
+)
+activityPubClientRouter.get('/accounts?/:name/playlists',
+ executeIfActivityPub,
+ asyncMiddleware(localAccountValidator),
+ asyncMiddleware(accountPlaylistsController)
+)
+activityPubClientRouter.get('/accounts?/:name/likes/:videoId',
+ executeIfActivityPub,
+ asyncMiddleware(getAccountVideoRateValidator('like')),
+ getAccountVideoRate('like')
+)
+activityPubClientRouter.get('/accounts?/:name/dislikes/:videoId',
+ executeIfActivityPub,
+ asyncMiddleware(getAccountVideoRateValidator('dislike')),
+ getAccountVideoRate('dislike')
+)
+
+activityPubClientRouter.get('/videos/watch/:id',
+ executeIfActivityPub,
+ asyncMiddleware(cacheRoute(ROUTE_CACHE_LIFETIME.ACTIVITY_PUB.VIDEOS)),
+ asyncMiddleware(videosCustomGetValidator('only-video-with-rights')),
+ asyncMiddleware(videoController)
+)
+activityPubClientRouter.get('/videos/watch/:id/activity',
+ executeIfActivityPub,
+ asyncMiddleware(videosCustomGetValidator('only-video-with-rights')),
+ asyncMiddleware(videoController)
+)
+activityPubClientRouter.get('/videos/watch/:id/announces',
+ executeIfActivityPub,
+ asyncMiddleware(videosCustomGetValidator('only-video')),
+ asyncMiddleware(videoAnnouncesController)
+)
+activityPubClientRouter.get('/videos/watch/:id/announces/:actorId',
+ executeIfActivityPub,
+ asyncMiddleware(videosShareValidator),
+ asyncMiddleware(videoAnnounceController)
+)
+activityPubClientRouter.get('/videos/watch/:id/likes',
+ executeIfActivityPub,
+ asyncMiddleware(videosCustomGetValidator('only-video')),
+ asyncMiddleware(videoLikesController)
+)
+activityPubClientRouter.get('/videos/watch/:id/dislikes',
+ executeIfActivityPub,
+ asyncMiddleware(videosCustomGetValidator('only-video')),
+ asyncMiddleware(videoDislikesController)
+)
+activityPubClientRouter.get('/videos/watch/:id/comments',
+ executeIfActivityPub,
+ asyncMiddleware(videosCustomGetValidator('only-video')),
+ asyncMiddleware(videoCommentsController)
+)
+activityPubClientRouter.get('/videos/watch/:videoId/comments/:commentId',
+ executeIfActivityPub,
+ asyncMiddleware(videoCommentGetValidator),
+ asyncMiddleware(videoCommentController)
+)
+activityPubClientRouter.get('/videos/watch/:videoId/comments/:commentId/activity',
+ executeIfActivityPub,
+ asyncMiddleware(videoCommentGetValidator),
+ asyncMiddleware(videoCommentController)
+)
+
+activityPubClientRouter.get('/video-channels/:name',
+ executeIfActivityPub,
+ asyncMiddleware(localVideoChannelValidator),
+ asyncMiddleware(videoChannelController)
+)
+activityPubClientRouter.get('/video-channels/:name/followers',
+ executeIfActivityPub,
+ asyncMiddleware(localVideoChannelValidator),
+ asyncMiddleware(videoChannelFollowersController)
+)
+activityPubClientRouter.get('/video-channels/:name/following',
+ executeIfActivityPub,
+ asyncMiddleware(localVideoChannelValidator),
+ asyncMiddleware(videoChannelFollowingController)