Usenet streaming with a WebDAV server and a SABnzbd-compatible API
C#
Included nzb_blob_id in GetHistory API response.
nzbdav-dev6b9fd432b762
diff --git a/backend/Api/SabControllers/GetHistory/GetHistoryResponse.cs b/backend/Api/SabControllers/GetHistory/GetHistoryResponse.csindex 6467db9b..10dcaa8c 100644--- a/backend/Api/SabControllers/GetHistory/GetHistoryResponse.cs+++ b/backend/Api/SabControllers/GetHistory/GetHistoryResponse.cs@@ -48,6 +48,9 @@ public class GetHistoryResponse : SabBaseResponse[JsonPropertyName("fail_message")]public string FailMessage { get; set; }+ [JsonPropertyName("nzb_blob_id")]+ public string? NzbBlobId { get; set; }+public static HistorySlot FromHistoryItem(HistoryItem historyItem,@@ -66,6 +69,7 @@ public class GetHistoryResponse : SabBaseResponseDownloadPath = GetDownloadPath(historyItem, downloadFolder, configManager),DownloadTimeSeconds = historyItem.DownloadTimeSeconds,FailMessage = historyItem.FailMessage ?? "",+ NzbBlobId = historyItem.NzbBlobId?.ToString(),};}