Skip to main content
Version: 0.5.0

Create schema

POST 

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

Create schema

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

    catalog stringrequired

    The name of the catalog

Body

    name stringrequired

    The name of the schema

    comment stringnullable

    A comment describing the schema

    properties

    object

    nullable

    A map of properties for the schema

    property name* string

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...