iPortal 10i(2020) SP3接口变更

发送反馈


Java API 变更

类/接口 字段/方法/属性/事件 备注

com.supermap.iportal.web.commontypes

DBVersion

V00_099

V00_100

V00_101

V00_102

V00_103

V00_105

新增枚举值

ServiceInfo

String previewUrl

新增字段

CustomField

 

新增类

CustomFieldEnumSetting

 

新增类

CustomFieldType

 

新增枚举类

CustomFieldValue

 

新增类

LocalizedString

 

新增类

SceneAccessRecord

 

新增类

StatSummary

SCENE_VISIT_COUNT_PER_HOUR

SCENE_VISIT_ID_TIME

新增枚举值

SceneSearchParameter

Long visitStart

Long visitEnd

新增字段

MapAccessRecord

 

新增类

DataAccessRecord

 

新增类

KeyBaseInfo

 

新增类

KeyInfo

 

类变更,部分字段移动到 KeyBaseInfo

KeyInfoWithResources

 

新增类

KeyInfoWithVisitCount

 

类变更,父类由 KeyInfo 变更为 KeyInfoWithResources

KeyMaxCountApplyInfoWithQuotas

 

新增类

KeyResourceInfo

 

新增类

KeyResourceQuotaApplyInfo

 

新增类

KeyResourceQuotaInfo

 

新增类

KeyResourceQuotaSetting

 

新增类

KeyResourceTypeEnum

 

新增类

KeyResourceInfoWithAddresses

 

新增类

REST  API 变更

模块 资源名称 资源/参数/请求/表述 备注

portal 模块

customFieldsConfig

GET 请求:获取某类资源的自定义元数据配置信息。

响应:List<CustomField>

新增资源

iportal/web/resource/types/{resourceType}/customfields

PUT 请求:更新某类资源的自定义元数据配置信息。

请求体:List<CustomField>

响应:MethodResult

customFieldValues

GET 请求:获取一个资源的所有自定义元数据值。

响应:List<CustomFieldValue>

新增资源

iportal/web/resource/items/{id}/customfieldvalues

PUT 请求:批量更新一个资源的自定义元数据值。

请求体:List<CustomFieldValue>

响应:MethodResult

sharedDatas

GET 请求: 获取共享给当前用户的数据资源。

请求体:DataItemSearchParameter

响应:Page<DataItem>

新增资源

iportal/web/mycontent/datas/shared

key

PUT 请求:修改指定密钥的配置。

请求体:KeyInfoWithResources

响应:MethodResult

新增资源

iportal/web/mycontent/keys/{id}

keyWithResources

GET 请求:查询符合条件的密钥信息。

请求体:KeySearchParameter

响应:Page<KeyInfoWithResources>

新增资源
iportal/web/mycontent/v2/keys
 

POST 请求:添加一个密钥。

请求体:KeyMaxCountApplyInfoWithQuotas

响应:MethodResult

keyQuotas

GET 请求:查询密钥关联的配额信息。

请求体:KeyResourceSearchParameter

响应:Page<KeyResourceQuotaInfo>

新增资源

iportal/web/mycontent/keys/{id}/quotas

PUT 请求:申请修改密钥关联的配额信息。

请求参数:KeyInfoWithResources

响应:MethodResult