Skip to main content
Version: 0.7.0-incubating

Create schema

POST 

http://localhost:8090/api/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

Request Collapse all
Base URL
http://localhost:8090/api
Auth
Parameters
— pathrequired
— pathrequired
Body
{
  "name": "string",
  "comment": "string",
  "properties": {}
}
ResponseClear

Click the Send API Request button above and see the response here!