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.
2) 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.

Response body model example and description

[
  {
    "id": 1,
    "name": "sample string 2",
    "rank": 1,
    "groups": null
  },
  {
    "id": 1,
    "name": "sample string 2",
    "rank": 1,
    "groups": null
  },
  {
    "id": 1,
    "name": "sample string 2",
    "rank": 1,
    "groups": null
  }
]
NameType Description
id Integer

No documentation available.

name String

No documentation available.

rank Integer

No documentation available.

groups Array

No documentation available.

id Integer

No documentation available.

name String

No documentation available.

rank Integer

No documentation available.

groups Array

No documentation available.