POST /api/management/start/groupId/serviceId
Description
Start a API Gateway instance
This method works synchronously so it will block until the APIGateway starts the services with success or it fails.
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
POST https://localhost.localdomain:8090/api/management/start/group-2/instance-1
Success
{
"result": "0"
}
Success
{
"result": "-1",
"errors":[{ "code":601,"message":"Service does not exist" },
{ "code":602,"message":"Group does not exist" }]
}