OpsGenie · Schema

ScheduleTimelineResponse

AlertsIncident ManagementMonitoringOn-CallOperations

Properties

Name Type Description
data object
took number Time taken in seconds.
requestId string Unique identifier for the request.
View JSON Schema on GitHub

JSON Schema

opsgenie-scheduletimelineresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ScheduleTimelineResponse",
  "title": "ScheduleTimelineResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "startDate": {
          "type": "string",
          "format": "date-time",
          "description": "Start of the timeline."
        },
        "endDate": {
          "type": "string",
          "format": "date-time",
          "description": "End of the timeline."
        },
        "finalTimeline": {
          "type": "object",
          "properties": {
            "rotations": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Rotation ID."
                  },
                  "name": {
                    "type": "string",
                    "description": "Rotation name."
                  },
                  "periods": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "startDate": {
                          "type": "string",
                          "format": "date-time",
                          "description": "Period start."
                        },
                        "endDate": {
                          "type": "string",
                          "format": "date-time",
                          "description": "Period end."
                        },
                        "recipient": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "Participant type."
                            },
                            "id": {
                              "type": "string",
                              "description": "Participant ID."
                            },
                            "name": {
                              "type": "string",
                              "description": "Participant name."
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "took": {
      "type": "number",
      "description": "Time taken in seconds."
    },
    "requestId": {
      "type": "string",
      "description": "Unique identifier for the request."
    }
  }
}