Merge pull request #4468 from cvium/revert_similar_name_removal
Semi-revert removal of Name for /Similar in openapi
This commit is contained in:
commit
a044622b15
|
@ -681,12 +681,12 @@ namespace Jellyfin.Api.Controllers
|
||||||
/// <param name="fields">Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.</param>
|
/// <param name="fields">Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.</param>
|
||||||
/// <response code="200">Similar items returned.</response>
|
/// <response code="200">Similar items returned.</response>
|
||||||
/// <returns>A <see cref="QueryResult{BaseItemDto}"/> containing the similar items.</returns>
|
/// <returns>A <see cref="QueryResult{BaseItemDto}"/> containing the similar items.</returns>
|
||||||
[HttpGet("Artists/{itemId}/Similar")]
|
[HttpGet("Artists/{itemId}/Similar", Name = "GetSimilarArtists")]
|
||||||
[HttpGet("Items/{itemId}/Similar")]
|
[HttpGet("Items/{itemId}/Similar")]
|
||||||
[HttpGet("Albums/{itemId}/Similar")]
|
[HttpGet("Albums/{itemId}/Similar", Name = "GetSimilarAlbums")]
|
||||||
[HttpGet("Shows/{itemId}/Similar")]
|
[HttpGet("Shows/{itemId}/Similar", Name = "GetSimilarShows")]
|
||||||
[HttpGet("Movies/{itemId}/Similar")]
|
[HttpGet("Movies/{itemId}/Similar", Name = "GetSimilarMovies")]
|
||||||
[HttpGet("Trailers/{itemId}/Similar")]
|
[HttpGet("Trailers/{itemId}/Similar", Name = "GetSimilarTrailers")]
|
||||||
[Authorize(Policy = Policies.DefaultAuthorization)]
|
[Authorize(Policy = Policies.DefaultAuthorization)]
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
public ActionResult<QueryResult<BaseItemDto>> GetSimilarItems(
|
public ActionResult<QueryResult<BaseItemDto>> GetSimilarItems(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user