local files into DLCS
Opened this issue · 0 comments
tomcrane commented
Individual files, or whole folders, with rules about naming and which (if any) metadata fields to use as a counter.
Two approaches.
-
The dlcs-cli has knowledge of and access to a bucket that the DLCS can use as origin. The CLI puts the images in the bucket, then uses the DLCS API to ingest them from there. The cli user needs AWS creds and the app uses boto.
-
The client gets the images into the DLCS through multipart form uploads. It POSTs them. This needs new DLCS API to accept an image. The DLCS creates a new origin and looks after it from that point.
https://blog.marcinbudny.com/2014/02/sending-binary-data-along-with-rest-api.html