|
|
|
@ -1,10 +1,8 @@
|
|
|
|
|
#nullable enable
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Jellyfin.Api.Constants;
|
|
|
|
|
using MediaBrowser.Controller.Devices;
|
|
|
|
|
using MediaBrowser.Controller.Net;
|
|
|
|
|
using MediaBrowser.Controller.Security;
|
|
|
|
|
using MediaBrowser.Controller.Session;
|
|
|
|
|
using MediaBrowser.Model.Devices;
|
|
|
|
@ -45,8 +43,8 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Get Devices.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="supportsSync">/// Gets or sets a value indicating whether [supports synchronize].</param>
|
|
|
|
|
/// <param name="userId">/// Gets or sets the user identifier.</param>
|
|
|
|
|
/// <param name="supportsSync">Gets or sets a value indicating whether [supports synchronize].</param>
|
|
|
|
|
/// <param name="userId">Gets or sets the user identifier.</param>
|
|
|
|
|
/// <response code="200">Devices retrieved.</response>
|
|
|
|
|
/// <returns>An <see cref="OkResult"/> containing the list of devices.</returns>
|
|
|
|
|
[HttpGet]
|
|
|
|
|