/celery/small-files-report
Gets the Small Files report.
Request
GET http://unravel-host
:3000/api/v1/celery/small-files-report?avg_size_threshold={sizethreshold}&num_files_threshold={countthreshold}&top_n_small_files={topx}
Path parameters
None.
Query parameters
Required parameters are highlighted
.
Name | Type | Description |
---|---|---|
| string | File size threshold in bytes |
| string | File count threshold |
| string | "Top x" small files |
| string | Need to drill down subdirectories? (true or false) |
| string | Need to use average file size? (true or false) |
| string | Maximum depth of parent directories. |
| string | Minimum depth of parent directories. |
Response Body
Name | Type | Description |
---|---|---|
[no name] | array | JSON structure containing the Small Files report. |
Examples
Request:
curl -X GET "http://myserver.com:3000/api/v1/celery/small-files-report?avg_size_threshold=456&num_files_threshold=22&top_n_small_files=5" -H "accept: application/json" -H "Authorization: JWT token
"
Request body:
{ "task_id": "831e5966-3233-4400-ab0f-ed8a459859e3" }