Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/resources/getName/{resourceId}/name 
Method

GET

 
Path ParameterresourceIdId of the resource which name we want to retrieve.
ReturnStringName of the resource identified by the given resourceId.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/resources/getDescriptor/{resourceId}/descriptor 
Method

GET

 
Path ParameterresourceIdId of the resource which descriptor we want to retrieve
ReturnResourceDescriptorName of the resource identified by the given resourceId.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/resources/getStatus/{resourceId}/status 
Method

GET

 
Path ParameterresourceIdId of the resource which status we want to retrieve
ReturnStringCurrent status of the resource.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/resources/listResourcesNameByTypetype/{resourceTypetype}/name 
Method

GET

 
Path ParameterresourceTypeType of the list of resources we want to retrieve.
ReturnList<String>Name of the resources which type matches the one given by the user.

...

Code Block
themeEclipse
languagehtml/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
<elements>      
	<element xsi:type="xs:string">myre</element>      
	<element xsi:type="xs:string">gsn</element>
</elements>  <resource>dub_1_log</resource>
  <resource>myre</resource>
  <resource>logicalrouter1</resource>
</resources>