Get the list of all pcap files which are available for analyzing
Successful operation
Update a pcap file to analyse
Delete all pcaps
Successful delete all uploaded pcaps
const response = await fetch('https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/pcaps/', { method: 'GET', headers: {}, }); const data = await response.json();
{ "pcaps": [ "tcp_bbc-out-of-order.pcap" ] }
const response = await fetch('https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/pcaps/', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({}), }); const data = await response.json();
{ "pcapFile": "text" }
const response = await fetch('https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/pcaps/', { method: 'DELETE', headers: {}, }); const data = await response.json();