Skip to content

Document staged uploads and script invocation from staged uploads - #382

Open
bram-atmire wants to merge 1 commit into
DSpace:mainfrom
bram-atmire:feature/saf-chunked-uploads
Open

bram-atmire wants to merge 1 commit into
DSpace:mainfrom
bram-atmire:feature/saf-chunked-uploads

Conversation

@bram-atmire

@bram-atmire bram-atmire commented Sep 12, 2026

Copy link
Copy Markdown
Member

References

Description

Documents the generic staging resource under /api/core/uploads: the metadata-only preflight against spring.servlet.multipart.max-file-size, bounded PUT chunk 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 of POST /api/system/scripts/{name}/processes that 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

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 bram-atmire changed the title Document chunked SAF uploads for the import script Document staged uploads and script invocation from staged uploads Sep 12, 2026
@bram-atmire
bram-atmire force-pushed the feature/saf-chunked-uploads branch from 491b3c8 to 8ae2fe3 Compare September 12, 2026 09:57
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.

1 participant