Graph

GRAPH generates a json string containing the EnthGraph search results, for use in a D3 style display tool. The results are based on the REQUEST, the subscription level associated with the KEY and the number LINKS specified

If VALIDATE is true (the default is null or false) Graph performs a check to insure that the REQUEST has a valid answer.


Methods

   POST


Consumes

   application/x-www-form-urlencoded


Produces

   application/json


Returns

    If VALIDATE is false, a json string containing the EnthGraph search results.
    If VALIDATE is true, TRUE if Request is a valid vertex in the EnthGraph, otherwise FALSE.


Parameters

Parameter Data Type Required Administrator Description
KEY String Required A valid Enth Key (refer to Login). Must be an Owner or Administrator.
REQUEST String Required The search request in the form of a word or words representing a single vertex. NOTE: this is different than our typicaly REQUEST.
VALIDATE Boolean If VALIDATE is "true" (or "1") (defaults to false) GRAPH will check the REQUEST to confirm that it is a valid vertex and available in the EnthGraph.
LINKS Integer Defaults to "2", valid values "3" and "4". Represents the number of Links from the Vertex(Request) to gathered.
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    Search

Code Example

   https://YourEnthAppliance/EnthAPI/search/graph