getConnection
    • PDF

    getConnection

    • PDF

    Article summary

    Available in VPC

    Searches for the connection with a specific connection ID in the user’s catalog.

    Requests

    Request URL

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

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    catalogIdYesStringUnique catalog ID
    (ref: getCatalogs)
    connectionIdYesStringUnique connection ID

    Request header

    See common guide.

    Request examples

    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}"
    

    Responses

    Response bodies

    ItemTypeDescription
    connectionIdintUnique connection ID
    catalogIdintUnique catalog ID
    nameStringConnection name
    descriptionStringConnection description
    typeStringConnection type
    connectionConfigJsonStringConnection setting information
    createTimeDateConnection creation date and time
    updateTimeDateConnection modification date and time
    Note

    The JSON format of connectionConfigJson may vary depending on the connection type.

    Response examples

    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"
    }
    

    Was this article helpful?

    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.