Die WossiDiA-API

Aus WossiDiA
Zur Navigation springen Zur Suche springen

Catalog

Returns Path Path Parameters Request Parameters
JSON /catalog Returns the entire WossiDiA-PowerGraph catalog. types
sup
inf
exp
inheritedAttrs
inheritedRoles
JSON /catalog/datatypes Returns all WossiDiA-PowerGraph data types.
JSON /catalog/datatype/{dataType} Returns a specific data type. dataType
JSON /catalog/nodetypes Returns all WossiDiA-PowerGraph node types. sup
inf
inheritedAttrs
JSON /catalog/nodetype/{nodeType} Returns the specified WossiDiA-PowerGraph node type. nodeType sup
inf
inheritedAttrs
JSON /catalog/edgetypes Returns all WossiDiA-PowerGraph edge types. sup
inf
exp
inheritedAttrs
inheritedRoles
JSON /catalog/edgetype/{edgeType} Returns the specified WossiDiA-PowerGraph edge type. edgeType sup
inf
exp
inheritedAttrs
inheritedRoles

Path Parameter

The following path parameters are available for catalog requests.

  • dataType ... Data type name (required).
  • nodeType ... Node type name (required).
  • edgeType ... Edge type name (required).

Request Parameter

The following request parameters are available for catalog requests.

  • types ... Include data types (optional).
    • true
    • false (default)
  • sup ... Superior node/edge type expansion (optional).
    • ID ... Include ID and name of parent type only (default).
    • FULL ... Include full information for parent type.
    • TREE ... Include full information for all ancestor types.
  • inf ... Inferior node/edge type expansion (optional).
    • ID ... Include IDs and names of child types only (default).
    • FULL ... Include full information for child types.
    • TREE ... Include full information for all descendant types.
  • exp ... Role node types expansion (optional).
    • ID ... Include IDs and names of role node types only (default).
    • FULL ... Include full information for role node types.
  • inheritedAttrs Include inherited attributes (optional).
    • true (default)
    • false
  • inheritedRoles Include inherited roles (optional).
    • true (default)
    • false