Get the list of all pcap files of a given dataset which can be analyze in dataset mode
/pcaps/dataset/{datasetName}
Name of the dataset
ip-dataset01
curl -L \ --url 'https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/pcaps/dataset/{datasetName}'
{ "pcaps": [ "ip_ping_local_ip_fragmentation.pcap" ] }
Update a list of pcap files to build a dataset
my_dataset
curl -L \ --request POST \ --url 'https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/pcaps/dataset/{datasetName}' \ --header 'Content-Type: multipart/form-data' \ --form 'pcapFiles=text'
{ "pcapFileName": "my_dataset.pcap" }
Delete the dataset and its pcap files
curl -L \ --request DELETE \ --url 'https://virtserver.swaggerhub.com/strongcourage/MAIP/v1/pcaps/dataset/{datasetName}'
No body