- URL:https://<root>/services/<serviceName.serviceType>/status
- Required Capability:Default administrator role | Security and infrastructure | Update | Delete | Publisher role
- Version Introduced:10.9
Description
The status resource provides the configured and current status of a GIS service. The configured status represents the state of the resource as it is configured. For example, starting a service sets its configured status to STARTED. However, he configured state may not match the current state of the resource. For the current state of the service, review the value returned by the realTimeState property.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default format is html. Values: html | json | pjson |
Response properties
Property | Details |
---|---|
configuredState | The configured state of the resource. The default state is STOPPED. Values: STOPPED | STARTED |
realTimeState | The actual (current) state of the resource. Values: STOPPED | STARTED |
Example usage
The following is a sample request URL used to access the status resource:
https://organization.domain.com/context/admin/services/Hosted/SampleService.FeatureServer/status?f=pjson
JSON Response example
{
"configuredState": "STARTED",
"realTimeState": "STARTED"
}