Page 1 of 1
HTTP requests
Posted: Wed Feb 10, 2016 9:06 am
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?
Re: HTTP requests
Posted: Thu Feb 11, 2016 1:00 pm
by bbunge
Upgrade to 1.29.0 if you want to use API.
Re: HTTP requests
Posted: Thu Feb 11, 2016 5:58 pm
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)
Re: HTTP requests
Posted: Thu Feb 11, 2016 7:01 pm
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)
Re: HTTP requests
Posted: Fri Feb 12, 2016 8:39 pm
by DNS
asker, thank you!
It does work!