appliance techpreview services status: get
Get status of a service.
Request:
HTTP request
POST https://{server}/rest/appliance/techpreview/services/status/get
Request Body Structure:
{
"name" : "string",
"timeout" : 1
}
"name" : "string",
"timeout" : 1
}
Request Body Parameters:
| Name | Type | Description |
|---|---|---|
| bold = required | ||
| name | string | Name of a service. |
| timeout | long | Timeout in seconds. Zero (0) means no timeout. |
Response:
HTTP Status Code: 200
Representation:
{
"value" : "down"
}
"value" : "down"
}
Response Type:
| Name | Type | Description |
|---|---|---|
| bold = required | ||
| value | string | Defines service status. Value is one of: down: Service is not running. up: Service is running.Status of the service. |
Errors:
| HTTP Status Code | Type | Description |
|---|---|---|
| 500 | error | Generic error |