Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleManifest REST Methods

Get Manifest

  • Purpose: Returns the manifest for a given space and storeId
  • Request: GET https://host:port/durastore/manifest/{spaceId} ? (storeID) (format)
    • Optional parameter 'storeID': if not set, primary store storage provider is used.
    • Optional parameter 'format': TSV or BAGIT. TSV is default.
  • Response Code: 200 (on success), 404 if manifest was empty not found.

  • Response Body: TSV in chronological order with the following fields.

    Code Block
    titleTSV results
    space-id	content-id	MD5
    auditlogs	localhost/51/auditlogs/localhost_51_auditlogs-2014-09-10-15-56-07.tsv	6992f8e57dafb17335f766aa2acf5942
    auditlogs	localhost/51/photos/localhost_51_photos-2014-09-10-15-55-01.tsv	820e786633fb495db447dc5d5cf0b2bd
    
    
Panel
titleBit Integrity REST Methods

Get Latest Bit Integrity Report

  • Purpose: Returns the latest bit integrity report for a given space and store
  • Request: GET https://host:port/durastore/bit-integrity/{spaceId} ? (storeID)
    • Optional parameter 'storeID': if not set, primary store storage provider is used.
  • Response Code: 200 (on success), 404 if manifest was empty foundspace doesn't exist. 204 if no report is available for that space.

  • Response Head contains the following fields
    • Bit-Integrity-Report-Completion-Date: yyyy-MM-ddTHH:mm:ss
    • Bit-Integrity-Report-Result: (SUCCESS or FAILURE)
  • Response Body: TSV with the following fields.

    Code Block
    titleTSV results
    date-checked	account	store-id	store-type	space-id	content-id	result	content-checksum	provider-checksum	manifest-checksum	details

    In order to retrieve just the headers use the HEAD http method.

...