List objects – HP StoreAll Storage User Manual
Page 214
HTTP command:
PUT /
[“Sync-Requested: 1”]
CURL command (Enter on one line):
curl -X PUT http://
“Sync-Requested: 1”]
You can use a number of different formats for Active Directory users:
NOTE:
Enter commands on one line.
•
curl -X PUT http://
•
You can provide the
curl command:
◦
In the first format, double backslashes are used to preserve (escape) the backslash
separator between username and domain name:
curl -X PUT http://
\\
\\
As shown in the following example:
curl -X PUT http://192.168.2.2/obj/qa1\\administrator
activedomaincontainer -u qa1\\administrator:password12
◦
In the second format, double quotes are used to preserve the backslash:
curl -X PUT "http://
\
\
◦
In the third format, the %5C URL encoding of the backslash is used in the URL, but it cannot
be used in the -u user parameter:
curl -X PUT http://
%5C
\\
As shown in the following example:
curl -X PUT http://192.168.48.204/obj/administrator
/activedomaincontainer -u [email protected]
:mypassword
List Objects
Type of Request: Container services
Description: Lists the objects in a container.
HTTP command:
GET /
CURL command (Enter on one line):
curl http://
The list of all objects in the container will be returned in JSON format.
214
HTTP-REST API object mode shares