Owner's manual

<vendor>HP</vendor>
<type>LTO6</type>
</firmwareFile>
<firmwareFile>
<name>LTO6_J2AW.frm</name>
<version>J2AW</version>
<vendor>HP</vendor>
<type>LTO6</type>
</firmwareFile>
</ns2:driveLevelingPolicy>
XML Request Data Example 2
<ns2:driveLevelingPolicy
xmlns:ns2="http://automatedMediaLibrary/">
<partition>LL1</partition>
<type>2</type>
<firmwareFile>
<name>LTO6_J2AW.frm</name>
<version>J2AW</version>
<vendor>HP</vendor>
<type>LTO6</type>
</firmwareFile>
</ns2:driveLevelingPolicy>
XML Response See “URI: aml/partition/{name}/name (page 80) for the
XML Response code.
URI: aml/partition/{name}/segments
Method GET
Description Retrieve the segments resources for the partition given by
the path template name.
Media Type Request: N/A
Response: application/xml and application/json
Parameters Query parameters names are type, state, start, length, frame,
and rack with the following valid values:
type—storage, ie, drive, or xie
state—full or empty
Range parameters
start—0-n
length—1-n or -1 for all media
frame—0 - maximum number of frames
rack—1 or 2
To retrieve all segments:
aml/partition/{name}/segments?start=0&length=-1—all
segments in one call (default if no range is specified)
aml/partition/{name}/segments?type=drive—retrieve
all drive segments
Response Code 200, 401, 404, and 500
Method POST
Description Add the list of segments to the partition whose name is given
by URI path template name. The added segments must
not be currently owned by this partition or another partition,
they must be available. To discover which segments are
36 Resource