landscapes

Contents
casp941
Contents
Use the Landscapes resource to retrieve landscape information.
  • Base URL
    http://<hostname><:portnumber>/spectrum/restful/landscapes
GET landscapes
GET landscapes returns information about all landscapes.
  • URL
    http://<
    hostname
    ><:
    portnumber
    >/spectrum/restful/landscapes
  • HTTP Method
    GET
  • Body
    None
  • Body Content
    Not Used
  • Header
    application/xml, application/json
  • Output
    XML or JSON listing all landscapes in
    SpectroSERVER
    or distributed
    SpectroSERVER
Example
The following URL requests all landscapes:
http://localhost/spectrum/restful/landscapes
The following is returned for the request:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <landscape-response xmlns="http://www.ca.com/spectrum/restful/schema/response" total-landscapes="1"> - <landscape> <id>0x1800000</id> <name>comp001</name> <isPrimary>true</isPrimary> <spectrumVersion>9.2.1.005</spectrumVersion> </landscape> </landscape-response>