Nodes

POST

POST manages Node information for the NODES. Returns an XML string that contains Node information for the NODES installed on this Enth Appliance.

NOTE: Enth Internal, KEY must contains Enth Administrator privileges.


Methods

   POST    DELETE    PUT


Consumes

   application/x-www-form-urlencoded


Produces

    text/html, application/xml, application/json


Returns

    An XML or JSON string containing the information about the configuration of the NODES.


Parameters

Parameter Data Type Required Administrator Description
KEY String Required A valid Enth Key (refer to Login). Must be an Owner or Administrator.
LONGITUDE Double Administrator A valid Longitude, typically generated from the requesting device.
LATITUDE Double Administrator A valid Latitude, typically generated from the requesting device.
SOURCE String Administrator The name or type of requesting source or device.

Also See:    Login    Models    Models    Node

Code Example

   https://YourEnthAppliance/EnthAPI/users/nodes

   KEY=Your Key

Nodes

DELETE

DELETE removes sub-nodes from this Enth Appliance and returns an XML string that contains Node information for the NODES installed on this Enth Appliance.

NOTE: KEY must contain Enth Administrator privileges.


Methods

   POST    DELETE    PUT


Consumes

   application/x-www-form-urlencoded


Produces

   text/html, application/xml, application/json


Returns

    An XML or JSONstring containing the information about the new configuration of the NODES.


Parameters

Parameter Data Type Required Administrator Description
KEY String Required A valid Enth Key (refer to Login). Must be an Owner or Administrator.
GUID String Required Administrator The GUID of the NODE to be removed.
LONGITUDE Double Administrator A valid Longitude, typically generated from the requesting device.
LATITUDE Double Administrator A valid Latitude, typically generated from the requesting device.
SOURCE String Administrator The name or type of requesting source or device.

Also See:    Login    Models    Models    Node

Code Example

   https://YourEnthAppliance/EnthAPI/users/nodes

   KEY=YourKey&GUID=123

 

Nodes

PUT

PUT adds subordinate Enth nodes to this Enth Appliance and returns an XML or JSON string that contains Node information for the NODES installed on this Enth Appliance.  The subordinate must exists and be responding to ENTHAPI calls to complete the installation.

NOTE: KEY must contains Enth Administrator privileges.


Methods

   POST    DELETE    PUT


Consumes

   application/x-www-form-urlencoded


Produces

   text/html, application/xml, application/json


Returns

    An XML or JSON string containing the information about the new configuration of the NODES.


Parameters

Parameter Data Type Required Administrator Description
KEY String Required A valid Enth Key (refer to Login). Must be an Owner or Administrator.
URL String Required Administrator The URLof the NODE to be added.
LONGITUDE Double Administrator A valid Longitude, typically generated from the requesting device.
LATITUDE Double Administrator A valid Latitude, typically generated from the requesting device.
SOURCE String Administrator The name or type of requesting source or device.

Also See:    Login    Models    Models    Node

Code Example

   https://YourEnthAppliance/EnthAPI/users/nodes

   KEY=YourKey&URL=http://valid_enth_node