交换数据空间 EDS-搜索offer列表(不限连接器):响应参数

时间:2024-04-30 14:48:29

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

data

Array of OfferSummary objects

返回数据。

total

Long

总数。

error_code

String

错误码。

error_msg

String

错误描述。

表5 OfferSummary

参数

参数类型

描述

offer_id

String

Offer ID。

offer_name

String

Offer名称。

offer_type

Integer

Offer公开范围:公开-1、受控-2。

need_approval

Boolean

是否需要审批。

注:开启【需要审批】后,下载合约资源的加工产物时需要审批。

can_terminate

Boolean

是否允许提供方删除数据。

ownered_company_name

String

Offer所属的企业,即所属租户名。

ownered_company_id

String

Offer所属的企业ID,即所属租户ID。

ownered_connector_name

String

Offer所属的连接器,即所属连接器名。

ownered_connector_id

String

Offer所属的连接器ID,即所属连接器id。

offer_creator_name

String

Offer创建者名称。

offer_creator_id

String

Offer创建者ID。

offer_description

String

Offer描述。

offer_followed_info

OfferFollowed object

Offer引用信息。

mask_sensitive

Array of MaskSensitive objects

结构化数据列脱敏信息。

use_control_policies_template

Array of UseControlPoliciesInner objects

合约使用控制策略列表。

表6 OfferFollowed

参数

参数类型

描述

offer_subscription

Boolean

Offer订阅状态。

offer_favorite

Boolean

Offer收藏状态。

offer_subscription_num

Integer

Offer订阅次数。

offer_favorite_num

Integer

Offer收藏次数。

offer_view_num

Integer

Offer查看次数。

表7 MaskSensitive

参数

参数类型

描述

attribute_code

String

属性code。

reserve_head_len

Integer

首端保留长度。

reserve_tail_len

Integer

尾端保留长度。

表8 UseControlPoliciesInner

参数

参数类型

描述

action

String

执行动作过滤:

  • VIEW:查看
  • MODIFY:加工
  • DOWNLOAD:下载

枚举值:

  • VIEW
  • MODIFY
  • DOWNLOAD

when

TimeInterval object

限制使用时间。

how_many

Integer

限制使用次数。

where

Array of strings

限制地点列表。

who

Array of strings

限制用户列表。

application

Array of strings

限制应用列表。

additional_attributes

DatabaseAttributes

object

策略的扩展属性。

user_type

String

限制用户类型。

  • USER :指定用户
  • TEAM :指定团队

枚举值:

  • USER
  • TEAM
表9 TimeInterval

参数

参数类型

描述

start_time

String

起始时间。

end_time

String

截止时间。

表10 DatabaseAttributes

参数

参数类型

描述

column

String

可见行。

rows

Arrays of RowDTO

可见列。

表11 RowDTO

参数

参数类型

描述

column_name

String

参数名称。

condition

String

参数条件。

value

String

参数条件值。

状态码: 400

表12 响应Body参数

参数

参数类型

描述

data

-

返回null

total

Long

总数。

error_code

String

错误码。

error_msg

String

错误描述。

状态码: 500

表13 响应Body参数

参数

参数类型

描述

data

-

返回null

total

Long

总数。

error_code

String

错误码。

error_msg

String

错误描述。

support.huaweicloud.com/api-eds/brokerOfferList.html