Skip to main content

Update topic

PUT 

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

Applies the requested changes to a topic and returns the updated topic.

Sign in with a bearer token or a local user's password; see Authentication.

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    catalog stringrequired

    The name of the catalog

    schema stringrequired

    The name of the schema

    topic stringrequired

    The name of the topic

Body

    updates

    object[]

    required

  • Array [

  • oneOf

    @type stringrequired

    Possible values: [updateComment]

    newComment stringrequired

    The new comment of the topic

  • ]

Responses​

The topic, with its comment, properties and audit information.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    topic

    object

    name stringrequired

    The name of the topic

    comment string

    The comment of the topic

    properties

    object

    nullable

    The properties of the topic

    property name* string

    audit

    object

    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

Loading...