Celery endpoints
/celery/analyze-queue-data
Generates a Queue Analysis report.
GET http://unravel-host
:3000/api/v1/celery/analyze-queue-data?max_size=1000&version=2
None.
Required parameters are highlighted
.
Name | Type | Description |
---|---|---|
| string | Start date. Format |
| string | End date. Format |
Name | Type | Description |
---|---|---|
[no name] | array | JSON structure containing a Queue Analysis report. |
Request:
curl -X GET "http://myserver.com:3000/v1/celery/analyze-queue-data?max_size=1000&version=2" -H "accept: application/json" -H "Authorization: JWT token
"
Response:
/celery/cloud-mappings-grouped-reports
Generates a Cloud Mapping grouped report.
GET http://unravel-host
:3000/api/v1/celery/cloud-mappings-grouped-reports
None.
Required parameters are highlighted
.
Name | Type | Description |
---|---|---|
| string | |
| string |
Name | Type | Description |
---|---|---|
| integer | Task ID |
Request:
curl -X GET "http://myserver.com:3000/api/v1/cloud-mappings-grouped-reports" -H "accept: application/json" -H "Authorization: JWT token
"
Response body:
{ "task_id": "c097620d-b0c5-434c-8a94-76c83fcf28da" }
/celery/cloud-mappings-reports
Generates a Cloud Mappping report.
GET http://unravel-host
:3000/api/v1/celery/cloud-mappings-reports
None.
None.
Name | Type | Description |
---|---|---|
[no name] | array | JSON structure containing the report. |
Request:
curl -X GET "http://myserver.com:3000/api/v1/celery/cloud-mappings-reports" -H "accept: application/json" -H "Authorization: JWT token
"
Request body:
/celery/cloud_reports/cloud_providers
Generates a report on cloud providers.
GET http://unravel-host
:3000/api/v1/celery/cloud_reports/cloud_providers
None.
None.
Name | Type | Description |
---|---|---|
[no name] | array | JSON structure containing the report. |
Request:
curl -X GET "http://myserver.com:3000/api/v1/celery/cloud_reports/cloud_providers" -H "accept: application/json" -H "Authorization: JWT token
"
Request body:
/celery/cluster-discovery
Generates a Cluster Discovery report.
GET http://unravel-host
:3000/api/v1/celery/cluster-discovery
None.
None.
Name | Type | Description |
---|---|---|
[no name] | array | JSON structure containing information about the cluster(s). |
Request:
curl -X GET "http://myserver.com:3000/api/v1/celery/cluster-discovery" -H "accept: application/json" -H "Authorization: JWT token
"
Request body:
/celery/generate_cluster_app_param_report
Generates a cluster app parameter report.
GET http://unravel-host
:3000/api/v1/celery/generate_cluster_app_param_report
None.
None.
Name | Type | Description |
---|---|---|
[no name] | array | JSON structure containing the report. |
Request:
curl -X GET "http://myserver.com:3000/api/v1/celery/generate_cluster_app_param_report" -H "accept: application/json" -H "Authorization: JWT token
"
Request body:
/celery/predict_capacity
Generates a Forecasting report.
GET http://unravel-host
:3000/api/v1/celery/predict_capacity
None.
None.
Name | Type | Description |
---|---|---|
[no name] | array | JSON structure containing a Forecasting report. |
Request:
curl -X GET "http://myserver.com:3000/api/v1/celery/predict_capacity" -H "accept: application/json" -H "Authorization: JWT token
"
Request body:
/celery/small-files-report
Gets the Small Files report.
GET http://unravel-host
:3000/api/v1/celery/small-files-report?avg_size_threshold={sizethreshold}&num_files_threshold={countthreshold}&top_n_small_files={topx}
None.
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. |
Name | Type | Description |
---|---|---|
[no name] | array | JSON structure containing the Small Files report. |
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" }