| 12345678910111213141516171819202122232425262728293031 |
- namespace Application.Features.Admin.Channel.YouTubePubSub.GetHealth;
- public sealed record ChannelHealthItem(
- string YouTubeChannelID,
- string? ChannelName,
- string? Handle,
- bool IsActive,
- bool IsSubscribed,
- DateTime? LastPolledAtUtc,
- DateTime? LeaseExpiresAtUtc,
- string? LastProcessedVideoId
- );
- public sealed record Response(
- // 설정 정보 (masked)
- bool ApiKeyConfigured,
- string? ApiKeyMaskedTail,
- bool HmacSecretConfigured,
- string? HmacSecretMaskedTail,
- string CallbackUrl,
- int FeedPollingIntervalMinutes,
- // 실시간 상태
- int ActiveLiveChatCollectors,
- int ActiveLiveVideosCount,
- int SubscribedChannelsCount,
- int ActiveInternalChannelsCount,
- // 채널별 상세
- IReadOnlyList<ChannelHealthItem> Channels
- );
|