Dataset
Get the list of all pcap files of a given dataset which can be analyze in dataset mode
Path parameters
datasetNamestringRequiredExample:
Name of the dataset
ip-dataset01
Responses
200
Successful operation
application/json
get
GET /strongcourage/MAIP/v1/pcaps/dataset/{datasetName} HTTP/1.1
Host: virtserver.swaggerhub.com
Accept: */*
200
Successful operation
{
"pcaps": [
"ip_ping_local_ip_fragmentation.pcap"
]
}
Update a list of pcap files to build a dataset
Path parameters
datasetNamestringRequiredExample:
Name of the dataset
my_dataset
Body
pcapFilesstring · binary[]Optional
Responses
200
Successful operation
application/json
500
Failed to create dataset location
post
POST /strongcourage/MAIP/v1/pcaps/dataset/{datasetName} HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 24
{
"pcapFiles": [
"binary"
]
}
{
"pcapFileName": "my_dataset.pcap"
}
Delete the dataset and its pcap files
Path parameters
datasetNamestringRequiredExample:
Name of the dataset
my_dataset
Responses
200
Successful delete the dataset and its pcap files
delete
DELETE /strongcourage/MAIP/v1/pcaps/dataset/{datasetName} HTTP/1.1
Host: virtserver.swaggerhub.com
Accept: */*
200
Successful delete the dataset and its pcap files
No content