Skip to main content

Update metaschema

Update a metadata schema. Only schema field of a metaschema can be updated. The metaschema schema must be a valid JSON schema.Please refer to https://json-schema.org/ to know more about json schema.
Example: {name:"user",schema:{"type":"object","properties":{"label":{"type":"object","additionalProperties":{"type":"string"}},"description":{"type":"string"}}}}

Path Parameters
    id string required
Request Body required
    name string required

    The name of the metaschema. The name must be unique within the entire Frontier instance. The name can contain only alphanumeric characters, dashes and underscores.

    schema string required

    The schema of the metaschema. The schema must be a valid JSON schema.Please refer to https://json-schema.org/ to know more about json schema.

Responses

A successful response.


Schema
    metaschema object
    id string

    The unique metaschema uuid.

    name string
    schema string

    The metaschema json schema.

    created_at date-time

    The time when the metaschema was created.

    updated_at date-time

    The time when the metaschema was updated.

Loading...