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.

Representation:

{
    "cached"true,
    "library_id""obj-103",
    "name""string",
    "source_id""obj-103",
    "type""string"
}

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.