com.vmware.content.library.subscribed_item

The subscribed_item service manages the unique features of library items that are members of a subscribed library.

evict

POST /com/vmware/content/library/subscribed-item/id:{library_item_id}?~action=evict
POST /com/vmware/content/library/subscribed-item?~action=evict

Evicts the cached content of a library item in a subscribed library.

This operation allows the cached content of a library item to be removed to free up storage capacity. This operation will only work when a library item is synchronized on-demand. When a library is not synchronized on-demand, it always attempts to keep its cache up-to-date with the published source. Evicting the library item will set com.vmware.content.library.item_model.cached to false.

Request:
Representations:
{
    "library_item_id""obj-103"
}
<?xml version="1.0" ?>
<ns0:Evict-Input xmlns:ns0="http://vmware.com/content/library/subscribed_item" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <library_item_id>obj-103</library_item_id>
</ns0:Evict-Input>
POST /com/vmware/content/library/subscribed-item?~action=evict
&library_item_id=obj-103

Parameters:
Name Type Required Description
library_item_id
 *
ID Yes Identifier of the library item whose content should be evicted. Id of type com.vmware.content.library.Item.

Response:
Representations:

Parameters:
Name Type Required Description
result VOID Yes

Errors:
Type Description HTTP Status Code
not_found if the library item specified by library_item_id does not exist. 404
invalid_element_type if the library item specified by library_item_id is not a member of a subscribed library. 400
invalid_element_configuration if the library item specified by library_item_id is a member of a subscribed library that does not synchronize on-demand. 400

Copyright © 2014. All Rights Reserved.