Hi David, hi all,
> Sometimes, we want to just expose an API endpoint that third-parties can use for uploading objects,
This totally sounds like a use case for a SWORD API:
http://swordapp.org/swordv3/
> but sometimes we do want to do behind-the-scenes batch imports of large numbers (thousands) of large binary objects (1GB-1TB in size). It would be great if we could just upload those binaries (and OCFL metadata) into Object Storage and then tell Fedora to add them to its collection.
I'm not sure about the "side-loading" use case. The Fedora API
guarantees data consistency. Using another client to change the data
without Fedora noticing sounds like a delicate scenario. Especially when
checksum are in place to guaranty the data is still intact and has not
been tampered with. From Fedoras perspective this is unacceptable and it
should enforce a database rebuild.
> I do have some commentary about the HTTP API for indicating an OCFL object has been side-loaded, but I'm happy to add that to Jira. Basically, it's just that a batch option should be available, so that you could do 1 HTTP POST with many IDs.
It is certainly a good idea to improve the API so that it is better
suited for automation. I'm not sure whether this is already possible
through command line tooling?
> If a person needed to update an object, I suppose they could always do a delete via the Fedora API and then side-load again?
Or they would just do an update and keep the old version. Together with
an audit record documenting this activity. ;-)
Regards,
Ralf