aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-06-06 11:15:20 -0500
committerGitHub <noreply@github.com>2026-06-06 11:15:20 -0500
commitec836b73cf40226d7a754b42762f4dab44b97749 (patch)
tree06030fad73ed32f4701f88a2dc492f83e7fc8a81 /src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
parent2e3fd1d2f66a9f5ec2b1ec80d6c19348529cab63 (diff)
parentd35ac4573e2ac5817af3a2b9a6025d41959b9caf (diff)
downloadslskd-ec836b73cf40226d7a754b42762f4dab44b97749.tar.gz
Merge pull request #1746 from slskd/destination
Add options providing granular control over download location
Diffstat (limited to 'src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs')
-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