aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Transfers/API
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-06-07 14:45:04 -0500
committerGitHub <noreply@github.com>2026-06-07 14:45:04 -0500
commitb747b68ba0ba777be578e73bd1328fbde940e436 (patch)
tree160d23aeb8707dc04f81bb52e81913c1b77bb2a4 /src/slskd/Transfers/API
parente06999e5eec1616d93b34ffbab0eade617d1aaf6 (diff)
parent2d069bbf1f71f38e1286e27d45c24b478feb11ac (diff)
downloadslskd-b747b68ba0ba777be578e73bd1328fbde940e436.tar.gz
Merge branch 'master' into dependabot/npm_and_yarn/src/web/launch-editor-2.14.1
Diffstat (limited to 'src/slskd/Transfers/API')
-rw-r--r--src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs b/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
index c1b7d725..fe34bfec 100644
--- a/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
+++ b/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
@@ -106,8 +106,13 @@ public record EnqueueDownloadBatchOptions
/// <summary>
/// The destination directory for the files, relative to the configured download directory.
/// </summary>
- [RelativePath]
+ [RelativePath(OperatingSystem.All)]
[NonTraversingPath]
[String(AllowNull = true, AllowEmpty = false, AllowWhiteSpace = false, MinimumLength = 1)]
public string Destination { get; init; }
+
+ /// <summary>
+ /// An optional external ID for the batch.
+ /// </summary>
+ public string ExternalId { get; init; }
} \ No newline at end of file