landscapes
内容
casp1032jp
内容
landscapesリソースを使用して、ランドスケープ情報を取得します。
- ベース URLhttp://<hostname><:portnumber>/spectrum/restful/landscapes
GET landscapes
GET landscapesは、すべてのランドスケープに関する情報を返します。
- URLhttp://<hostname><:portnumber>/spectrum/restful/landscapes
- HTTP メソッドGET
- ボディなし
- ボディ コンテンツ使用されません
- ヘッダapplication/xml、application/json
- 出力SpectroSERVERまたは分散SpectroSERVERのすべての landscapesを記載する XML または JSON
例
以下の URL は、すべてのランドスケープを要求します。
http://localhost/spectrum/restful/landscapes
要求に対して以下が返されます。
<?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>