GET /reports/queueanalysis/get_latest_report_queue_names
New API: /ondemand_reports/report_by_name?end_time={end_time}&start_time={start_time}&name={report name}
Gives report by name.
Request
GET http://<unravel-host>
:3000/api/v1/ondemand_reports/report_by_name?end_time={end_time}
&start_time={start_time}
&name={report name}
Path parameters
None.
Required parameters are highlighted
.
Name | Type | Description |
---|---|---|
| string | Start date and time. Format For example: 2022-03-30T12:14:00+05:30 |
| string | End date and time. Format For example, 2021-12-31T12:14:00+05:30 |
| string | Name of the report.
|
Examples
Request:
curl -X GET "http://myserver.com:3000/api/v1/ondemand_reports/report_by_name?end_time=2020-12-09T19:33:30%2B05:30&start_time=2020-09-11T19:33:30%2B05:30&name=queue_analysis_task" -H "accept: application/json" -H "Authorization: JWT <token>
"
Response:
[ { "entity_id": "140460434633315", "task_type": 200, "task_name": "Queue Analysis-140460434633315", "task_status": "SUCCESS", "created_at": "2022-03-23T11:09:05.000Z", "failure_message": "", "task_result": "", "task_key": "queue_analysis_task" } ]