List PCAP sessions
GET
/files/{id}/pcap-sessionsContract
Parameter | Value |
|---|---|
| Section | files |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | File ID |
Responses
5 responses
Status | Description | Type |
|---|---|---|
200 | PCAP information: {packetCount, sessions[]} | object |
400 | Invalid file ID or invalid PCAP file | object |
401 | Unauthorized | object |
404 | File not found in the database or on disk | object |
500 | Failed to read file | object |
{ "cursor": { "count": 0, "currentPage": 0, "totalPages": 0, "totalRows": 0 }, "data": {} }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }