{
  "opencollection": "1.0.0",
  "info": {
    "name": "OpsGenie Account On-Call API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "On-Call",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get on-call participants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.opsgenie.com/v2/schedules/:identifier/on-calls",
            "params": [
              {
                "name": "identifier",
                "value": "",
                "type": "path",
                "description": "Identifier of the schedule, which can be the schedule ID or name."
              },
              {
                "name": "identifierType",
                "value": "",
                "type": "query",
                "description": "Type of the identifier. Possible values are id or name."
              },
              {
                "name": "flat",
                "value": "",
                "type": "query",
                "description": "If true, returns a flat list of on-call participants."
              },
              {
                "name": "date",
                "value": "",
                "type": "query",
                "description": "Date to check on-call for, in ISO 8601 format."
              }
            ]
          },
          "docs": "Retrieves the current on-call participants for the specified schedule."
        }
      ]
    }
  ],
  "bundled": true
}