Uri: aml/partition/{name}/ampextensionscount – HP StoreEver ESL G3 Tape Libraries User Manual

Page 27

Advertising
background image

Description

Modify the partition whose name is given by the URI path template “name”.

The following URI aml/partition/LL2 and XML request data will modify
the partitions, name, ampExtensionsCount, barcodeReporting, vendorId and
productId. These values are the only ones that can be modified through this
URI. The serialNumber field must be specified as this is used to lookup the
partition you want to modify.

Media Type

Request: application/xml and application/json

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 404, and 500

Method

DELETE

Description

Delete the partition whose name matches the name template path parameter.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 404, and 500

XML Response

See

“URI: aml/partition/{name}” (page 76)

for the XML Response code.

URI: aml/partition/{name}/ampExtensionsCount

Method

GET

Description

Retrieve the current Automated Media Pool (AMP) extensions
count for the partition whose name is provided by the URI
path template “name”.

A single string value will be returned that represents the
current configured extension count.

NOTE:

The count represents the number of magazines.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401,404, and 500

Example: Response Data

4

Method

PUT

Description

Change the partition’s AMP extensions count (segments),
the number that is requested will be added or subtracted
from the current extension count. If you want to add 5
segments to the current count, request 5. If you want to
remove 4 request -4.

This option only applies to standard partitions.

NOTE:

The partition mode must change before a

connected host will see these changes. To change the
partitions mode, see

“URI: aml/partition/{name}/mode”

(page 33)

.

Media Type

Request: text/plain

URI: aml/partition/{name}/ampExtensionsCount

27

Advertising