Skip to main content

Load the metadata properties for a namespace

GET 

/v1/:prefix/namespaces/:namespace

Return all stored metadata properties for a given namespace

Request​

Path Parameters

    prefix stringrequired

    The catalog name in Gravitino, as returned in defaults.prefix by GET /v1/config

    namespace stringrequired

    A namespace identifier as a single string. Multipart namespace parts must be separated by the namespace separator as indicated via the /config override namespace-separator, which defaults to the unit separator 0x1F byte (url encoded %1F). To be compatible with older clients, servers must use both the advertised separator and 0x1F as valid separators when decoding namespaces. The namespace-separator should be provided in a url encoded form.

    Examples:

    Example: accounting

Responses​

Returns a namespace, as well as any properties stored on the namespace if namespace properties are supported by the server.

Schema

    namespace string[]required

    Reference to one or more levels of a namespace

    properties

    object

    nullable

    Properties stored on the namespace, if supported by the server. If the server does not support namespace properties, it should return null for this field. If namespace properties are supported, but none are set, it should return an empty object.

    property name* string
Loading...