+ query('videoFileToken')
+ .optional()
+ .custom(exists),
+
+ query('reinjectVideoFileToken')
+ .optional()
+ .customSanitizer(toBooleanOrNull)
+ .isBoolean().withMessage('Should be a valid reinjectVideoFileToken boolean'),
+
+ query('playlistName')
+ .optional()
+ .customSanitizer(isSafePeerTubeFilenameWithoutExtension),