Files
librenms-librenms/doc/API/PollerGroups.md
VTS 47c6842b01 API: get poller group (#15493)
* API: get poller group

* missed string in doc

* return all poller groups if name/id aren't specified

* add missing doc link

* style fixes

* more style

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-11-01 22:33:35 -05:00

392 B

###get_poller_group

Gets a specific poller group or all if none is specified

Route: /api/v0/poller_group/:poller_group

  • poller_group: optional name or id of the poller group to get

Output:

{
    "status": "ok",
    "get_poller_group": [
        {
            "id": 1,
            "group_name": "test",
            "descr": "test group"
        }
    ],
    "count": 1
}