beautypg.com

Uri: aml/drives/ports, Uri: aml/enum, Uri: aml/enum/{component – HP StoreEver ESL G3 Tape Libraries User Manual

Page 24: Uri: aml/enum/{component}/element

background image

URI: aml/drives/ports

Method

GET

Description

Retrieve all drive port resource instances.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

Query parameter names are configuration with the following valid values:

configuration—actual or requested

Response Code

200, 400, 401, 403, and 500

XML Response

See

“URI: aml/drives/ports” (page 72)

for the XML Response code.

URI: aml/enum

Method

GET

Description

Retrieve all the enum resource instances. The enum resources describe the
name value pairs for certain XML object elements. For instance the RASGroup
object has a property group and a value of 1. To find what 1 means you
could request all enums and find in the componentList a component with the
name “RASGroup” and the element with name “group”. You would then
lookup the entry with a key=1 and see what its value is, in this case it is
“Connectivity”, see the XML Response Data at

“URI: aml/enum” (page 73)

.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, and 500

XML Response

See

“URI: aml/enum” (page 73)

for the XML Response code.

URI: aml/enum/{component}

Method

GET

Description

Retrieve the enum resource instances whose is given by the URI path template
“component”. This is similar to the aml/enum resource except this URI should
only return the elements for the specific path component template parameter.
The example output below shows what the response would be if the user
used the component named “RASGroup”.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 400, 401, 404, 500

XML Response

See

“URI: aml/enum/{component}” (page 74)

for the XML Response code.

URI: aml/enum/{component}/element}

Method

GET

Description

Retrieve the enum element resource instance represented by the component
and element path parameter. So the URI “aml/enum/media/mediaType”
would return the response data seen

“XML responses for URIs” (page 58)

.

Media Type

Request: N/A

Response: application/xml and application/json

24

Resource