Skip to content

getData

Gets the device data.

Request

The API expects a GET request with no parameters.

Response

Content-Type: application/json

The API responds with a JSON object containing the following fields:

Name Type Description
Network Object Object containing the network information.

Network Object

Name Type Description
IP String The IP address of the device.
Subnet String The subnet of the device.
Gateway String The gateway of the device.
Hostname String The hostname of the device.

Example

Example Request

GET /getData
deviceName={deviceName}&deviceMacAdress={deviceMacAdress}&deviceStatus={deviceStatus}

Example Response

{
  "Network": {
    "IP": "192.168.1.5",
    "Subnet": "255.255.255.0",
    "Gateway": "192.168.1.1",
    "Hostname": "Sphere-00:00"
  }
}