Skip to content

Support resumable/pre-filled upload sessions for external integrations #2

Description

@Fidasek009

We are integrating MDDB-VRE Lite into MDDash (https://mddash.dyn.cloud.e-infra.cz/, https://github.com/CERIT-SC/mddash), a separate VRE/workflow application for molecular dynamics experiments. MDDash already has an automatic publication flow for InvenioRDM repositories: our backend creates a draft deposition, uploads files, then redirects the user to the repository draft UI to review metadata and explicitly publish.

We would like to offer a similar flow for MDPosit/MDDB through VRE Lite.

What we are trying to do

From MDDash, we would like to:

  1. Prepare or upload the required metadata and MD files from the MDDash backend.
  2. Create a VRE Lite upload/review session.
  3. Redirect the user to VRE Lite.
  4. Let the user review/fill missing metadata, verify uploaded files, and continue the normal VRE Lite publication/upload flow.

Current blocker

From reading the public repository and testing the deployed API, it looks like VRE Lite currently supports:

  • POST /api/upload, which uploads/stages files and returns only a success message.
  • GET /api/mc?bucket=..., which returns temporary S3/MinIO upload commands for large files.
  • The browser UI flow, where metadata/form state appears to be kept client-side and is not restorable through a URL/session ID.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions