mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Clean up routes
This commit is contained in:
parent
35dbcea931
commit
98bd61e364
@ -48,7 +48,7 @@ namespace Jellyfin.Api.Controllers.Images
|
|||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
public ActionResult<IEnumerable<ImageByNameInfo>> GetGeneralImages()
|
public ActionResult<IEnumerable<ImageByNameInfo>> GetGeneralImages()
|
||||||
{
|
{
|
||||||
return Ok(GetImageList(_applicationPaths.GeneralPath, false));
|
return GetImageList(_applicationPaths.GeneralPath, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -91,7 +91,7 @@ namespace Jellyfin.Api.Controllers.Images
|
|||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
public ActionResult<IEnumerable<ImageByNameInfo>> GetRatingImages()
|
public ActionResult<IEnumerable<ImageByNameInfo>> GetRatingImages()
|
||||||
{
|
{
|
||||||
return Ok(GetImageList(_applicationPaths.RatingsPath, false));
|
return GetImageList(_applicationPaths.RatingsPath, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -122,7 +122,7 @@ namespace Jellyfin.Api.Controllers.Images
|
|||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
public ActionResult<IEnumerable<ImageByNameInfo>> GetMediaInfoImages()
|
public ActionResult<IEnumerable<ImageByNameInfo>> GetMediaInfoImages()
|
||||||
{
|
{
|
||||||
return Ok(GetImageList(_applicationPaths.MediaInfoImagesPath, false));
|
return GetImageList(_applicationPaths.MediaInfoImagesPath, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user