mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16:11:10 +00:00
Adds the library statistics, history, resume, and deletion API endpoints
This commit is contained in:
1 parent
c27621818c
commit
dfd979ec1e
43 files changed
+3122
No files matched your search
+29
@@ -0,0 +1,29 @@
|
||||
namespace Lumina.Presentation.Api.Common.Routes.Library.Statistics;
|
||||
|
||||
/// <summary>
|
||||
/// Class for the collection of the library statistics routes of the API.
|
||||
/// </summary>
|
||||
public static partial class ApiRoutes
|
||||
{
|
||||
/// <summary>
|
||||
/// Routes for the consumption history, consumption statistics, and resume points of the current user, of another user, and of every user.
|
||||
/// </summary>
|
||||
public static class LibraryStatistics
|
||||
{
|
||||
public const string GET_RECENTLY_CONSUMED = "/users/me/consumption-history/recently-consumed";
|
||||
public const string GET_MOST_CONSUMED = "/users/me/consumption-history/most-consumed";
|
||||
public const string GET_CONSUMPTION_STATISTICS = "/users/me/consumption-statistics";
|
||||
public const string GET_TAG_CONSUMPTION = "/users/me/consumption-statistics/tags";
|
||||
public const string GET_USER_RECENTLY_CONSUMED = "/users/{userId}/consumption-history/recently-consumed";
|
||||
public const string GET_USER_MOST_CONSUMED = "/users/{userId}/consumption-history/most-consumed";
|
||||
public const string GET_USER_CONSUMPTION_STATISTICS = "/users/{userId}/consumption-statistics";
|
||||
public const string GET_USER_TAG_CONSUMPTION = "/users/{userId}/consumption-statistics/tags";
|
||||
public const string GET_ALL_USERS_CONSUMPTION_STATISTICS = "/users/consumption-statistics";
|
||||
public const string DELETE_CONSUMPTION_RECORD = "/users/me/consumption-history/{recordId}";
|
||||
public const string DELETE_USER_CONSUMPTION_RECORD = "/users/{userId}/consumption-history/{recordId}";
|
||||
public const string CLEAR_CONSUMPTION_HISTORY = "/users/me/consumption-history";
|
||||
public const string CLEAR_USER_CONSUMPTION_HISTORY = "/users/{userId}/consumption-history";
|
||||
public const string CLEAR_RESUME_POINTS = "/users/me/media-resume-points";
|
||||
public const string CLEAR_USER_RESUME_POINTS = "/users/{userId}/media-resume-points";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user