- URL:https://<services-url>/exists(POST only)
- Required Capability:Default administrator role | All authorized privileges
Description
This operation checks if a folder or service exists on the GIS server.
Request parameters
Parameter | Details |
---|---|
folderName | The name of the folder. Example
|
serviceName | The name of the service. Example
|
type | The type of the service. |
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for exists:
POST /webadaptor/admin/services/exists HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
folderName=Maps&serviceName=Test&type=MapServer&f=json
JSON Response example
{"exists": true}