Upload packet capture
POST
/agents/dumpsContract
Parameter | Value |
|---|---|
| Section | agents |
| Authentication | AgentAuth |
| Consumes | multipart/form-data |
| Produces | text/plain |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| dump | formData | yes | file | Captured .pcap file |
| X-File-Name | header | no | string | Overrides the stored filename |
{}
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | File uploaded successfully | string |
400 | Invalid file upload | object |
413 | File exceeds the maximum upload size | object |
500 | Failed to save packet capture | object |
{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }