{
  "opencollection": "1.0.0",
  "info": {
    "name": "Better Stack Uptime Heartbeats Status Pages API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Status Pages",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List status pages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://uptime.betterstack.com/api/v2/status-pages",
            "params": [
              {
                "name": "team_name",
                "value": "",
                "type": "query",
                "description": "Filter by team name"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              }
            ]
          },
          "docs": "Returns a list of all your status pages."
        },
        {
          "info": {
            "name": "Create a status page",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://uptime.betterstack.com/api/v2/status-pages",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new status page."
        },
        {
          "info": {
            "name": "Get a status page",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://uptime.betterstack.com/api/v2/status-pages/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ]
          },
          "docs": "Returns a single status page by ID."
        },
        {
          "info": {
            "name": "Update a status page",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://uptime.betterstack.com/api/v2/status-pages/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing status page."
        },
        {
          "info": {
            "name": "Delete a status page",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://uptime.betterstack.com/api/v2/status-pages/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ]
          },
          "docs": "Deletes an existing status page."
        }
      ]
    }
  ],
  "bundled": true
}