POST   custom_events

Creates new custom event.

Remarks

If you set all_checks property to false then you have to init checks property with not empty list of checks ids.

Severity property accepts one of these values: "I", "W", "E" or "F". "I" means Information, "W" means Warning, "E" means Error and "F" means Fatal.

Returns HTTP 201 when created (the Location header must contain URL to the new check).

Request body model example and description

{
  "name": "sample string 1",
  "description": "sample string 2",
  "from_utc": "2019-12-14T04:48:35",
  "to_utc": "2019-12-14T04:48:35",
  "severity": "I",
  "all_checks": false,
  "checks": [
    1,
    2,
    3
  ]
}
NameType Required Description
name String Yes

No documentation available.

description String No

No documentation available.

from_utc DateTime Yes

No documentation available.

to_utc DateTime No

No documentation available.

severity String Yes

No documentation available.

all_checks Boolean Yes

No documentation available.

checks Array No

No documentation available.