REST API - site type/name

UPDATE: Found it: /api/computergroups/master

Hi

I am trying to find a way to get a list of computer groups (and the associated comments on each group - if possible). - But currently I am stuck at getting the computer groups…

In the console, all groups are listed as type “Automatic” and in site “Master Action Site” (it is on a system used for ILMT).

I have tried:

/api/computergroups/master/Master%20Action%20Site
/api/computergroups/external/Master%20Action%20Site
/api/computergroups/custom/Master%20Action%20Site

The only call, that didn’t fail, was a test towards /api/computergroups/external/BES%20Support - but no groups are registered here…

Any hints on how I get the groups information returned?

Regards
/B

For computer groups defined in the Master Action Site the following should work:

api/computergroups/master

Got as far, as I found the link to one of the groups on https://w.x.y.z:52311/api/computergroup/master/122

When doing a GET request to that URL (from Windows Powershell using Invoke-RestMethod), it looks like the result is a bit amputated…

xml : version=“1.0” encoding="UTF-8"
BES : BES

The BES subkey gives:

xsi : http://www.w3.org/2001/XMLSchema-instance
noNamespaceSchemaLocation : BES.xsd
ComputerGroup : ComputerGroup

Has anybody else tried to interface the REST api via Powershell and succeeded in getting a computergroup result ?

Digging somewhat deeper, I seem to have found the information I need…