Monitor an ongoing analysis
Monitors an ongoing analysis.
GET /v1/analyzer/git/monitor/:track_id/
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
track_id |
string | The unique identifier for the ongoing analysis. | Yes |
Request
curl -X GET 'https://api.y2ksecurity.com/v1/analyzer/git/monitor/1234-abcd/' \
-H 'Authorization: Token Y2KSEC_API_KEY'
Responses
200 OK
Example Content:
{
"repo": "https://github.com/username/repository",
"completed_count": 5,
"scanned_files": ["file1.py", "file2.py"],
"files_to_scan_next": ["file3.py", "file4.py"],
"all_tasks_done": false,
"total_files": 10,
"progress": "50%",
"current_task": "Running",
"report_url": "https://api.y2ksecurity.com/v1/analyzer/git/1234-abcd/"
}
404 NOT FOUND
Condition: If 'track_id' does not match any ongoing analysis.
Example Content:
{
"message": "No matching scan found for the given track id."
}