Automattic Rewind API

The rewind API from Automattic — 34 operation(s) for rewind.

Operations 43

GET /wpcom/v2/sites/{wpcom_site}/rewind GET /wpcom/v2/sites/{wpcom_site}/rewind #
GET /wpcom/v2/sites/{wpcom_site}/rewind/abspath GET /wpcom/v2/sites/{wpcom_site}/rewind/abspath #
POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/filtered/prepare POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/filtered/prepare #
POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/filtered/status POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/filtered/status #
POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/ls POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/ls #
POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/path-info POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/path-info #
GET /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/extension/{extension_type}/stream GET /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/extension/{extension_type}/stream #
POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/extension/{extension_type}/url POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/extension/{extension_type}/url #
GET /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/file/{manifest_path}/stream GET /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/file/{manifest_path}/stream #
GET /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/file/{manifest_path}/url GET /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/file/{manifest_path}/url #
GET /wpcom/v2/sites/{wpcom_site}/rewind/backups GET /wpcom/v2/sites/{wpcom_site}/rewind/backups #
POST /wpcom/v2/sites/{wpcom_site}/rewind/backups/enqueue POST /wpcom/v2/sites/{wpcom_site}/rewind/backups/enqueue #
GET /wpcom/v2/sites/{wpcom_site}/rewind/basic GET /wpcom/v2/sites/{wpcom_site}/rewind/basic #
GET /wpcom/v2/sites/{wpcom_site}/rewind/billing/receipts GET /wpcom/v2/sites/{wpcom_site}/rewind/billing/receipts #
GET /wpcom/v2/sites/{wpcom_site}/rewind/capabilities GET /wpcom/v2/sites/{wpcom_site}/rewind/capabilities #
GET /wpcom/v2/sites/{wpcom_site}/rewind/credentials GET /wpcom/v2/sites/{wpcom_site}/rewind/credentials #
POST /wpcom/v2/sites/{wpcom_site}/rewind/credentials/delete POST /wpcom/v2/sites/{wpcom_site}/rewind/credentials/delete #
POST /wpcom/v2/sites/{wpcom_site}/rewind/credentials/test POST /wpcom/v2/sites/{wpcom_site}/rewind/credentials/test #
POST /wpcom/v2/sites/{wpcom_site}/rewind/credentials/update POST /wpcom/v2/sites/{wpcom_site}/rewind/credentials/update #
GET /wpcom/v2/sites/{wpcom_site}/rewind/downloads GET /wpcom/v2/sites/{wpcom_site}/rewind/downloads #
POST /wpcom/v2/sites/{wpcom_site}/rewind/downloads POST /wpcom/v2/sites/{wpcom_site}/rewind/downloads #
GET /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id} GET /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id} #
POST /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id} POST /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id} #
PUT /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id} PUT /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id} #
PATCH /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id} PATCH /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id} #
GET /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id}/data GET /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id}/data #
GET /wpcom/v2/sites/{wpcom_site}/rewind/options GET /wpcom/v2/sites/{wpcom_site}/rewind/options #
POST /wpcom/v2/sites/{wpcom_site}/rewind/options POST /wpcom/v2/sites/{wpcom_site}/rewind/options #
GET /wpcom/v2/sites/{wpcom_site}/rewind/policies GET /wpcom/v2/sites/{wpcom_site}/rewind/policies #
GET /wpcom/v2/sites/{wpcom_site}/rewind/preflight GET /wpcom/v2/sites/{wpcom_site}/rewind/preflight #
POST /wpcom/v2/sites/{wpcom_site}/rewind/preflight POST /wpcom/v2/sites/{wpcom_site}/rewind/preflight #
GET /wpcom/v2/sites/{wpcom_site}/rewind/restores GET /wpcom/v2/sites/{wpcom_site}/rewind/restores #
POST /wpcom/v2/sites/{wpcom_site}/rewind/restores/{id} POST /wpcom/v2/sites/{wpcom_site}/rewind/restores/{id} #
PUT /wpcom/v2/sites/{wpcom_site}/rewind/restores/{id} PUT /wpcom/v2/sites/{wpcom_site}/rewind/restores/{id} #
PATCH /wpcom/v2/sites/{wpcom_site}/rewind/restores/{id} PATCH /wpcom/v2/sites/{wpcom_site}/rewind/restores/{id} #
GET /wpcom/v2/sites/{wpcom_site}/rewind/scheduled GET /wpcom/v2/sites/{wpcom_site}/rewind/scheduled #
POST /wpcom/v2/sites/{wpcom_site}/rewind/scheduled POST /wpcom/v2/sites/{wpcom_site}/rewind/scheduled #
GET /wpcom/v2/sites/{wpcom_site}/rewind/screenshots GET /wpcom/v2/sites/{wpcom_site}/rewind/screenshots #
POST /wpcom/v2/sites/{wpcom_site}/rewind/send-security-notification POST /wpcom/v2/sites/{wpcom_site}/rewind/send-security-notification #
GET /wpcom/v2/sites/{wpcom_site}/rewind/size GET /wpcom/v2/sites/{wpcom_site}/rewind/size #
GET /wpcom/v2/sites/{wpcom_site}/rewind/staging GET /wpcom/v2/sites/{wpcom_site}/rewind/staging #
GET /wpcom/v2/sites/{wpcom_site}/rewind/staging/list GET /wpcom/v2/sites/{wpcom_site}/rewind/staging/list #
POST /wpcom/v2/sites/{wpcom_site}/rewind/staging/update POST /wpcom/v2/sites/{wpcom_site}/rewind/staging/update #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/automattic-rewind-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

