{
  "opencollection": "1.0.0",
  "info": {
    "name": "SigNoz alerts downtimeschedules API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "downtimeschedules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List downtime schedules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}:{port}{base_path}/api/v1/downtime_schedules",
            "params": [
              {
                "name": "active",
                "value": "",
                "type": "query"
              },
              {
                "name": "recurring",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint lists all planned maintenance / downtime schedules"
        },
        {
          "info": {
            "name": "Create downtime schedule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}{base_path}/api/v1/downtime_schedules",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint creates a new planned maintenance / downtime schedule"
        },
        {
          "info": {
            "name": "Get downtime schedule by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}:{port}{base_path}/api/v1/downtime_schedules/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint returns a downtime schedule by ID"
        },
        {
          "info": {
            "name": "Update downtime schedule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}:{port}{base_path}/api/v1/downtime_schedules/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint updates a downtime schedule by ID"
        },
        {
          "info": {
            "name": "Delete downtime schedule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}:{port}{base_path}/api/v1/downtime_schedules/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "This endpoint deletes a downtime schedule by ID"
        }
      ]
    }
  ],
  "bundled": true
}