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).
8 lines
158 B
C#
8 lines
158 B
C#
#nullable enable
|
|
namespace ErsatzTV.Core.Api.Logs;
|
|
|
|
public record LogEntryResponseModel(
|
|
DateTimeOffset Timestamp,
|
|
string Level,
|
|
string Message);
|