I'm trying to build out some documentation on our Jenkins infrastructure in confluence and I'd like to be able to pull it in via REST api.
First of all, I'd like to be able to fetch in a list of agents. I found this answer but the output doesn't contain the info I'm after:
- Name
- Labels
- IP Address
- Online status
- Operating system
I'd also like to pull a list of plugins. The call detailed in this thread just returned an array of empty objects. Resolved by adding ?depth=1
to the end.
- Name
- Short description
- Version
- Upgradable (nice to have, not important)
Do such an api endpoints exist?