Skip to content

Expose an authenticated idempotent Cloudflare site provisioning API #1971

Description

@chubes4

Parent: #1970

Goal

Expose the remote API that creates an isolated editable WordPress site from a verified artifact and returns durable status/claim URLs.

Scope

  • POST /v1/sites
  • GET /v1/sites/{siteId}
  • GET /v1/sites/{siteId}/operations/{operationId}
  • POST /v1/sites/{siteId}/imports
  • bearer authorization, explicit scopes, idempotency keys, quotas, and bounded request schemas
  • hostname allocation and one-time administrator claim tokens
  • stable error and operation receipt schemas

Acceptance

Remote callers receive 202 Accepted, can poll durable progress, and obtain an isolated ready site URL plus one-time admin claim flow. Unauthorized, replayed, oversized, or cross-site requests fail deterministically without state mutation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions