WossiDiA-PowerGraph - REST-API


Version 0.2.76 (2021-06-24 15:48)


Returns Path Description Path Parameters Request Parameters
text/html / Prints an overview of the API functions.
application/json /catalog Returns the entire WossiDiA-PowerGraph catalog. types
sup
inf
exp
inheritedAttrs
inheritedRoles
application/json /catalog/datatypes Returns all WossiDiA-PowerGraph data types.
application/json /catalog/datatype/{dataType} Returns a specific data type. dataType
application/json /catalog/nodetypes Returns all WossiDiA-PowerGraph node types. sup
inf
inheritedAttrs
application/json /catalog/nodetype/{nodeType} Returns the specified WossiDiA-PowerGraph node type. nodeType sup
inf
inheritedAttrs
application/json /catalog/edgetypes Returns all WossiDiA-PowerGraph edge types. sup
inf
exp
inheritedAttrs
inheritedRoles
application/json /catalog/edgetype/{edgeType} Returns the specified WossiDiA-PowerGraph edge type. edgeType sup
inf
exp
inheritedAttrs
inheritedRoles
application/json /nodes/{type} Obtains all nodes of the specified type. type
application/json /nodes/{type}/{cond} Obtains nodes of the specified type with the specified condition. type
cond
application/json /node/{id} Obtains the node with the specified PowerGraph ID. id
application/json /node/{type}/{id} Obtains the node with the specified type and internal ID. type
id
application/json /edges/{type} Obtains all edges of the specified type. type
application/json /edges/{type}/{cond} Obtains edges of the specified type with the specified condition. type
cond
application/json /edge/{id} Obtains the edge with the specified ID. id
application/json /graph/{pnid}/{path} Obtains a graph, starting from a single pivot node, expanding using a path expression. pnid
path
nodeAttrs
edgeAttrs
linkAttrs
graphStats
fullEdges

Prints an overview of the API functions.

Returned document type:
text/html

Returns the entire WossiDiA-PowerGraph catalog.

Request parameters:
  • boolean types (not required, default: false )
    Include data types.
  • String sup (not required, default: id )
    Node/edge type expansion on the superior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • String inf (not required, default: id )
    Node/edge type expansion on the inferior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • String exp (not required, default: id )
    Role node types expansion.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • boolean inheritedAttrs (not required, default: true )
    Include inherited attributes.
  • boolean inheritedRoles (not required, default: true )
    Include inherited roles.
Returned document type:
application/json

Returns all WossiDiA-PowerGraph data types.

Returned document type:
application/json

/catalog/datatype/{dataType}

Returns a specific data type.

Path parameters:
  • String dataType (required)
    Data type name.
Returned document type:
application/json

Returns all WossiDiA-PowerGraph node types.

Request parameters:
  • String sup (not required, default: id )
    Node type expansion on the superior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • String inf (not required, default: id )
    Node type expansion on the inferior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • boolean inheritedAttrs (not required, default: true )
    Include inherited node attributes.
Returned document type:
application/json

/catalog/nodetype/{nodeType}

Returns the specified WossiDiA-PowerGraph node type.

Path parameters:
  • String nodeType (required)
    Node type ID or name.
Request parameters:
  • String sup (not required, default: id )
    Node type expansion on the superior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • String inf (not required, default: id )
    Node type expansion on the inferior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • boolean inheritedAttrs (not required, default: true )
    Include inherited node attributes.
Returned document type:
application/json

Returns all WossiDiA-PowerGraph edge types.

Request parameters:
  • String sup (not required, default: id )
    Edge type expansion on the superior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • String inf (not required, default: id )
    Edge type expansion on the inferior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • String exp (not required, default: id )
    Role node types expansion.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • boolean inheritedAttrs (not required, default: true )
    Include inherited edge attributes.
  • boolean inheritedRoles (not required, default: true )
    Include inherited roles.
Returned document type:
application/json

/catalog/edgetype/{edgeType}

Returns the specified WossiDiA-PowerGraph edge type.

Path parameters:
  • String edgeType (required)
    Edge type ID or name.
Request parameters:
  • String sup (not required, default: id )
    Edge type expansion on the superior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • String inf (not required, default: id )
    Edge type expansion on the inferior axis.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • String exp (not required, default: id )
    Role node types expansion.
    ID Include ID(s) and name(s) of referenced types only (default).
    FULL Include full information for referenced types.
    TREE Include full information for the whole tree of referenced types.
  • boolean inheritedAttrs (not required, default: true )
    Include inherited edge attributes.
  • boolean inheritedRoles (not required, default: true )
    Include inherited roles.
Returned document type:
application/json

/nodes/{type}

Obtains all nodes of the specified type.

Path parameters:
  • String type (required)
    Node type ID or name.
Returned document type:
application/json

/nodes/{type}/{cond}

Obtains nodes of the specified type with the specified condition.

Path parameters:
  • String type (required)
    Node type ID or name.
  • String cond (required)
    Selection condition for nodes, based on their attributes, IDs, and properties; for syntax see {@link Condition}.
Returned document type:
application/json

/node/{id}

Obtains the node with the specified PowerGraph ID.

Path parameters:
  • String id (required)
    Node ID.
Returned document type:
application/json

/node/{type}/{id}

Obtains the node with the specified type and internal ID.

Path parameters:
  • String type (required)
    Node type ID or name.
  • String id (required)
    Internal node ID.
Returned document type:
application/json

/edges/{type}

Obtains all edges of the specified type.

Path parameters:
  • String type (required)
    Edge type ID or name.
Returned document type:
application/json

/edges/{type}/{cond}

Obtains edges of the specified type with the specified condition.

Path parameters:
  • String type (required)
    Edge type ID or name.
  • String cond (required)
    Selection condition for edges, based on their attributes, IDs, and properties; for syntax see {@link Condition}.
Returned document type:
application/json

/edge/{id}

Obtains the edge with the specified ID.

Path parameters:
  • String id (required)
    Edge ID.
Returned document type:
application/json

/graph/{pnid}/{path}

Obtains a graph, starting from a single pivot node, expanding using a path expression.

Path parameters:
  • String pnid (required)
    Pivot node ID.
  • String path (required)
    Graph-building path expression.
Request parameters:
  • String nodeAttrs (not required, default: true )
    Include node attributes.
  • String edgeAttrs (not required, default: true )
    Include edge attributes.
  • String linkAttrs (not required, default: true )
    Include link attributes.
  • String graphStats (not required, default: false )
    Include graph statistics.
  • String fullEdges (not required, default: true )
    Include all nodes in the edges, even those not affected by the edges.
Returned document type:
application/json