Retrieve object, Delete object, Retrieve object delete object – HP StoreAll Storage User Manual

Page 151

Advertising
background image

Retrieve Object

Type of Request: Object Requests

Description: Returns the list of containers for a user account.

HTTP command:

GET /<urlpath>/<account_name>/<container_name> HTTP/1.1

CURL command (Enter on one line):

curl -o <local_pathname> http://<IP_address:port>/<urlpath>/

<account_name>/<container_name>/<object_id> -u <username>:<password>

Delete Object

Type of Request: Object Requests

Description: Deletes an object.

HTTP command:

DELETE /<urlpath>/<account_name>/<container_name>/<object_name> HTTP/1.1

CURL command (Enter on one line):

curl -X DELETE http://<IP_address:port>/<urlpath>/<user_id>/

<container_name>/<objectname> -u <username>:<password>

Commands for object mode

151

Advertising