#ocum api request severity parameter

1 messages · Page 1 of 1 (latest)

jagged walrus
rocky burrow
#

/api/management-server/events?severity=warning

rocky burrow
#

Only one severity can be specified in the request at a time.

jagged walrus
#

Well in 9.6 u could have specified 3 severities in a request by sending the following:

/api/management-server/events?severity=warning|critical|error

Is there no longer a way to that?

rocky burrow
#

Using a , or | results in a
{
"error": {
"message": "No enum constant com.netapp.dfm.entity.platform.event.EventSeverity.warning,critical",
"target": null,
"code": null
}
}

jagged walrus
#

Yep that's exactly the error I get is there no way around it*

#

?

rocky burrow
#

It appears to only accept a single value.