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://$OP_PANEL_HOST:9443 getAutoStorageImportInfo id=$SPACE_ID
Responses
Information of auto storage import mechanism in given space.
Describes status of current (or last finished) auto storage import scan in given space.
Time at which current (or last finished) scan has been started.
Time at which current (or last finished) scan has been stopped.
Counter of created files (both directories and regular files) that has been detected during current (or last finished) scan.
Counter of modified files (both directories and regular files) that has been detected during current (or last finished) scan.
Counter of deleted files (both directories and regular files) that has been detected during current (or last finished) scan.
Counter of unmodified files (both directories and regular files) that has been detected during current (or last finished) scan.
Counter of files (both directories and regular files) for which the processing has failed during current (or last finished) scan.
Estimated time at which next scan will be enqueued.
Total number of performed scans.
Example
{
"status": "done",
"start": 1598871401,
"stop": 1598871427,
"createdFiles": 1146,
"modifiedFiles": 191,
"deletedFiles": 303,
"unmodifiedFiles": 1350,
"failedFiles": 1,
"nextScan": 1598871487
}Unauthorized request.
Forbidden request.
Internal server error.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
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.