Skip to main content
Version: 3.9.0

Add or update the current defined model.

PATCH 

/graph/:graph_id/model

Add or update the current defined model.

Request​

Path Parameters

    graph_id stringrequired

    The identifier of the graph

    Example: resoto

Body

array

Complete model or part of the model.

  • Array [

  • oneOf

    min_length string

    The minimal length of this string

    max_length string

    The maximal length of this string

    pattern string

    The regexp pattern, that this string has to adhere to

    enum string[]

    The allowed values of this string enumerated here

    runtime_kind

    string

    Possible values: [string, int32, int64, float, double, boolean, date, datetime]

    The runtime kind of this kind

    circular(StringKind)

    fqn string

    The fully qualified name of the kind

  • ]

Responses​

OK if the model is updated successfully

Schema

  • Array [

  • oneOf

    min_length string

    The minimal length of this string

    max_length string

    The maximal length of this string

    pattern string

    The regexp pattern, that this string has to adhere to

    enum string[]

    The allowed values of this string enumerated here

    runtime_kind

    string

    Possible values: [string, int32, int64, float, double, boolean, date, datetime]

    The runtime kind of this kind

    circular(StringKind)

    fqn string

    The fully qualified name of the kind

  • ]

Loading...

Contact Us

Have feedback or need help? Don’t be shy—we’d love to hear from you!

 

 

 

Some Engineering Inc.