Subject: |
RE: REST API - Get device and URL |
Author: |
Jane Curry |
Posted: |
2017-07-13 05:24 |
I suggest you look at this -
http://wiki.zenoss.org/Working_with_the_JSON_API item on the wiki for lots of examples of using the JSON API.
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------
Subject: |
RE: REST API - Get device and URL |
Author: |
ema lo |
Posted: |
2017-07-13 06:09 |
Hello Jane,
I already seen your link sugegsted without lucky.
Could you suggest an example of cURL to extract Device list?
Regards
------------------------------
ema
------------------------------
Subject: |
RE: REST API - Get device and URL |
Author: |
Tim Caiazza |
Posted: |
2017-07-13 21:27 |
Do you need to use curl? Could you use the python-zenoss module instead?
If you need to use curl I suggest you open up chrome with the developers tools view enabled. Then you can see how posts are made to the rest API. See this post for more details https://community.zenoss.com/forum/community-home/digestviewer/viewthread?MessageKey=3ff2756d-ea96-4a94-ac48-d6adfb7d1bf3&CommunityKey=bf8b1900-b44f-44c3-8287-3b60f8023cf4&tab=digestviewer#bm3ff2756d-ea96-4a94-ac48-d6adfb7d1bf3#bm3
------------------------------
Tim Caiazza
------------------------------