Project

General

Profile

Task #4686

Story #3892: Need a content viewing / rendering service

Add proposed MNRead packaging service to the Architecture Docs

Added by Chris Jones about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Start date:
2014-04-04
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

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}
MNRead.getPackage(pid, packageType) -> Types.OctetStream

History

#1 Updated by Matthew Jones almost 10 years ago

  • Description updated (diff)

#2 Updated by Matthew Jones almost 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • translation missing: en.field_remaining_hours set to 0.0

Completed the API documentation. Note that I assigned the packageType parameter to the ObjectFormatIdentifier type. Checked into svn trunk under commit #r13786.

#3 Updated by Dave Vieglais over 9 years ago

  • Target version changed from 2014.14-Block.2.3 to CCI-2.0.0

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)