{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cal.diy API v2 Api Keys Schedules API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Schedules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all schedules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schedules",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "cal-api-version",
                "value": ""
              }
            ]
          },
          "docs": "Get all schedules of the authenticated user.\n    \n     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>\n    "
        },
        {
          "info": {
            "name": "Create a schedule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schedules",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "cal-api-version",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n      Create a schedule for the authenticated user.\n\n      The point of creating schedules is for event types to be available at specific times.\n\n      The first goal of schedules is to have a default schedule. If you are platform customer and created managed users, then it is important to note that each managed user should have a default schedule.\n      1. If you passed `timeZone` when creating managed user, then the default schedule from Monday to Friday from 9AM to 5PM will be created with t"
        },
        {
          "info": {
            "name": "Get default schedule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schedules/default",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "cal-api-version",
                "value": ""
              }
            ]
          },
          "docs": "Get the default schedule of the authenticated user.\n    \n    <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>\n    "
        },
        {
          "info": {
            "name": "Get a schedule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schedules/:scheduleId",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "cal-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "scheduleId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>"
        },
        {
          "info": {
            "name": "Update a schedule",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/schedules/:scheduleId",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "cal-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "scheduleId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>"
        },
        {
          "info": {
            "name": "Delete a schedule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schedules/:scheduleId",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "cal-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "scheduleId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>"
        }
      ]
    }
  ],
  "bundled": true
}