Create an Edge Type

post

/api/graph/EdgeTypes

Creates an edge type.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Indicator of the edge tip style. Directional indicates the edge has an arrow pointing from source to target. Non-Directional indicates the edge has no arrows on the tips. Allowed Values: - Non-Directional - Directional
    Example: Non-Directed
  • Edge Type Name
    Example: ConnectsInterface
  • Line Type ID - 0 => Solid - 1 => Dashed - 2 => Dotted
    Example: 0
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulAddOperation
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : graphEdgeTypesRead
Type: object
Show Source
  • Indicator of the edge tip style. Directional indicates the edge has an arrow pointing from source to target. Non-Directional indicates the edge has no arrows on the tips. Allowed Values: - Non-Directional - Directional
    Example: Non-Directed
  • Edge Type ID
    Example: 3
  • Edge Type Name
    Example: ConnectsInterface
  • Line Style Allowed Values - Solid - Dashed - Dotted
    Example: Solid
  • Line Type ID - 0 => Solid - 1 => Dashed - 2 => Dotted
    Example: 0

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top