Home

/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

avg_size_thresholdavg_size_threshold

string

File size threshold in bytes

num_files_thresholdnum_files_threshold

string

File count threshold

top_n_small_filestop_n_small_files

string

"Top x" small files

drill_down_subdirs_flag

string

Need to drill down subdirectories? (true or false)

use_avg_file_size_flag

string

Need to use average file size? (true or false)

max_parent_dir_depth

string

Maximum depth of parent directories.

min_parent_dir_depth

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"
}