<map_uri>/status[.<format>]
Update the map status resource. The map status can be SAVED and PUBLISHED. This is an outdated resource and removed in iPortal 8C and up versions.
Supported Methods:
Supported representation formats: RJSON, JSON, HTML and XML.
Execute the HTTP request on the following URI, where supermapiserver is the server name, with rjson being the output format.
http://supermapiportal:8090/iportal/web/maps/{id}/status.rjson
Update the map status. This can only be performed on maps with editable authorization.
Execute a PUT request on the myMail resource to update the map status. The representation structure for the resource returned is shown as below:
Field | Type | Description |
succeed | boolean | If the map status is updated successfully. |
error | Httperror | Error message. This field will not be created if the map status is updated successfully. |
Execute a PUT request on the mapStatus resource: http://localhost:8090/iportal/web/maps/1/status.rjson. The request sent is:
PUBLISHED
The response result in rjson format returned is as follows:
{"succeed": true}