You are here

Shared notification profiles: No results returned

2 posts / 0 new
Last post
zepplen
zepplen's picture
Shared notification profiles: No results returned

when making a get call to the rest/config/sharednotificationprofile hander I get the following result:

200
OK
{"summary"=>{"page"=>"1", "totalrows"=>"0", "allrows"=>"0", "totalpages"=>"1", "rows"=>"0"}, "list"=>[]}

 

However if I look at the web gui on the Shared notification profile -> List page, it is returning 4 results.

I can post a new entry to the rest/config/sharednotificationprofile handler and it correctly creates a profile that is visible in the Web GUI but not via the REST interface.

I have deleted all the default Profiles, and replaced them new profiles.

 

Is this a bug, or am I missing something in how I call the handler?

We are running Opsview Core Build 3.20130822.0.13417
 

zepplen
zepplen's picture
Re: Shared notification profiles: No results returned

So after some more digging around, it looks like this call is only returning shared profiles that are associated with current user's role.

 

How can I list ALL shared profiles?