Project

General

Profile

Task #4686

Updated by Matthew Jones almost 10 years ago

We need a means of consistently providing a downloadable package of science data and science metadata documents. The BagIt specification has been proposed in Architecture Documents, and a prototype of this service has been implemented in Metacat, see https://projects.ecoinformatics.org/ecoinfo/issues/6290.

Update the Architecture documents to include an MNRead.getPackage(pid) API call. From the prototype:

GET /packages/{pid}
MNRead.getPackage(pid) -> Types.OctetStream

Returns a package of associated data and metadata documents as they are defined in the resource map that {pid} participates in. The service MUST set the HTTP Content-Type header appropriately (like application/zip), and name the package appropriately in the HTTP Content-Disposition header.

We may also consider other download formats other than BagIt zip files, so something like:

GET /packages/{packageType}/{pid} /packages/{format}/{pid}
MNRead.getPackage(pid, packageType) format) -> Types.OctetStream


Back

Add picture from clipboard (Maximum size: 14.8 MB)