{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cloudflare Pages API",
    "version": "4.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cloudflare List Pages Projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              }
            ]
          },
          "docs": "Returns a list of all Pages projects for the account."
        },
        {
          "info": {
            "name": "Cloudflare Create Pages Project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Pages project with the specified build configuration and deployment settings."
        },
        {
          "info": {
            "name": "Cloudflare Get Pages Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "project_name",
                "value": "",
                "type": "path",
                "description": "The name of the Pages project."
              }
            ]
          },
          "docs": "Retrieve details of a specific Pages project."
        },
        {
          "info": {
            "name": "Cloudflare Update Pages Project",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "project_name",
                "value": "",
                "type": "path",
                "description": "The name of the Pages project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the configuration of a Pages project."
        },
        {
          "info": {
            "name": "Cloudflare Delete Pages Project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "project_name",
                "value": "",
                "type": "path",
                "description": "The name of the Pages project."
              }
            ]
          },
          "docs": "Delete a Pages project and all its deployments."
        }
      ]
    },
    {
      "info": {
        "name": "Deployments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cloudflare List Deployments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "project_name",
                "value": "",
                "type": "path",
                "description": "The name of the Pages project."
              }
            ]
          },
          "docs": "Returns a list of all deployments for a Pages project."
        },
        {
          "info": {
            "name": "Cloudflare Create Deployment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "project_name",
                "value": "",
                "type": "path",
                "description": "The name of the Pages project."
              }
            ]
          },
          "docs": "Create a new deployment for a Pages project by uploading assets or triggering a build from a connected repository."
        },
        {
          "info": {
            "name": "Cloudflare Get Deployment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments/:deployment_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "project_name",
                "value": "",
                "type": "path",
                "description": "The name of the Pages project."
              },
              {
                "name": "deployment_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the deployment."
              }
            ]
          },
          "docs": "Retrieve details of a specific deployment including build status and deployment URL."
        },
        {
          "info": {
            "name": "Cloudflare Delete Deployment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments/:deployment_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "project_name",
                "value": "",
                "type": "path",
                "description": "The name of the Pages project."
              },
              {
                "name": "deployment_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the deployment."
              }
            ]
          },
          "docs": "Delete a specific deployment."
        },
        {
          "info": {
            "name": "Cloudflare Rollback Deployment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/pages/projects/:project_name/deployments/:deployment_id/rollback",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "project_name",
                "value": "",
                "type": "path",
                "description": "The name of the Pages project."
              },
              {
                "name": "deployment_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the deployment."
              }
            ]
          },
          "docs": "Rollback the production deployment to a previous deployment."
        }
      ]
    }
  ],
  "bundled": true
}