Versions Compared

Key

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

...

  • id: Long
  • name: String
  • depositor: String
  • createdAt: DateTime         // The date the bag was created in the ingest server
  • updatedAt: DateTime         // The last time the bag was updated
  • creator: String             // The user who created the bag in the ingest server
  • location: String            // Relative location
  • tokenLocation: String       // Relative location
  • tagManifestDigest: String   // Ignored in json output
  • tokenDigest: String         // Ignored in json output
  • status: BagStatus           // enum; ignored in json output
  • fixityAlgorithm: String     // currently SHA-256
  • size: Long                  // size in bytes
  • totalFiles: Long            // Number of files in the bag, including the tag files
  • replicatingNodes: Set<Node> // Nodes who have successfully replicated the bag
  • requiredReplications: Int   // Number of replications required for preservation

 

OUT OF DATE JSON Example:

{ "id": 1, "name": "bag-0", "depositor": "test-depositor", "location": "bags/test-bag-0", "tokenLocation": "tokens/test-bag-0-tokens", "fixityAlgorithm": "SHA-256", "size": 14821 }

...