交换数据空间 EDS-查询指定offer资源列表(不限连接器):响应示例

时间:2024-11-06 21:54:44

响应示例

状态码: 200

OK

  • 资源列表。

    {
      "data" : [ {
        "resource_id" : "25546208-0854-49a0-9023-************",
        "resource_title" : "JDBC_TEST",
        "resource_type" : "jdbc",
        "resource_category" : "DATASETS",
        "artifacts" : [ {
          "data_resource_id" : "25546208-0854-49a0-9023-************",
          "artifact_id" : "303b4f5f-596e-41c9-ad50-************",
          "artifact_code" : "Aconnector-****c95b3165df8742afa8c0************",
          "artifact_title" : "animals",
          "byte_size" : 16384,
          "media_type" : "jdbc"
        } ],
        "resource_dataset_attribute_list" : [ {
          "attribute_code" : "id",
          "attribute_data_type" : "INTEGER",
          "length" : null,
          "num_prec" : 10,
          "num_scale" : 0,
          "sort_order" : 0,
          "real_data_type" : "integer"
        }, {
          "attribute_code" : "animal_name",
          "attribute_data_type" : "STRING",
          "length" : 255,
          "num_prec" : null,
          "num_scale" : null,
          "sort_order" : 1,
          "real_data_type" : "varchar(255)"
        }, {
          "attribute_code" : "category",
          "attribute_data_type" : "STRING",
          "length" : 255,
          "num_prec" : null,
          "num_scale" : null,
          "sort_order" : 2,
          "real_data_type" : "varchar(255)"
        }, {
          "attribute_code" : "habitat",
          "attribute_data_type" : "STRING",
          "length" : 255,
          "num_prec" : null,
          "num_scale" : null,
          "sort_order" : 3,
          "real_data_type" : "varchar(255)"
        } ]
      } ],
      "total" : 0,
      "error_code" : null,
      "error_msg" : null
    }
support.huaweicloud.com/api-eds/queryBrokerOfferResourceList.html