Get information about auto storage import scan.
Returns information about current or last finished auto storage import scan.
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string The Id of a space for which storage import stats should be returned. |
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE --host https://$HOST:9443 getAutoStorageImportInfo id=$SPACE_ID
Responses
Information of auto storage import mechanism in given space.
| Property | Type & Description |
|---|---|
status string Describes status of current (or last finished) auto storage import scan in given space. Enum: enqueuedrunningabortingcompletedfailedaborted | |
start integer Time at which current (or last finished) scan has been started. | |
stop integer Time at which current (or last finished) scan has been stopped. | |
createdFiles integer Counter of created files that has been detected during current (or last finished) scan. | |
modifiedFiles integer Counter of modified files that has been detected during current (or last finished) scan. | |
deletedFiles integer Counter of deleted files that has been detected during current (or last finished) scan. | |
nextScan integer Estimated time at which next scan will be enqueued. | |
totalScans integer Total number of performed scans. | |
Example
{
"status": "done",
"start": 1598871401,
"stop": 1598871427,
"createdFiles": 1146,
"modifiedFiles": 191,
"deletedFiles": 303,
"nextScan": 1598871487
}Unauthorized request.
Forbidden request.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Services needed to fulfill this request are not running.