GET /com/vmware/content/library/item/storage |
POST /com/vmware/content/library/item/storage/id:{library_item_id}?~action=list |
POST /com/vmware/content/library/item/storage?~action=list |
{
"library_item_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:List-Input xmlns:ns0="http://vmware.com/content/library/item/storage" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <library_item_id>obj-103</library_item_id> </ns0:List-Input>
GET /com/vmware/content/library/item/storage
?library_item_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
library_item_id* |
ID | Yes | Identifier of the library item whose storage information should be listed. Id of type com.vmware.content.library.Item. |
{
"value": [ { "storage_backing": { "datastore_id": "obj-103", "storage_uri": "http://myurl.com", "type": "DATASTORE" }, "storage_uris": [ "http://myurl.com", "http://myurl.com" ] }, { "storage_backing": { "datastore_id": "obj-103", "storage_uri": "http://myurl.com", "type": "DATASTORE" }, "storage_uris": [ "http://myurl.com", "http://myurl.com" ] } ] }
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/content/library/item/storage" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <value-array> <array-item> <storage_backing> <datastore_id>obj-103</datastore_id> <storage_uri>http://myurl.com</storage_uri> <type>DATASTORE</type> </storage_backing> <storage_uris-array> <array-item>http://myurl.com</array-item> <array-item>http://myurl.com</array-item> </storage_uris-array> </array-item> <array-item> <storage_backing> <datastore_id>obj-103</datastore_id> <storage_uri>http://myurl.com</storage_uri> <type>DATASTORE</type> </storage_backing> <storage_uris-array> <array-item>http://myurl.com</array-item> <array-item>http://myurl.com</array-item> </storage_uris-array> </array-item> </value-array> </ns0:List-Result> |
Name | Type | Required | Description |
---|---|---|---|
result | List<info> | Yes | The array of all storage items for a given library item. |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if the specified library item does not exist. | 404 |
Copyright © 2014. All Rights Reserved.