HPE 3PAR StoreServ Storage
1820736 Members
3302 Online
109627 Solutions
New Discussion

Re: Query: 3PAR WSAPI query

 
SOLVED
Go to solution
BradV
Esteemed Contributor

3PAR WSAPI query

I'm trying to query on a specific class.  For example, I want to when an object was created.  So, I run:

curl --silent --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog?query=%22class%20EQ%202%22 | jq -r '.'

and I get back:

{
  "total": 0,
  "members": []
}

However, if I just run:

curl --silent --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog | jq -r '.'

I see lots of events with "class": 2.  Is class not a searchable parameter?

5 REPLIES 5
support_s
System Recommended

Query: 3PAR WSAPI query

System recommended content:

1. HPE 3PAR Web Services API Developer's Guide

2. HPE 3PAR OS 3.3.1 MU5 Release Notes

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo

BradV
Esteemed Contributor

Re: Query: 3PAR WSAPI query

I have read the developers guide and looked at the release notes.  The information is not there, or if it is, it is not clear.

veeyarvi
HPE Pro

Re: Query: 3PAR WSAPI query

Hi BradV,

Will check this too

Regards,

Veeyaarvi



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
veeyarvi
HPE Pro
Solution

Re: Query: 3PAR WSAPI query

Hi BradV,

'class' is not a supported parameter for search

Veeyaarvi



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
BradV
Esteemed Contributor

Re: Query: 3PAR WSAPI query

Well, that sucks. 

I certainly would like to be able to search on that.  Thanks for the research and feedback!