content library item: find spec
The
find_spec
structure specifies the properties that can be used as a filter to find library items. When multiple fields are specified, all properties of the item must match the specification.Representations:
{
"cached": true,
"library_id": "obj-103",
"name": "string",
"source_id": "obj-103",
"type": "string"
}
"cached": true,
"library_id": "obj-103",
"name": "string",
"source_id": "obj-103",
"type": "string"
}
<?xml version="1.0" ?>
<ns0:FindSpec xmlns:ns0="http://vmware.com/content/library/item" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<cached>true</cached>
<library_id>obj-103</library_id>
<source_id>obj-103</source_id>
<name>string</name>
<type>string</type>
</ns0:FindSpec>
<ns0:FindSpec xmlns:ns0="http://vmware.com/content/library/item" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<cached>true</cached>
<library_id>obj-103</library_id>
<source_id>obj-103</source_id>
<name>string</name>
<type>string</type>
</ns0:FindSpec>
Attributes:
Name | Type | Description |
---|---|---|
Optional | ||
name | string | The name of the library item. The name is case-insensitive. See content.library.item_model.name. Optional. If not specified all library item names are searched. |
library_id | string | The identifier of the library containing the item. See content.library.item_model.library_id. Optional. If not specified all libraries are searched.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.content.Library . When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.content.Library . |
source_id | string | The identifier of the library item as reported by the publisher. See content.library.item_model.source_id. Optional. If not specified all library items are searched.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.content.library.Item . When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.content.library.Item . |
type | string | The type of the library item. The type is case-insensitive. See content.library.item_model.type. Optional. If not specified all types are searched. |
cached | boolean | Whether the item is cached. Possible values are 'true' or 'false'. See content.library.item_model.cached. Optional. If not specified all library items are searched. |