automattic-rewind-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wpcom/v2 namespace Rewind API
  version: v2
  description: Derived by API Evangelist from the WordPress.com REST API route index published at https://public-api.wordpress.com/wpcom/v2/. Paths, HTTP methods, and parameter names/types/descriptions/defaults are taken verbatim from that index. Response schemas are not published in the route index, so successful responses are described but not schematised; the error envelope was observed live on public-api.wordpress.com.
  contact:
    name: Automattic
    url: https://developer.wordpress.com/docs/api/
  x-derived-from: https://public-api.wordpress.com/wpcom/v2/
  x-derived-by: API Evangelist enrichment pipeline
servers:
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:
- name: rewind
paths:
  /wpcom/v2/sites/{wpcom_site}/rewind:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewind
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/abspath:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindAbspath
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/abspath
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/backup/filtered/prepare:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindBackupFilteredPrepare
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/filtered/prepare
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                backup_id:
                  type: string
                manifest_filter:
                  type: string
                data_type:
                  type: string
              required:
              - backup_id
              - manifest_filter
              - data_type
  /wpcom/v2/sites/{wpcom_site}/rewind/backup/filtered/status:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindBackupFilteredStatus
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/filtered/status
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                key:
                  type: string
                data_type:
                  type: string
              required:
              - key
              - data_type
  /wpcom/v2/sites/{wpcom_site}/rewind/backup/ls:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindBackupLs
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/ls
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                backup_id:
                  type: string
                path:
                  type: string
                extension_version:
                  type: string
              required:
              - backup_id
  /wpcom/v2/sites/{wpcom_site}/rewind/backup/path-info:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindBackupPathInfo
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/path-info
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                backup_id:
                  type: string
                manifest_path:
                  type: string
                extension_type:
                  type: string
              required:
              - backup_id
  /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/extension/{extension_type}/stream:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindBackupbyBackupIdExtensionbyExtensionTypeStream
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/extension/{extension_type}/stream
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: backup_id
        in: path
        required: true
        schema:
          type: string
      - name: extension_type
        in: path
        required: true
        schema:
          type: string
      - name: extension_slug
        in: query
        required: true
        schema:
          type: string
      - name: extension_version
        in: query
        required: true
        schema:
          type: string
      - name: token
        in: query
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/extension/{extension_type}/url:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindBackupbyBackupIdExtensionbyExtensionTypeUrl
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/extension/{extension_type}/url
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: backup_id
        in: path
        required: true
        schema:
          type: string
      - name: extension_type
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                extension_slug:
                  type: string
                extension_version:
                  type: string
              required:
              - extension_slug
              - extension_version
  /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/file/{manifest_path}/stream:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindBackupbyBackupIdFilebyManifestPathStream
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/file/{manifest_path}/stream
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: backup_id
        in: path
        required: true
        schema:
          type: string
      - name: manifest_path
        in: path
        required: true
        schema:
          type: string
      - name: token
        in: query
        required: true
        schema:
          type: string
      - name: disposition
        in: query
        required: false
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/file/{manifest_path}/url:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindBackupbyBackupIdFilebyManifestPathUrl
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/backup/{backup_id}/file/{manifest_path}/url
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: backup_id
        in: path
        required: true
        schema:
          type: string
      - name: manifest_path
        in: path
        required: true
        schema:
          type: string
      - name: disposition
        in: query
        required: false
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/backups:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindBackups
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/backups
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/backups/enqueue:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindBackupsEnqueue
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/backups/enqueue
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/basic:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindBasic
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/basic
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/billing/receipts:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindBillingReceipts
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/billing/receipts
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/capabilities:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindCapabilities
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/capabilities
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/credentials:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindCredentials
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/credentials
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/credentials/delete:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindCredentialsDelete
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/credentials/delete
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                role: {}
              required:
              - role
  /wpcom/v2/sites/{wpcom_site}/rewind/credentials/test:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindCredentialsTest
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/credentials/test
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                role: {}
              required:
              - role
  /wpcom/v2/sites/{wpcom_site}/rewind/credentials/update:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindCredentialsUpdate
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/credentials/update
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                credentials:
                  type: object
              required:
              - credentials
  /wpcom/v2/sites/{wpcom_site}/rewind/downloads:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindDownloads
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/downloads
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindDownloads
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/downloads
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                rewindId: {}
                include_path_list: {}
                exclude_path_list: {}
                types: {}
                skip_activity_log:
                  type: boolean
                  default: false
  /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id}:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindDownloadsbyId
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id}
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindDownloadsbyId
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id}
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                dismissed:
                  type: boolean
                  default: false
    put:
      operationId: putWpcomV2SitesbyWpcomSiteRewindDownloadsbyId
      summary: PUT /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id}
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                dismissed:
                  type: boolean
                  default: false
    patch:
      operationId: patchWpcomV2SitesbyWpcomSiteRewindDownloadsbyId
      summary: PATCH /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id}
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                dismissed:
                  type: boolean
                  default: false
  /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id}/data:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindDownloadsbyIdData
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/downloads/{id}/data
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: token
        in: query
        required: true
        schema: {}
  /wpcom/v2/sites/{wpcom_site}/rewind/options:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindOptions
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/options
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindOptions
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/options
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/policies:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindPolicies
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/policies
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/preflight:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindPreflight
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/preflight
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindPreflight
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/preflight
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/restores:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteRewindRestores
      summary: GET /wpcom/v2/sites/{wpcom_site}/rewind/restores
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/rewind/restores/{id}:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteRewindRestoresbyId
      summary: POST /wpcom/v2/sites/{wpcom_site}/rewind/restores/{id}
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                dismissed:
                  type: boolean
                  default: false
    put:
      operationId: putWpcomV2SitesbyWpcomSiteRewindRestoresbyId
      summary: PUT /wpcom/v2/sites/{wpcom_site}/rewind/restores/{id}
      tags:
      - rewind
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wp

# --- truncated at 32 KB (41 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/automattic/refs/heads/main/openapi/automattic-rewind-api-openapi.yml