Owner's manual

Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, 403, 404, and 500
Example: Text Request Data
New Partition Name
XML Response See “URI: aml/partition/{name}/name (page 80) for the
XML Response code.
URI: aml/partition/{name}/driveCleaning
Method GET
Description Retrieve the drive cleaning policy resource for the partition whose name
is given by the URI path template name”.
Media Type Request: N/A
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, 404, and 500
Method POST
Description Create a new drive cleaning policy for the partition whose name is given
by the URI path template name”.
Media Type Request: application/xml and application/json
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, 403, 404, and 500
XML Request Data
Method PUT
Description Update the drive cleaning policy resource for the partition whose name
is given by the URI path template name”.
Media Type Request: N/A
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, 403, 404, and 500
XML Request Data
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:driveCleaningPolicy
xmlns:ns2="http://automatedMediaLibrary/">
<partition>LL2</partition>
<driveCleaning>
<motionTime>400</motionTime>
</driveCleaning>
</ns2:driveCleaningPolicy>
Method DELETE
Description Delete the drive cleaning policy resources for the partition whose name
is given by the URI path template name”.
Media Type Request: N/A
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, 404, and 500
34 Resource