Skip to content

Import page: callback endpoint for upload #6940

Description

@ebruchez

This calls for adding an optional callback endpoint once a user has uploaded a file on the Import page.

  • add new configuration property
  • implement callback
    • call endpoint
    • pass URL parameters

Useful information should be passed to the call:

  • body of the uploaded file
  • mediatype
  • filename
  • document-id if passed to the page
  • app/form/version
  • current language
    • doesn't really make sense
  • possibly: username?
    • doesn't really make sense
  • optionally: forward some headers, including Cookie
    • done with oxf.http.forward-cookies/oxf.http.forward-headers

+1 from customer

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions