Skip to main content
Version: 0.6.0-incubating

Test catalog connection

POST 

http://localhost:8090/api/metalakes/:metalake/catalogs/testConnection

Test catalog connection

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

Body

    name stringrequired

    The name of the catalog

    type stringrequired

    Possible values: [relational, fileset, stream]

    The type of the catalog

    provider stringrequired

    Possible values: [hive, lakehouse-iceberg, jdbc-mysql, jdbc-postgresql]

    The provider of the catalog

    comment stringnullable

    A comment for the catalog

    properties

    object

    nullable

    A map of properties for the catalog

    property name* string

Responses

Test connection completed

Schema

    code int32required

    Status code of the response

    type string

    Internal type definition of the exception

    message string

    The message of the exception

    stack string[]
curl -L -X POST 'http://localhost:8090/api/metalakes/:metalake/catalogs/testConnection' \
-H 'Content-Type: application/json' \
-H 'Accept: application/vnd.gravitino.v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"type": "relational",
"provider": "hive",
"comment": "string",
"properties": {}
}'
Request Collapse all
Base URL
http://localhost:8090/api
Auth
Parameters
— pathrequired
Body
{
  "name": "string",
  "type": "relational",
  "provider": "hive",
  "comment": "string",
  "properties": {}
}
ResponseClear

Click the Send API Request button above and see the response here!