Skip to main content

Get model version by alias

GET 

/metalakes/:metalake/catalogs/:catalog/schemas/:schema/models/:model/aliases/:alias

Returns the model version that the alias points to, including its URIs, aliases, comment, properties and audit information.

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

    model stringrequired

    The name of the model

    alias stringrequired

    An alias of the model version

Responses​

The model version, with its version number, URIs, aliases, comment, properties and audit information.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    modelVersion

    object

    uri stringnullable

    The uri of the model version

    uris

    object

    nullable

    The uris of the model version

    property name* string
    version integerrequired

    The version of the model

    aliases string[]nullable

    The aliases of the model version

    comment stringnullable

    The comment of the model version

    properties

    object

    nullable

    The properties of the model version

    property name* string

    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

Loading...