You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The preservation Gateway functions as an aggregating cache for preservation requests originating with a repository and destined for a DDP via the OTM Bridge. This allows repositories to synchronously send content preservation in an asynchronous deep archive.

Repository Gateway API

PUT Object (deposit)


  • Purpose: Request preservation a Bag Object from the repository
  • Request: PUT /ObjectId HTTP/1.1

  • Request Body: Compressed Bag
  • Request Headers:
    • Content-Type
  • Response Code: 202 Accepted (on success)

HEAD Object (audit)

  • Purpose: Retrieve audit metadata
  • Request: GET /ObjectId HTTP/1.1

  • Request Body: n/a
  • Response Code: 200 OK


DELETE Object (destroy)

  • Purpose: Request removal of a Bag Object and all its contents
  • Request: DELETE /ObjectId HTTP/1.1

  • Request Body: n/a
  • Response Code: 204

POST Object Restore

  • Purpose: Request restore of a Bag Object and all its contents for later retrieval
  • Request: Post /ObjectId?restore HTTP/1.1

  • Request Body: n/a
  • Response Code:
    • 202 Accepted (if the object is not already restored)
    • 200 OK (if the object is already restored and available for retrieval)

GET Object (retrieve)

  • Purpose: Retrieve a restored object
  • Request: GET /ObjectId HTTP/1.1

  • Request Body: n/a
  • Response Code:
    • 200 OK (if the object is restored available)
    • 403 Forbidden (if the object has not been restored)

Authentication

Repository Client Authorization

Authentication with the OTM Bridge

OTM Bridge Interactions

Deposit Content

  • No labels