Java API Changes

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

com.supermap.iportal.web.commontypes

DBVersion

V00_088

V00_089

V00_090

V00_092

V00_093

New Enumeration

NewsInfo

 

New Class

NewsInfoSearchParameter

 

New Class

NewsPublishedSetting

 

New Class

FeedbackInfo

 

New Class

FeedbackInfoSearchParameter

 

New Class

FeedbackReplySetting

 

New Class

FeedbackReviewSetting

 

New Class

ReviewStatus

 

New Enumeration

KeyInfo

usedCount

maxCount

expiration

maxCountType

New Field

SourceType

DATASET

SINGLE_MAP

VECTOR_MAP

SINGLE_VECTOR_MAP

New Enumeration

AppSearchParameter.FilterField

DESCRIPTION

New Enumeration

ResAccessRecord

responseTime

errorMsg

New Field
DirResSearchParameter rootDirId New Field
ViewerMap projectInfo New Field

REST  API Changes

Module Resource Name Resource/Parameter/Request/Representation Note

portal

notebooks

GET request: Query Noteook list information.

Response: Page<NoteBook>

New Resource

iportal/web/notebooks

POST request: Create a Notebook.

Response: MethodResult

DELETE request: Delete Notebooks in batches.

Response: MethodResult

notebook

GET request: Query the details of a Notebook.

Response: Notebook

New Resource

iportal/web/notebooks/{id}

PUT request: Update the details of a Notebook.

Request body: Notebook

Response: MethodResult

DELETE request: Delete a notebook.

Response: MethodResult

notebooksShareSetting

PUT request: Update the sharing permissions of Notebooks in batches.

Request body: IportalAuthorizeSetting

Response: MethodResult

New Resource

iportal/web/notebooks/sharesetting

notebookShareSetting

PUT request: Update the sharing permissions of a Notebook.

Request body: IportalAuthorizeEntity[]

Response: MethodResult

New Resource

iportal/web/notebooks/{id}/sharesetting

notebookContent

PUT request: Update the contents of a Notebook.

Request body: String

Response: MethodResult

New Resource

iportal/web/notebooks/{id}/content

notebookUserTokenRefresh

POST request: Update the token used by the current user to log in to the DataScience server.

Response: MethodResult

New Resource

iportal/web/notebooks/usertoken/refresh

notebookUserToken

GET request: Get the token used by the current user to log in to the DataScience server.

Response: String

New Resource

iportal/web/notebooks/usertoken

DELETE request: Delete the token used by the current user to log in to the DataScience server.

Response: MethodResult

newsInfos

GET request: Query the news list.

Response: Page<NewsInfo>

New Resource

iportal/web/news

POST request: Add a news item.

Request body: NewsInfo

Response: MethodResult

DELETE request: Delete news in bulk.

Response: MethodResult

newsInfosPublishedStatus

PUT request: Update the publishing status of news in batches.

Request body: NewsPublishedSetting

Response: MethodResult

New Resource

iportal/web/news/publishedstatus

newsInfo

GET request: Get the details of a piece of news.

Response: NewsInfo

New Resource

iportal/web/news/{id}

PUT request: Update the specified piece of news.

Request body: NewsInfo

Response: MethodResult

feedbackInfos

GET request: Query the feedback list.

Response: Page<FeedbackInfo>

New Resource

iportal/web/feedback

POST request: Add a feedback.

Request body: FeedbackInfo

Response: MethodResult

DELETE request: Delete feedback in bulk.

Response: MethodResult

feedbackInfo

GET request: Get a piece of feedback detail.

Response: FeedbackInfo

New Resource

iportal/web/feedback/{id}

reviewFeedbackInfo

PUT request: Review a piece of feedback.

Request body: FeedbackReviewSetting

Response: MethodResult

New Resource

iportal/web/feedback/{id}/review

replyFeedbackInfo

PUT request: Reply to a feedback.

Request body: FeedbackReplySetting

Response: MethodResult

New Resource

iportal/web/feedback/{id}/reply

harvestBatchRegisterServices

GET request: Trigger one-time harvesting and batch registration services.

Response: MethodResult

New Resource

iportal/web/services/rooturls/harvest

checkImportedToRSS

GET request: Check whether the specified data is imported into relational storage.

Response: Boolean[]

New Resource

iportal/web/datas/importedtorelationship

dataContent

GET request: Get the content of the specified data.

Response: DataContentInfo

Added fileEncoding (encoding format) for request parameters

iportal/web/datas/{id}/content

maxCountApplyInfos

GET request: Get my key quota application information.

Response: Page<MaxCountApplyInfo>

New Resource

iportal/web/mycontent/keys/maxcountapplyinfos

POST request: Apply to change the key quota.

Parameter: KeyMaxCountApplySetting

Response: MethodResult

DELETE request: Delete my quota application.

Response: MethodResult

keys

GET request: Get the keys added by the current user.

Response: Page<KeyInfo>

The response body changed. The return information adds information about the key quota.

iportal/web/mycontent/keys

visitDetails

GET request: Get the access record details of a certain type of resource.

Response: Page<ResAccessRecord>

The response body changed. The return information adds response code and response time.

iportal/manager/portalstatistics/resource/visit/details

userProfile

GET request: Query the user-level configuration information of the current user.

Response: String

The response body changed. The returned information adds user types and user preference themes.

iportal/web/config/userprofile

webPrintingJobs

POST request: Create a Web printing task.

Request body: JSONObject

Response: ChildResourceInfo

New Resource

iportal/web/webprinting/jobs

webPrintingJob

GET request: Get the information, status, and result address of a specified Web printing task.

Response: JSONObject

New Resource

iportal/web/webprinting/jobs/{id}

layoutTemplates

GET request: Obtain all available template list information for the Web printing service.

Response: JSONObject

New Resource

iportal/web/webprinting/layouts

Configuration File Changes

File Path

File Name

Configuration Item Note

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

iportal.xml

serviceProxy

The default values of the <enable> and <enableAccessStatistics> nodes are changed to true, i.e., the service proxy and the corresponding access statistics functions are enabled by default.

keyConfig

Added key quota related configuration

loginSetting

Added user login configuration

registerSetting Added reserved username configuration