Retrieve list of global catalog
/api/v1/cat/list?vdc=controller-name
Name of the target virtual data center
synchronous
GET
Retrieve a list of the catalogs.
GET http://192.168.123.200/api/v1/cat/list?vdc=mygrid
<opt> <catalog dynamic> <description></description> </catalog dynamic> <catalog filer> <description></description> </catalog filer> <catalog system> <description></description> </catalog system> <catalog user> <description></description> </catalog user> </opt>
{
"catalog user" : {
"description" : ""
},
"catalog filer" : {
"description" : ""
},
"catalog system" : {
"description" : ""
},
"catalog dynamic" : {
"description" : ""
}
}
Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.
Retrieve information for a local application or a global catalog
/api/v1/cat/info?cat=catalog&vdc=controller-name
Name of the catalog
Name of the target virtual data center
synchronous
GET
Retrieve information for catalog test.
GET http://192.168.123.200/api/v1/cat/info?cat=/test&vdc=mygrid
<catalog> <name>test</name> <description></description> <total_classes>0</total_classes> <total_diskspace>0</total_diskspace> </catalog>
{
"total_classes" : "0",
"name" : "test",
"description" : "",
"total_diskspace" : "0"
}
Entity vdc mygrid not found - A VDC name was specified that is not configured in the WS_API application.
Missing required arguments (cat). - Argument cat=catalog missing in the request.
'test' is not a valid catalog - Invalid catalog specified in the request.
|
Copyright © 2012 CA.
All rights reserved.
|
|