AnsweredAssumed Answered

Cannot find any storage with REST API

Question asked by b066y8jk on Mar 27, 2017
Latest reply on Mar 27, 2017 by b066y8jk

Hi,

recently installed a brand new storage array (G800), I'm trying to get some information by the way of the REST API.

Windows REST API service is running (checked).

But I cannot get any storage with a simple curl command :

 

curl -v -k -H "Accept:application/json" -X GET https://xxx.xxx.xxx.xxx:23451/ConfigurationManager/v1/objects/storages

* About to connect() to xxx.xxx.xxx.xxx port 23451 (#0)

*   Trying xxx.xxx.xxx.xxx...

* Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 23451 (#0)

* Initializing NSS with certpath: sql:/etc/pki/nssdb

* skipping SSL peer certificate verification

* SSL connection using TLS_RSA_WITH_AES_256_GCM_SHA384

* Server certificate:

*       subject: CN=example.com

*       start date: févr. 19 10:20:22 2016 GMT

*       expire date: juil. 07 10:20:22 2043 GMT

*       common name: example.com

*       issuer: CN=example.com

 

> GET /ConfigurationManager/v1/objects/storages HTTP/1.1

> User-Agent: curl/7.29.0

> Host: xxx.xxx.xxx.xxx:23451

> Accept:application/json

>

< HTTP/1.1 200 OK

< Date: Mon, 27 Mar 2017 08:35:32 GMT

< Server: Apache

< Content-Type: application/json; charset=UTF-8

< Transfer-Encoding: chunked

<

{

  "data" : [ ]

* Connection #0 to host xxx.xxx.xxx.xxx left intact

}

 

No data is returned.

Do I miss something ?

 

Thanks for help.

Denis

Outcomes