---
title: "Compare source and WordPress content"
method: GET
path: "/v1/spaces/{spaceId}/content/sync/{bindingId}"
tags: ["Spaces"]
---

# Compare source and WordPress content

`GET /v1/spaces/{spaceId}/content/sync/{bindingId}`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/spaces/{spaceId}/content/sync/{bindingId}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-better-auth.session_token`
  - OAuth 2 (authorization code, authorization URL `https://api.spacefast.com/v1/auth/oauth2/authorize`, token URL `https://api.spacefast.com/v1/auth/oauth2/token`; client credentials, token URL `https://api.spacefast.com/v1/auth/oauth2/token`, scopes: `spaces:read`)

Reads the common base, current source, and current WordPress document with the revisions required to resolve a conflict.

## Path parameters

- `spaceId` string, required
- `bindingId` string, required

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object, required
    - `bindingId` string, required
    - `postId` integer, required
    - `source` string, required
    - `baseRevision` string, required
    - `baseText` string, required
    - `wordpressText` string, required
    - `wordpressDigest` string, required
    - `wordpressRevisionId` integer, required
    - `sourceText` string, required
    - `sourceRevision` string, required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
