浏览代码

update comments

Jason Dove 3 年之前
父节点
当前提交
82df4c3242
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Jellyfin.Api/Controllers/ItemsController.cs
  2. 1 1
      Jellyfin.Api/Controllers/TrailersController.cs

+ 1 - 1
Jellyfin.Api/Controllers/ItemsController.cs

@@ -69,7 +69,7 @@ namespace Jellyfin.Api.Controllers
         /// <summary>
         /// Gets items based on a query.
         /// </summary>
-        /// <param name="userId">The user id supplied as query parameter.</param>
+        /// <param name="userId">The user id supplied as query parameter; this is required when not using an API key.</param>
         /// <param name="maxOfficialRating">Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).</param>
         /// <param name="hasThemeSong">Optional filter by items with theme songs.</param>
         /// <param name="hasThemeVideo">Optional filter by items with theme videos.</param>

+ 1 - 1
Jellyfin.Api/Controllers/TrailersController.cs

@@ -32,7 +32,7 @@ namespace Jellyfin.Api.Controllers
         /// <summary>
         /// Finds movies and trailers similar to a given trailer.
         /// </summary>
-        /// <param name="userId">Optional user id.</param>
+        /// <param name="userId">The user id supplied as query parameter; this is required when not using an API key.</param>
         /// <param name="maxOfficialRating">Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).</param>
         /// <param name="hasThemeSong">Optional filter by items with theme songs.</param>
         /// <param name="hasThemeVideo">Optional filter by items with theme videos.</param>