This function returns a list of child sites of a specified site.
Method |
URL |
Required authentication |
GET |
/V1/CMDB/Sites/ChildSites |
Yes |
Name |
Description |
---|---|
Token*required |
The token can be obtained by sending a POST request to the log in session endpoint and provide valid credentials. |
sitePath*required |
The full path of a site, for example, My Network/NA/US. |
Parameter |
Type |
Description |
Example |
|
---|---|---|---|---|
Sites |
array |
A list of all child sites. |
|
|
siteId |
string |
The site ID. |
||
sitePath |
string |
The full path of a site. |
||
siteType |
integer |
The type of a site. ▪0: root site ▪1: container site ▪2: leaf site |
||
isContainer |
bool |
Whether it is a container site. |
||
children |
array |
List of child sites of the specified container site. |
||
statusCode |
integer |
Code issued by NetBrain server indicating the execution result. |
||
statusDescription |
string |
The explanation of the status code. |