All URIs are relative to https://app.corellium.com/api
Method | HTTP request | Description |
---|---|---|
v1InstancesInstanceIdNetdumpPcapGet | GET /v1/instances/{instanceId}/netdump.pcap | Download a netdump pcap file |
v1StartNetdump | POST /v1/instances/{instanceId}/netdump/enable | Start Enhanced Network Monitor on an instance. |
v1StopNetdump | POST /v1/instances/{instanceId}/netdump/disable | Stop Enhanced Network Monitor on an instance. |
HttpFile v1InstancesInstanceIdNetdumpPcapGet()
import { } from '';
import * as fs from 'fs';
const configuration = .createConfiguration();
const apiInstance = new .NetdumpApi(configuration);
let body:.NetdumpApiV1InstancesInstanceIdNetdumpPcapGetRequest = {
// string | Instance ID - uuid
instanceId: "instanceId_example",
};
apiInstance.v1InstancesInstanceIdNetdumpPcapGet(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
instanceId | [string] | Instance ID - uuid | defaults to undefined |
HttpFile
- Content-Type: Not defined
- Accept: application/vnd.tcpdump.pcap, application/json
Status code | Description | Response headers |
---|---|---|
200 | pcapng file | - |
400 | Bad Request | - |
403 | Forbidden | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void v1StartNetdump()
import { } from '';
import * as fs from 'fs';
const configuration = .createConfiguration();
const apiInstance = new .NetdumpApi(configuration);
let body:.NetdumpApiV1StartNetdumpRequest = {
// string | Instance ID - uuid
instanceId: "instanceId_example",
// NetdumpFilter | (optional)
netdumpFilter: {
portRanges: [
"portRanges_example",
],
srcPorts: [
"srcPorts_example",
],
dstPorts: [
"dstPorts_example",
],
ports: [
"ports_example",
],
protocols: [
"protocols_example",
],
processes: [
"processes_example",
],
},
};
apiInstance.v1StartNetdump(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
netdumpFilter | NetdumpFilter | ||
instanceId | [string] | Instance ID - uuid | defaults to undefined |
void
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
400 | Bad Request | - |
403 | Forbidden | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void v1StopNetdump()
import { } from '';
import * as fs from 'fs';
const configuration = .createConfiguration();
const apiInstance = new .NetdumpApi(configuration);
let body:.NetdumpApiV1StopNetdumpRequest = {
// string | Instance ID - uuid
instanceId: "instanceId_example",
};
apiInstance.v1StopNetdump(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
instanceId | [string] | Instance ID - uuid | defaults to undefined |
void
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
400 | Bad Request | - |
403 | Forbidden | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]