changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "availability": {
+ "description": "Availability for this monitor in the selected range, as a percentage",
+ "examples": [
+ 99.944
+ ],
+ "format": "float",
+ "type": "number"
+ },
+ "downtime": {
+ "description": "Total downtime for this monitor in seconds",
+ "examples": [
+ 1500
+ ],
+ "type": "integer"
+ },
+ "highest_incident_impact": {
+ "description": "Highest impact level observed for this monitor in the selected range",
+ "enum": [
+ "unknown",
+ "operational",
+ "maintenance",
+ "degraded_performance",
+ "partial_outage",
+ "major_outage"
+ ],
+ "examples": [
+ "major_outage"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "description": "Monitor ID",
+ "examples": [
+ 12
+ ],
+ "type": "integer"
+ },
+ "incident_count": {
+ "description": "Number of incidents affecting this monitor in the selected range",
+ "examples": [
+ 2
+ ],
+ "type": "integer"
+ },
+ "incidents": {
+ "description": "Incidents that affected this monitor in the selected range",
+ "items": {
+ "properties": {
+ "created_at": {
+ "description": "Date of creation for the entity",
+ "format": "date-time",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the error that caused the incident",
+ "examples": [
+ "The server answered with an unexpected status code: 503."
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "exclude_from_downtime": {
+ "description": "Flag to exclude the incident from downtime calculations",
+ "examples": [
+ false
+ ],
+ "type": "boolean"
+ },
+ "id": {
+ "examples": [
+ 1
+ ],
+ "type": "integer"
+ },
+ "impact": {
+ "description": "Incident impact",
+ "enum": [
+ "unknown",
+ "operational",
+ "maintenance",
+ "degraded_performance",
+ "partial_outage",
+ "major_outage"
+ ],
+ "type": "string"
+ },
+ "incident_at": {
+ "description": "Date of incident confirmation, defaults to the current date on creation. Must be within the last year and no more than 10 minutes in the future.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "monitors": {
+ "description": "List of monitors linked to the incident",
+ "examples": [
+ [
+ 1,
+ 2,
+ 3
+ ]
+ ],
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "project_id": {
+ "description": "Parent project ID",
+ "examples": [
+ 1
+ ],
+ "type": "integer"
+ },
+ "recovery_at": {
+ "description": "Date of incident recovery. Must be after `incident_at`, within the last year and no more than 10 minutes in the future. Cannot be removed once the incident is recovered.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "slug": {
+ "description": "Incident unique slug name",
+ "examples": [
+ "APP-123"
+ ],
+ "type": "string"
+ },
+ "state": {
+ "description": "Incident state",
+ "enum": [
+ "unknown",
+ "investigating",
+ "identified",
+ "monitoring",
+ "resolved"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "description": "Incident status",
+ "enum": [
+ "ongoing",
+ "recovering",
+ "recovered"
+ ],
+ "type": "string"
+ },
+ "tags": {
+ "description": "Resource tags, made of lowercase letters, numbers, `.`, `_`, `:` and `-`. An organization can have up to 200 tags.",
+ "items": {
+ "examples": [
+ "environment:production"
+ ],
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "title": {
+ "description": "Incident title",
+ "examples": [
+ "Service is not working as expected"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "description": "Incident type",
+ "enum": [
+ "monitor",
+ "manual"
+ ],
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "Date of last update for the entity",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "mtbf": {
+ "description": "Mean time between failures (MTBF) for this monitor, in seconds",
+ "examples": [
+ 43200
+ ],
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "mttr": {
+ "description": "Mean time to recovery (MTTR) for this monitor, in seconds",
+ "examples": [
+ 750
+ ],
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Monitor name",
+ "examples": [
+ "Website"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+}