POST /api/management/start/groupId/serviceId
Description
Get the status of a API Gateway instance
This method works synchronously so it will block until the APIGateway sends back its status.
Parameters
Name | Optional | Description |
---|---|---|
groupId | mandatory | Topology Group Identifier. |
serviceId | mandatory | Topology Service Identifier. |
Result Codes
Result Code | Description |
---|---|
0 | Success. |
-1 | Failed. |
Example Request and Response
GET https://localhost.localdomain:8090/api/management/status/group-2/instance-1
Service Running
{
"result": "0"
}
Service Not Running
{
"result": "3"
}
Failed
{
"result": "-1",
"errors":[{ "code":601,"message":"Service does not exist" },
{ "code":602,"message":"Group does not exist" }]
}