LibraryItemFindSpec

The Item.FindSpec 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.


Properties

boolean
cached Optional

Whether the item is cached. Possible values are ‘true’ or ‘false’. See ItemModel.cached. If not specified all library items are searched.


string
library_id Optional

The identifier of the library containing the item. See ItemModel.library-id. 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.


string
name Optional

The name of the library item. The name is case-insensitive. See ItemModel.name. If not specified all library item names are searched.


string
source_id Optional

The identifier of the library item as reported by the publisher. See ItemModel.source-id. 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.


string
type Optional

The type of the library item. The type is case-insensitive. See ItemModel.type. If not specified all types are searched.

JSON Example

{
    "cached": false,
    "library_id": "string",
    "name": "string",
    "source_id": "string",
    "type": "string"
}
Parameter To

Find Item
Feedback

Was this page helpful?