HTTP requests

Forum for questions and support relating to the 1.28.x releases only.
Locked
DNS
Posts: 3
Joined: Wed Feb 10, 2016 8:59 am

HTTP requests

Post by DNS »

Dear colleagues!
I try to get a list of all monitors by http request. Next step should be detailing information about each of them. API does not work in given ZM
Could someone help me in the problem?
bbunge
Posts: 2975
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: HTTP requests

Post by bbunge »

Upgrade to 1.29.0 if you want to use API.
DNS
Posts: 3
Joined: Wed Feb 10, 2016 8:59 am

Re: HTTP requests

Post by DNS »

Thanks for reply.
But it is necessary to obtain a list of monitors from the given server.
Could You help me?
--edit--
I need no API. It is enough for me to use HTTP requests. As I'd marked, requests are similar to http://server/zm/index.php?some-instrructions. For example, I can get groups of monitors (...?view=groups). But I need to get the monitors (and soon their description)
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: HTTP requests

Post by asker »

http://server/zm/index.php?skin=xml

Note: Its very likely the skin will be deprecated in the next version of ZM (after 1.29)
DNS wrote:Thanks for reply.
But it is necessary to obtain a list of monitors from the given server.
Could You help me?
--edit--
I need no API. It is enough for me to use HTTP requests. As I'd marked, requests are similar to http://server/zm/index.php?some-instrructions. For example, I can get groups of monitors (...?view=groups). But I need to get the monitors (and soon their description)
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
DNS
Posts: 3
Joined: Wed Feb 10, 2016 8:59 am

Re: HTTP requests

Post by DNS »

asker, thank you!
It does work!
Locked