Get details of an archive recall
If this file is a root of a past or ongoing archive recall, returns its details. Otherwise,
returns 404 NOT FOUND error.
Get archive recall details
curl -H "X-Auth-Token: $TOKEN" \
-X GET "https://$PROVIDER_HOST/api/v3/oneprovider/data/$FILE_ID/recall/details"
{
"archiveId": "$ARCHIVE_ID",
"datasetId": "$DATASET_ID",
"startTime": 1643103923417,
"finishTime": 1643103933417,
"totalFileCount" : 1,
"totalByteSize": 65536,
"lastError": {
"fileId": "$FILE_ID",
"reason": {
"description": "The resource could not be found.",
"id": "notFound"
}
}
}
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string File Id. |
Request Examples
oneprovider-rest-cli getArchiveRecallDetails id=$FILE_IDResponses
Archive recall details.
| Property | Type & Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
archiveId string Id of the archive that is being recalled. | |||||||||||||||||||||||||||||||
datasetId string Id of the dataset from which the archive was created. | |||||||||||||||||||||||||||||||
startTime integer Timestamp in milliseconds (UNIX epoch) when the recall started (null if not started yet). | |||||||||||||||||||||||||||||||
finishTime integer Timestamp in milliseconds (UNIX epoch) when the recall finished (null if not finished yet). | |||||||||||||||||||||||||||||||
totalFileCount integer Number of files in source archive (number of files that is to be copied by recall). | |||||||||||||||||||||||||||||||
totalByteSize integer Number of bytes in source archive (number of bytes that is to be copied by recall). | |||||||||||||||||||||||||||||||
lastError object Information about the last encountered error, or
| |||||||||||||||||||||||||||||||
Example
{
"archiveId": "$ARCHIVE_ID",
"datasetId": "$DATASET_ID",
"startTime": 1643103923417,
"finishTimes": 1643103933417,
"totalFileCount": 1,
"totalByteSize": 65536,
"lastError": {
"fileId": "$FILE_ID",
"reason": {
"description": "The resource could not be found.",
"id": "notFound"
}
}
}Invalid request.
| Property | Type & Description | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
error object (ErrorJson) Object describing an error.
| |||||||||||||||||||||||||||
Example
{
"error": {
"id": "example",
"description": "This is an example error.",
"ctx": {
"timestamp": 1750762637248,
"serviceReleaseVersion": "25.0",
"serviceId": "a7ee2722915b8bf7fb064eb65087cc61ch9357",
"serviceDomain": "dev-oneprovider-krakow.default.svc.cluster.local",
"serviceBuildVersion": "231-g8d26f953c3",
"service": "opw",
"onedataErrorsRevision": "ca3af8cb",
"module": "metadata_req",
"line": 45
}
}
}Forbidden request.
| Property | Type & Description | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
error object (ErrorJson) Object describing an error.
| |||||||||||||||||||||||||||
Example
{
"error": {
"id": "example",
"description": "This is an example error.",
"ctx": {
"timestamp": 1750762637248,
"serviceReleaseVersion": "25.0",
"serviceId": "a7ee2722915b8bf7fb064eb65087cc61ch9357",
"serviceDomain": "dev-oneprovider-krakow.default.svc.cluster.local",
"serviceBuildVersion": "231-g8d26f953c3",
"service": "opw",
"onedataErrorsRevision": "ca3af8cb",
"module": "metadata_req",
"line": 45
}
}
}This file is not a root of any archive recall.
| Property | Type & Description | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
error object (ErrorJson) Object describing an error.
| |||||||||||||||||||||||||||
Example
{
"error": {
"id": "example",
"description": "This is an example error.",
"ctx": {
"timestamp": 1750762637248,
"serviceReleaseVersion": "25.0",
"serviceId": "a7ee2722915b8bf7fb064eb65087cc61ch9357",
"serviceDomain": "dev-oneprovider-krakow.default.svc.cluster.local",
"serviceBuildVersion": "231-g8d26f953c3",
"service": "opw",
"onedataErrorsRevision": "ca3af8cb",
"module": "metadata_req",
"line": 45
}
}
}Internal server error.
| Property | Type & Description | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
error object (ErrorJson) Object describing an error.
| |||||||||||||||||||||||||||
Example
{
"error": {
"id": "example",
"description": "This is an example error.",
"ctx": {
"timestamp": 1750762637248,
"serviceReleaseVersion": "25.0",
"serviceId": "a7ee2722915b8bf7fb064eb65087cc61ch9357",
"serviceDomain": "dev-oneprovider-krakow.default.svc.cluster.local",
"serviceBuildVersion": "231-g8d26f953c3",
"service": "opw",
"onedataErrorsRevision": "ca3af8cb",
"module": "metadata_req",
"line": 45
}
}
}