+ asyncMiddleware(accountNameWithHostGetValidator),
+ videoChannelStatsValidator,
+ paginationValidator,
+ videoChannelsSortValidator,
+ setDefaultSort,
+ setDefaultPagination,
+ asyncMiddleware(listAccountChannels)
+)
+
+accountsRouter.get('/:accountName/video-channel-syncs',
+ authenticate,
+ asyncMiddleware(accountNameWithHostGetValidator),
+ ensureCanManageChannelOrAccount,
+ paginationValidator,
+ videoChannelSyncsSortValidator,
+ setDefaultSort,
+ setDefaultPagination,
+ asyncMiddleware(listAccountChannelsSync)
+)
+
+accountsRouter.get('/:accountName/video-playlists',
+ optionalAuthenticate,
+ asyncMiddleware(accountNameWithHostGetValidator),
+ paginationValidator,
+ videoPlaylistsSortValidator,
+ setDefaultSort,
+ setDefaultPagination,
+ commonVideoPlaylistFiltersValidator,
+ videoPlaylistsSearchValidator,
+ asyncMiddleware(listAccountPlaylists)
+)
+
+accountsRouter.get('/:accountName/ratings',
+ authenticate,
+ asyncMiddleware(accountNameWithHostGetValidator),
+ ensureAuthUserOwnsAccountValidator,
+ paginationValidator,
+ videoRatesSortValidator,
+ setDefaultSort,
+ setDefaultPagination,
+ videoRatingValidator,
+ asyncMiddleware(listAccountRatings)
+)
+
+accountsRouter.get('/:accountName/followers',
+ authenticate,
+ asyncMiddleware(accountNameWithHostGetValidator),
+ ensureAuthUserOwnsAccountValidator,
+ paginationValidator,
+ accountsFollowersSortValidator,
+ setDefaultSort,
+ setDefaultPagination,
+ asyncMiddleware(listAccountFollowers)