Get the list of all pcap files which are available for analyzing
/pcaps/
curl -L \ --url 'https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/pcaps/'
{ "pcaps": [ "tcp_bbc-out-of-order.pcap" ] }
Update a pcap file to analyse
curl -L \ --request POST \ --url 'https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/pcaps/' \ --header 'Content-Type: multipart/form-data' \ --form 'pcapFile=text'
{ "pcapFile": "text" }
Delete all pcaps
curl -L \ --request DELETE \ --url 'https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/pcaps/'
No body