Use this API to get the basic information of a site, such as a site ID and type.
Method |
URL |
Required authentication |
GET |
/V1/CMDB/Sites/SiteInfo |
Yes |
Name |
Description |
---|---|
Token*required |
Place the token received from the API Log in to get an authentication token. |
sitePath*required |
The full path of a site, such as My Network/NA/US. |
Parameter |
Type |
Description |
Example |
---|---|---|---|
siteInfo |
object |
An object with the basic information of a site. |
{ |
siteId |
string |
The site ID. |
|
sitePath |
string |
The full path of a site. |
|
isContainer |
bool |
Whether a site is container site. |
|
siteType |
integer |
The type of a site: ▪0: root ▪1: container site, ▪2: leaf site |