Document staged uploads and script invocation from staged uploads - #382
Open
bram-atmire wants to merge 1 commit into
Open
Document staged uploads and script invocation from staged uploads#382bram-atmire wants to merge 1 commit into
bram-atmire wants to merge 1 commit into
Conversation
13 tasks
Describe the generic staging resource under /api/core/uploads: metadata
preflight against the multipart file-size limit, bounded chunk requests,
committed-progress reads, cancellation, states and the recorded result
that makes a repeated consuming request idempotent. Document the JSON
form of POST /api/system/scripts/{name}/processes that attaches staged
uploads as input files, and list the resource in the endpoint index.
Relates to DSpace/DSpace#13103 and DSpace/DSpace#13106.
Claude-Session: https://claude.ai/code/session_01HtPYmqfFzg7fmZgovGWP5A
bram-atmire
force-pushed
the
feature/saf-chunked-uploads
branch
from
September 12, 2026 09:57
491b3c8 to
8ae2fe3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
References
Description
Documents the generic staging resource under
/api/core/uploads: the metadata-only preflight againstspring.servlet.multipart.max-file-size, boundedPUTchunk requests with idempotent retries, committed-progress reads, cancellation, the upload states, and the recorded result that makes a repeated consuming request return the same resource. Documents the JSON form ofPOST /api/system/scripts/{name}/processesthat attaches staged uploads as input files, lists the resource in the endpoint index, and links it from the script invocation section. The existing multipart invocation remains supported and unchanged.This replaces an earlier SAF-specific version of this PR (
/api/system/scripts/import/uploads) after the discussion in DSpace/DSpace#13106: the resource is now target-agnostic so the submission form can use it next.https://claude.ai/code/session_01HtPYmqfFzg7fmZgovGWP5A