Java API Changes

Package Class/Interface Field/Method/Property/Event Note

com.supermap.iportal.web.commontypes

DataWithShareScopeChange

 

New Class

ResSimpleInfo

 

New Class

ResWithShareScopeChange

 

New Class

ShareFailedResource

 

New Class

ShareResParams

 

New Class

ShareValidationResult

 

New Class

VariousResShareScopeChange

 

New Class

VariousResSimpleInfo

 

New Class

KeyInfo

List<String> tags

New Field

KeySearchParameter

String[] tags

New Field

TagType

KEY

New Enumeration

REST  API Changes

Module Resource Name Resource/Parameter/Request/Representation Note

portal

myRegionPermission

GET request: Obtain the spatial scope permission information that the current user can access to the specified service.

Response: String

New Resource

iportal/web/services/{id}/regionpermissions/mine

shareItems

POST request: Set the associated resource sharing range of a specified resource

Request body: ShareResParams

Response: ShareFailedResource

New Resource

iportal/web/mycontent/shareditems

validateResourceShareScope

POST request: Check the sharing settings of associated resources that are inconsistent with the specified resource sharing scope, and return associated resources with inconsistent permissions.

Request body: List<IportalAuthorizeEntity>

Response: ShareValidationResult

New Resource

iportal/web/{resourceType}/{id}/sharevalidation

visitCountChanges

GET request: My key access statistics.

Request parameter: ResVisitCountChangeParameter

Response: List<ResVisitCountChange>

New Resource

iportal/web/mycontent/keys/{id}/visit/countchanges

Configuration File Changes

File Path

File Name

Configuration Item Note

[SuperMap iPortal installation directory]\webapps\iportal\WEB-INF

iportal.xml

uploadSetting

Added <fileSuffixBlackList> for configuring the file uploading blacklist.

innerRequestConfig

Added iPortal request timeout configuration