Add GET /api/logs (thin wrapper over GetRecentLogEntries; paged, filtered,
clamped pageSize like LibraryBrowseController) and GET /api/troubleshoot/info
(wraps GetTroubleshootingInfo; General section serialized to the same JSON
shape the legacy Blazor Troubleshooting page renders, plus per-platform
capability dumps). Also adds [EndpointGroupName("general")] to the existing
troubleshoot playback endpoints so they surface in the OpenAPI spec (#158
item 3).
7 lines
155 B
C#
7 lines
155 B
C#
#nullable enable
|
|
namespace ErsatzTV.Core.Api.Logs;
|
|
|
|
public record PagedLogEntriesResponseModel(
|
|
int TotalCount,
|
|
List<LogEntryResponseModel> Page);
|