Skip to main content

Get tag for a metadata object

GET 

/metalakes/:metalake/objects/:metadataObjectType/:metadataObjectFullName/tags/:tag

Returns a tag that is attached to a metadata object or inherited from one of its parent objects, with inherited set accordingly. Returns 404 when the tag is attached to neither.

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

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    metadataObjectType stringrequired

    Possible values: [CATALOG, SCHEMA, FILESET, TABLE, VIEW, TOPIC, COLUMN, MODEL, FUNCTION]

    The type of the metadata object. Tags can be associated with these types only; associating a tag with any other type fails with IllegalArgumentException. The server matches the value case-insensitively.

    metadataObjectFullName stringrequired

    The full name of the metadata object

    tag stringrequired

    The name of the tag

Responses​

The tag, with inherited set to true when it comes from a parent object rather than the object itself.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    tag

    object

    A tag

    name stringrequired

    The name of the tag

    comment stringnullable

    A comment about the tag

    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

    Configured string to string map of properties for the tag

    property name* string
    inherited booleannullable

    Whether the tag is inherited from the parent metadata object

Loading...