mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 21:37:59 +03:00
[PR #14361] [CLOSED] Add endpoint to fetch a random movie #13957
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/14361
Author: @SkyLostTR
Created: 6/21/2025
Status: ❌ Closed
Base:
master← Head:master📝 Commits (6)
4c93b32Add random movie endpoint863df98Merge pull request #1 from SkyLostTR/codex/add-random-movie-suggestion-feature1e9bb21docs: document random movies API endpointe49ee60Merge pull request #2 from SkyLostTR/codex/update-readme-with-get-/movies/random-details611503cAdd MoviesController unit testse69914fMerge pull request #3 from SkyLostTR/codex/create-moviescontrollertests-with-mocks📊 Changes
3 files changed (+161 additions, -0 deletions)
View changed files
📝
Jellyfin.Api/Controllers/MoviesController.cs(+50 -0)📝
README.md(+27 -0)➕
tests/Jellyfin.Api.Tests/Controllers/MoviesControllerTests.cs(+84 -0)📄 Description
Changes
GET /Randomendpoint in the Movies controller.userIdquery parameter to filter results and attach user-specific data.DtoOptions.200 OKwith the movie DTO if found; otherwise, returns404 Not Found.Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.