disguise developers

Network Adapter API

GET networkadapters

Summary

Get the details of the disguise server’s network configuration

URL

GET    /api/networkadapters

Responses

Response Body

[
  {
    "name": "d3net",
    "ip": "xxx.xxx.xxx.xxx",
    "mac": "hh-hh-hh-hh-hh",
    "netmask": "xxx.xxx.xxx.xxx"
  }
]

POST networkadapters

Summary

Update the details of the disguise server’s network configuration

URL

POST    /api/networkadapters

Request Body

[
  {
    "name": "d3net",
    "ip": "xxx.xxx.xxx.xxx",
    "mac": "hh-hh-hh-hh-hh",
    "netmask": "xxx.xxx.xxx.xxx"
  }
]

Responses

Response Body

{
  "message": "ok"
}

GET networkadapter by MAC

Summary

Get the details of the disguise server’s network interface by mac address

URL

GET    /api/networkadapters/{mac}

Parameters

Responses

Response Body

{
  "name": "d3net",
  "ip": "xxx.xxx.xxx.xxx",
  "mac": "hh-hh-hh-hh-hh",
  "netmask": "xxx.xxx.xxx.xxx"
}

POST networkadapter by MAC

Summary

Update the details of the disguise server’s network interface by mac address

URL

POST    /api/networkadapters/{mac}

Parameters

Request Body

{
  "name": "d3net",
  "ip": "xxx.xxx.xxx.xxx",
  "mac": "hh-hh-hh-hh-hh",
  "netmask": "xxx.xxx.xxx.xxx"
}

Responses

Response Body

{
  "message": "ok"
}