Get the report from a space auto-cleaning run
Returns the details of a specific auto-cleaning run.
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string The Id of a space. |
| report_id required | string The Id of an auto-cleaning report. |
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE --host https://$OP_PANEL_HOST:9443 getProviderSpaceAutoCleaningReports id=$SPACE_ID report_id=$REPORT_ID
Responses
The report from a space auto-cleaning run.
Id of an auto-cleaning report.
Index of an auto-cleaning report. It can be used to list report Ids starting from given report.
Start time of an auto-cleaning run in ISO 8601 format.
Finish time of an auto-cleaning run in ISO 8601 format.
Number of bytes deleted during an auto-cleaning run.
Number of bytes that should be deleted.
Number of deleted files.
Status of an auto-cleaning run.
Example
{
"id": "asdfhLfgPDGSDFASDHgI",
"index": "1290736458asdfhL",
"startedAt": "2017-06-22T13:29:39.654Z",
"stoppedAt": "2017-06-22T15:57:41.958Z",
"releasedBytes": 60000,
"bytesToRelease": 500,
"filesNumber": 10,
"status": "completed"
}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."
}
}