Updated on 2022-09-15 GMT+08:00

Link to KODO/COS

Description

By creating a KODO/COS link, you can extract files from Qiniu Cloud's object storage (KODO) or Tencent Cloud's Cloud Object Storage (COS). Files in CSV, JSON, and binary formats are supported.

Sample Link

{
  "links": [
    {
      "link-config-values": {
        "configs": [
          {
            "inputs": [
              {
                "name": "linkConfig.storageType",
                "value": "KODO_COS"
              },
              {
                "name": "linkConfig.zone",
                "value": "z1"
              },
              {
                "name": "linkConfig.accessKey",
                "value": "xib1R_oeN4KBYTA-yNoV0Kd3AbUwi1yuvzbPF4LE"
              },
              {
                "name": "linkConfig.securityKey",
                "value": "Add password here"
              },
              {
                "name": "linkConfig.useCustomDomain",
                "value": "false"
              }
            ],
            "name": "linkConfig"
          }
        ]
      },
      "name": "kodo_link",
      "connector-name": "thirdparty-obs-connector"
    }
  ]
}

Link Parameters

Parameter

Mandatory

Type

Description

linkConfig.storageType

Yes

String

Storage class of an object

linkConfig.zone

Yes

String

Storage area of KODO/COS

linkConfig.accessKey

Yes

String

AK

linkConfig.securityKey

Yes

String

SK

linkConfig.useCustomDomain

No

Boolean

This parameter is available only for KODO links. You can choose whether to use the custom domain name to download objects.