Skip to content

Use admin's sessionId when setting DownloadStatus to PREPARING#96

Merged
patrick-austin merged 2 commits intomasterfrom
95_setDownloadStatus_use_sessionId
Sep 9, 2025
Merged

Use admin's sessionId when setting DownloadStatus to PREPARING#96
patrick-austin merged 2 commits intomasterfrom
95_setDownloadStatus_use_sessionId

Conversation

@patrick-austin
Copy link

Similarly to how calls to PUT /download/{id}/prepare use the admin's sessionId for the call to the IDS, now calls to PUT /download/{id}/status with a status of PREPARING will also overwrite the (old) sessionId with the new one in the request. We are already doing this in the former location, and the contents of the cart should already be authorized (by adding the individual items to a cart or when queuing for the first time).

Closes #95

@patrick-austin patrick-austin merged commit 3404c98 into master Sep 9, 2025
2 checks passed
@patrick-austin patrick-austin deleted the 95_setDownloadStatus_use_sessionId branch September 9, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Start queued download(s) option in admin script problem

2 participants