GET /com/vmware/content/library/item/file |
POST /com/vmware/content/library/item/file/id:{library_item_id}?~action=list |
POST /com/vmware/content/library/item/file?~action=list |
{
"library_item_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:List-Input xmlns:ns0="http://vmware.com/content/library/item/file" 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/file
?library_item_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
library_item_id* |
ID | Yes | Identifier of the library item whose files should be listed. Id of type com.vmware.content.library.Item. |
{
"value": [ { "cached": true, "checksum_info": { "algorithm": "SH_a1", "checksum": "string" }, "name": "string", "size": 10, "version": "string" }, { "cached": true, "checksum_info": { "algorithm": "SH_a1", "checksum": "string" }, "name": "string", "size": 10, "version": "string" } ] }
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/content/library/item/file" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <value-array> <array-item> <cached>true</cached> <name>string</name> <version>string</version> <size>10</size> <checksum_info> <checksum>string</checksum> <algorithm>SH_a1</algorithm> </checksum_info> </array-item> <array-item> <cached>true</cached> <name>string</name> <version>string</version> <size>10</size> <checksum_info> <checksum>string</checksum> <algorithm>SH_a1</algorithm> </checksum_info> </array-item> </value-array> </ns0:List-Result> |
Name | Type | Required | Description |
---|---|---|---|
result | List<info> | Yes | The array of all of the files that are stored within the given library item. |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if library_item_id refers to a library item that does not exist. |
404 |
Copyright © 2014. All Rights Reserved.