<?xml version="1.0" encoding="UTF-8"?>
<con:resource name="/resources/hierarchy" path="/resources/hierarchy" id="de9e8bbc-36df-4f66-9937-976311e350a1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://eviware.com/soapui/config">
  <con:settings>
    <con:setting id="de9e8bbc-36df-4f66-9937-976311e350a1fileName">%2Fresources%2Fhierarchy</con:setting>
  </con:settings>
  <con:parameters/>
  <con:method name="GET" id="8162ad14-8abd-4ff2-b403-9428515846cf" method="GET">
    <con:description>get resource hierarchy-tree
Show the resources hierarchy</con:description>
    <con:settings/>
    <con:parameters>
      <con:parameter>
        <con:name>Depth</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:dataType>integer</con:dataType>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>Level</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:dataType>integer</con:dataType>
        <con:default/>
        <con:description>[1:Region, 2:Zone, 3:Rack, 4:Host]</con:description>
      </con:parameter>
      <con:parameter>
        <con:name>arch</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>hostId</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>loadStat</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>purpose</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
      <con:parameter>
        <con:name>status</con:name>
        <con:value/>
        <con:style>QUERY</con:style>
        <con:default/>
        <con:description xsi:nil="true"/>
      </con:parameter>
    </con:parameters>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>200</con:status>
      <con:params/>
      <con:sampleContent>{
  "controller.CommonResult" : {
    "code" : 0,
    "data" : { },
    "message" : "string"
  },
  "data" : {
    "root" : {
      "code" : "string",
      "name" : "string",
      "prefix" : "string",
      "subNodes" : [ { } ]
    }
  }
}</con:sampleContent>
    </con:representation>
    <con:representation type="REQUEST">
      <con:mediaType>application/json</con:mediaType>
      <con:params/>
    </con:representation>
    <con:request name="Request 1" id="fb85d618-2332-43a9-bd1f-f37952f84c6b" mediaType="application/json">
      <con:settings/>
      <con:endpoint>http://172.16.4.134:4100</con:endpoint>
      <con:credentials>
        <con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
        <con:authType>No Authorization</con:authType>
      </con:credentials>
      <con:parameters>
        <con:entry key="purpose" value=""/>
        <con:entry key="hostId" value=""/>
        <con:entry key="Level" value=""/>
        <con:entry key="arch" value=""/>
        <con:entry key="loadStat" value=""/>
        <con:entry key="Depth" value=""/>
        <con:entry key="status" value=""/>
      </con:parameters>
    </con:request>
  </con:method>
</con:resource>
