Download OpenAPI specification:Download
{- "id": 0,
- "resource_uri": "string",
- "completed": true,
- "was_error": true,
- "created_time": "2019-08-24T14:15:22Z",
- "updated_time": "2019-08-24T14:15:22Z",
- "completed_time": "2019-08-24T14:15:22Z",
- "result": null,
- "error": "string"
}| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
{- "uuid": "e3bae040-7682-4457-aef8-20a419aed0bd",
- "current_full_path": "string",
- "current_location": "string",
- "current_path": "string",
- "encrypted": true,
- "origin_pipeline": "string",
- "package_type": "AIP",
- "related_packages": [
- "string"
], - "replicas": [
- "string"
], - "replicated_package": "string",
- "resource_uri": "string",
- "size": 0,
- "status": "string",
- "stored_date": "2019-08-24T14:15:22Z"
}Run a fixity check for the specified package.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| force_local | boolean |
{- "success": true,
- "message": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "failures": {
- "files": {
- "missing": [
- "string"
], - "changed": [
- "string"
], - "untracked": [
- "string"
]
}
}
}Create an AIP deletion request for this package. This does not perform the deletion itself.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| event_reason required | string Explanation recorded with the deletion request. |
| pipeline required | string <uuid> UUID of the pipeline creating the deletion request. |
| user_id required | integer <int32> Identifier of the user creating the deletion request. |
| user_email required | string Email address of the user creating the deletion request. |
{- "event_reason": "string",
- "pipeline": "e3bae040-7682-4457-aef8-20a419aed0bd",
- "user_id": 0,
- "user_email": "string"
}{- "error_message": "string"
}Download the package archive. Successful responses stream the file body.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
{- "error": true,
- "message": "string"
}Check package download availability. The current server implementation handles HEAD the same way as GET.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
Download a LOCKSS package chunk. Successful responses stream the file body.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| chunkNumber required | integer <int32> |
{- "error": true,
- "message": "string"
}Check LOCKSS package chunk download availability. The current server implementation handles HEAD the same way as GET.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| chunkNumber required | integer <int32> |
Download a single file from the package. Compressed packages may be extracted on demand.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| relative_path_to_file required | string |
{- "error": true,
- "message": "string"
}Check extracted-file download availability. The current server implementation handles HEAD the same way as GET.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| relative_path_to_file required | string |
Move the package to a different storage location.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| location_uuid required | string <uuid> (uuid) UUID identifier. Storage Service uses UUIDv4 values. |
{- "error": "string"
}Approve or reject an AIP deletion request associated with this package.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| event_id required | integer <int32> ID of the deletion request event to review. |
| decision required | string Enum: "approve" "reject" Decision to record. Accepted values are "approve" and "reject". |
| reason required | string Explanation that will be stored alongside the decision. |
{- "event_id": 0,
- "decision": "approve",
- "reason": "string"
}{- "message": "string",
- "detail": "string"
}| description | string |
| purpose | string (LocationPurpose) Enum: "AR" "AS" "CP" "DS" "SD" "SS" "BL" "TS" "RP" |
| quota | integer |
| relative_path | string |
| used | integer |
| uuid | string <uuid> (uuid) Example: uuid=e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| pipeline__uuid | string <uuid> (uuid) Example: pipeline__uuid=e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| order_by | string |
| limit | integer |
| offset | integer |
{- "meta": {
- "limit": 0,
- "next": "string",
- "offset": 0,
- "previous": "string",
- "total_count": 0
}, - "objects": [
- {
- "description": "string",
- "enabled": true,
- "path": "string",
- "pipeline": [
- "string"
], - "purpose": "AR",
- "quota": 0,
- "relative_path": "string",
- "resource_uri": "string",
- "space": "string",
- "used": 0,
- "uuid": "e3bae040-7682-4457-aef8-20a419aed0bd"
}
]
}| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
{- "description": "string",
- "enabled": true,
- "path": "string",
- "pipeline": [
- "string"
], - "purpose": "AR",
- "quota": 0,
- "relative_path": "string",
- "resource_uri": "string",
- "space": "string",
- "used": 0,
- "uuid": "e3bae040-7682-4457-aef8-20a419aed0bd"
}Move files to the specified location.
| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
| origin_location required | string URI of the Location the files should be moved from. |
| pipeline required | string URI of the pipeline. |
required | Array of objects (moveFile) List of objects containing |
{- "origin_location": "string",
- "pipeline": "string",
- "files": [
- {
- "source": "string",
- "destination": "string"
}
]
}{- "error": "string"
}| description | string |
| uuid | string <uuid> (uuid) Example: uuid=e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
{- "meta": {
- "limit": 0,
- "next": "string",
- "offset": 0,
- "previous": "string",
- "total_count": 0
}, - "objects": [
- {
- "description": "string",
- "remote_name": "string",
- "resource_uri": "string",
- "uuid": "e3bae040-7682-4457-aef8-20a419aed0bd"
}
]
}| uuid required | string <uuid> (uuid) Example: e3bae040-7682-4457-aef8-20a419aed0bd UUID identifier. Storage Service uses UUIDv4 values. |
{- "description": "string",
- "remote_name": "string",
- "resource_uri": "string",
- "uuid": "e3bae040-7682-4457-aef8-20a419aed0bd"
}