Skip to main content

Get Iceberg REST service endpoint

GET 

/system/iceberg-rest

Returns the URI of the Iceberg REST service that runs as an auxiliary service of this server, so that clients such as the Trino connector can discover it instead of configuring it. The uri is null when the service is not registered, does not use the dynamic catalog config provider, or serves a different metalake than the requested one.

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

Request​

Query Parameters

    metalake string

    The metalake the caller intends to route through the Iceberg REST service. When omitted or blank, the endpoint is reported regardless of which metalake it serves.

Responses​

The URI of the Iceberg REST service, or a null uri when no matching service serves the requested metalake.

Schema

    code integerrequired

    Response code, 0 for success

    uri stringnullable

    The Iceberg REST service endpoint, or null when the service is not running or does not serve the requested metalake. When gravitino.iceberg-rest.advertised-uri is set, it is reported as-is; otherwise the endpoint is derived from the service's listener configuration, and a wildcard listener host is replaced with the host the caller used to reach the Gravitino server. The response is therefore sent with Cache-Control: no-store.

Loading...