...
Panel | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
Description: Deposit a Bag in Chronopolis Request Body: JSON
Response Codes: 201 (Success); 400 (invalid); 401 (unauthenticated); 403 (unauthorized); 409 (conflict) Response Body: Bag
Description: Retrieve a paginated listing of Bags in Chronopolis Query Parameters:
Response Codes: 200 (success); 401; 403 Response Body: Page<Bag>
Description: Retrieve a single Bag in Chronopolis by its id Response Codes: 200; 401; 403; 404 (Not Found)
Description: Create a StagingStorage object for a given Bag Request Body: Response Codes: 201, 400, 401, 403
Description: Get a StagingStorage object for a Bag defined by its StorageType Path Parameters:
Response Codes: 200, 401, 403, 404
Description: Create a Fixity for a given StagingStorage Path Parameters:
Request Body: Response Codes: 200, 400, 401, 403, 409 Response Body: Fixity
Description: Get all Fixities for a StagingStorage object on a Bag Path Parameters:
Response Codes: 200, 401, 403 Response Body: Page<Fixity>
Description: Get a Fixity for a StagingStorage object on a Bag Path Parameters:
Response Codes: 200, 401, 403, 404 Response Body: Fixity |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "id": 2, "size": 1030783586432, "totalFiles": 173357, "bagStorage": { "active": true, "size": 1030783586432, "region": 1, "totalFiles": 173357, "path": "ncar/acadis_20150419", "fixities": [ { "value": "c9680a2ec9a367f2f218a3d90dbcde3bcff9ed3eb8f7d9c61e525ba1735270da", "algorithm": "SHA-256", "createdAt": "2017-11-30T11:02:50.85746Z" } ] }, "tokenStorage": { "active": true, "size": 1, "region": 2, "totalFiles": 1, "path": "ncar/acadis_201504192015-06-06", "fixities": [ { "value": "67593e0c4b02a2cbeb1c2440589373654a44b7ef93c889f6290569e92ced21ea", "algorithm": "SHA-256", "createdAt": "2017-11-30T11:02:50.85746Z" } ] }, "createdAt": "2016-06-07T12:26:18.13944Z", "updatedAt": "2016-06-07T12:26:18.13944Z", "name": "acadis_20150419", "creator": "admin", "depositor": "ncar", "status": "PRESERVED", "requiredReplications": 3, "replicatingNodes": [ "ncar", "umiacs", "ucsd" ] } |
...