{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kisi Calendars API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Calendars",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Fetch summary of the events of a scheduleable's schedules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kisi.io/calendar/summary",
            "params": [
              {
                "name": "around",
                "value": "",
                "type": "query",
                "description": "The time range to scope the summary. The timestamp is expected to be in ISO8601 format.\n\nSupported patterns:\n- Start/End, eg. `2019-03-09T13:00:00Z/2019-03-10T15:30:00Z`\n- Start/Duration, eg. `2019-03-09T13:00:00Z/P1Y2M10D`\n- Duration/End, eg. `PT2H30M/2019-03-09T15:30:00Z`\n\nDuration on its own (eg. `P1Y2MT1H`) is not supported.\n"
              },
              {
                "name": "consequence",
                "value": "",
                "type": "query",
                "description": "Filter by consequence"
              },
              {
                "name": "elevator_stop_id",
                "value": "",
                "type": "query",
                "description": "Filter by the id of the scheduled elevator stop"
              },
              {
                "name": "group_id",
                "value": "",
                "type": "query",
                "description": "Filter by the id of the scheduled group"
              },
              {
                "name": "lock_id",
                "value": "",
                "type": "query",
                "description": "Filter by the id of the scheduled lock"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "The summary of a given general time interval (the \"window\") for a given scheduleable (e.g. a specific door) consists of three parts:\n\n- The effective time intervals within the window when the scheduleable is under the effect of the consequence. This is calculated as the difference of the regular and the exception events.\n- The exceptions time intervals within the window overriding events generated by regular schedules\n- The schedules by day for the window.\n\nWhere:\n\n- Events are generated by the "
        }
      ]
    }
  ],
  "bundled": true
}