Skip to main content
Version: 0.5.1

Update schema

PUT 

/metalakes/:metalake/catalogs/:catalog/schemas/:schema

Updates the specified schema in the specified catalog and metalake

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

    catalog stringrequired

    The name of the catalog

    schema stringrequired

    The name of the schema

Body

    updates

    object[]

    required

  • Array [

  • oneOf

    @type stringrequired

    Possible values: [setProperty]

    property stringrequired

    The name of the property to set

    value stringrequired

    The value of the property to set

  • ]

Responses

Returns include the schema object

Schema

    code int32

    Possible values: [0]

    Status code of the response

    schema

    object

    A schema

    name stringrequired

    The name of the schema

    comment stringnullable

    A comment describing the schema

    audit

    object

    required

    Audit information for a Gravitino resource.

    creator string

    The user who created the resource

    createTime date-time

    The time the resource was created

    lastModifier string

    The user who last modified the resource

    lastModifiedTime date-time

    The time the resource was last modified

    properties

    object

    nullable

    A map of properties for the schema

    property name* string
Loading...