REST API - find
com.vmware.content.library
find
POST /com/vmware/content/library?~action=find |
Returns a list of all the visible (as determined by authorization policy) libraries matching the requested com.vmware.content.library.find_spec.
- Request:
-
- Representations:
{
"spec": {
"name": "string",
"type": "LOCAL"
}
}<?xml version="1.0" ?>
<ns0:Find-Input xmlns:ns0="http://vmware.com/content/library" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<spec>
<name>string</name>
<type>LOCAL</type>
</spec>
</ns0:Find-Input>POST /com/vmware/content/library?~action=find
&spec.name=string
&spec.type=LOCAL- Parameters:
Name Type Required Description spec *
find_spec Yes Specification describing what properties to filter on. - Response:
-
- Representations:
- Parameters:
Name Type Required Description result List<ID> Yes The array of identifiers of all the visible libraries matching the given spec
. Id of type com.vmware.content.Library. - Errors:
-
Type Description HTTP Status Code invalid_argument if no properties are specified in the spec
.400
Copyright © 2014. All Rights Reserved.