- URL:
- https://<adminservicecatalog-url>/services/<serviceName>/MapServer/edit
- Methods:
POST
Description
The edit
operation enables editing the service source
, min
, max
, export
, and max
parameters.
Parameters
Parameter | Details |
---|---|
f | Description: The response format. The default response format is Values: |
service | Description: The service definition. {"exportTilesAllowed": false, "maxExportTilesCount": 100000, "cacheOnDemand": false, "capabilities": "Map", "cacheMaxAge": 600, "abstract": null, "metadataLink": null, "keywords": [] } |
source | Description: The source item ID is the GeoWarehouse item ID of the map service.
|
min | Description: The minimum scale value of the map service.
|
max | Description: The maximum scale value of the map service.
|
export | Description: Enables or disables the exporting of tiles for a hosted map service.
|
max | Description: Sets the maximum tile count for exporting tiles for a hosted map service.
|
Example usage
https
Example 1
https
JSON Response syntax
{
"success": <true|false>,
"error": {
"code": <code>,
"message": "<description>",
"details": [
"<message>"
]
}
}
JSON Response example (when edit
succeeds)
{
"success" : true
}
JSON Response example (when edit
fails)
{
"error" :
{
"code" : 400,
"message" : "",
"details" : [
"Invalid service definition specified.",
"Invalid object passed in, ':' or '}' expected. (521): {\"adminServiceInfo\" : {\"name\" : \"WorldService\", \"type\" : \"MapServer\",....
]
}
}