Adds music play history persistence and reporting endpoints

This commit is contained in:
BinaryAlley committed 2026-10-19 22:16:09 +03:00
1 parent 9919965a73
commit 009a0c8156
55 files changed
+6426 -3

No files matched your search

@@ -0,0 +1,19 @@
namespace Lumina.Presentation.Api.Common.Routes.Library.AudioLibrary.MusicLibrary;
/// <summary>
/// Class for the collection of the music play history routes of the API.
/// </summary>
public static partial class ApiRoutes
{
/// <summary>
/// Routes for the music play history of the current user.
/// </summary>
public static class PlayHistory
{
public const string START_PLAY = "/libraries/{libraryId}/artists/{artistId}/albums/{albumId}/tracks/{trackId}/plays";
public const string GET_PLAY = "/users/me/music-play-history/plays/{playRecordId}";
public const string REPORT_PLAY_PROGRESS = "/users/me/music-play-history/plays/{playRecordId}/progress";
public const string COMPLETE_PLAY = "/users/me/music-play-history/plays/{playRecordId}/complete";
public const string STOP_PLAY = "/users/me/music-play-history/plays/{playRecordId}/stop";
}
}