POST /id
Description
Get the next host, group, gateway, or node manager id in the topology and return it. This results in a topology update.
This is used before the CSR (Certificate Sign Request) is generated in managedomain, when Node Managers are being added to a domain.
Resource URL
https://localhost:8090/api/topology/id
Parameters
type | mandatory | The type of id, i.e. Host, Group, Gateway or NodeManager. |
Response Codes
Response Code | Description |
---|---|
201 | Success. The response body contains the id. |
500 | The response contains an error e.g. failed to propagate topology update. |
Example Request and Response
GET https://localhost:8090/api/topology/id?type=Host
HTTP 1.1 200 OK
{
"result": "host-3"
}