beautypg.com

Retrieve object, Delete object, Filesystem flush – HP StoreAll Storage User Manual

Page 216: Retrieve object delete object filesystem flush

background image

Retrieve Object

Type of Request: Object Requests

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

HTTP command:

GET /// HTTP/1.1 ["Sync-Requested:

1"]

CURL command (Enter on one line):

curl -o http:////

// -u :

[--header "Sync-Requested: 1"]

Delete Object

Type of Request: Object Requests

Description: Deletes an object.

HTTP command:

DELETE //// HTTP/1.1
["Sync-Requested: 1"]

CURL command (Enter on one line):

curl -X DELETE http:////// -u :
[--header "Sync-Requested: 1"]

Filesystem flush

Description: Sync or flush all pending write operations on entire filesystem.

HTTP command:

PUT //HTTP/1.1

Sync-Requested: 1

CURL command (Enter on one line):

curl -X DELETE http:/// —u

: --header “Sync-Requested: 1”

The HTTP response will return the "Sync-Result" header in the response with the value that
represents the errno (defined in the standard Linux header files errno_base.h and errno.h),
where 0 (zero) means that sync was done successfully and any other value indicates sync did not
complete and durability is not guaranteed.

216

HTTP-REST API object mode shares