getConnection
    • PDF

    getConnection

    • PDF

    記事の要約

    VPC環境で利用できます。

    ユーザー catalogの特定の connection idに該当する connectionを照会

    リクエスト

    リクエスト URL

    GET {DATA_CATALOG API_URL}/catalogs/{catalog-id}/connections/{connection-id}
    

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    catalogIdYesStringcatalogの固有 id
    (ref: getCatalogs)
    connectionIdYesStringconnectionsの固有 id

    リクエストヘッダ

    共通ガイド参照

    リクエスト例

    curl -X GET "https://datacatalog.apigw.ntruss.com/api/v1/catalogs/{catalog-id}/connections/{connection-id}" \
        -H "x-ncp-apigw-timestamp: {x-ncp-apigw-timestamp}" \
        -H "x-ncp-iam-access-key: {x-ncp-iam-access-key}"  \
        -H "x-ncp-apigw-signature-v2: {x-ncp-apigw-signature-v2}"
    

    レスポンス

    レスポンスボディ

    項目タイプ説明
    connectionIdintconnectionsの固有 id
    catalogIdintcatalogの固有 id
    nameStringconnection名
    descriptionStringconnectionの説明
    typeStringconnectionのタイプ
    connectionConfigJsonStringconnectionの設定情報
    createTimeDateconnectionの作成日時
    updateTimeDateconnectionの修正日時
    参考

    connectionConfigJsonは、connectionのタイプによって json形式が異なることがあります。

    レスポンス例

    HTTP

    HTTP StatusDescription
    200OK

    JSON

    {
      "connectionId": 87,
      "catalogId": 301,
      "name": "datacatalog-connection",
      "description": "datacatalog service connection description",
      "type": "OBJECT_STORAGE",
      "connectionConfigJson": {
        "clusterNo": 0,
        "clusterName": "test",
        "dbPort": 0,
        "regionNo": 1,
        "bucketName": "datacatalog-test-bucket"
      },
      "createTime": "2022-12-07T01:31:19+0900",
      "updateTime": "2023-04-10T14:01:56+0900"
    }
    

    この記事は役に立ちましたか?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.