GET   groups

Gets a hierarchy of all monitor groups that are visible to you as a user or a customer depending on the request context.

Remarks

  1. Since "top" groups may contain "sub" groups, in the example they are displayed as NULL. But they contain the same fields.

  1. The default context for the route is the user context. To enable customer context (if it's allowed for the user) use the request query parameter customer_context=1.

    Request example

Response body model example and description

[
  {
    "id": 13,
    "name": "Group #2",
    "rank": 5,
    "groups": null
  },
  {
    "id": 13,
    "name": "Group #3",
    "rank": 3,
    "groups": null
  },
  {
    "id": 13,
    "name": "Group #1",
    "rank": 3,
    "groups": null
  }
]
NameType Description
idInteger

The group's numeric identity.

nameString

The group's name.

rankInteger

The group's rank.

groupsArray

The group's sub-groups.

idInteger

The group's numeric identity.

nameString

The group's name.

rankInteger

The group's rank.

groupsArray

The group's sub-groups.