---
raw: true
search:
  tags:
    - Spaces
    - POST
seo:
  description: >-
    Saves the chosen document only while source and… Reference for the POST
    /v1/spaces/{spaceId}/content/sync/resolve endpoint in the Spacefast Partner
    API.
sidebar:
  label: Resolve a content synchronization conflict
  badge: POST
title: Resolve a content synchronization conflict
type: openapi-operation
---
Saves the chosen document only while source and WordPress still match the supplied revisions, then queues the normal source commit and build. Changed revisions return a conflict without overwriting either side.

`POST /v1/spaces/{spaceId}/content/sync/resolve`

**Request body** (`application/json`, required)

- `bindingId` (string, required)
- `operationId` (string, required)
- `expectedBaseRevision` (string, required)
- `expectedWordpressDigest` (string, required)
- `expectedSourceRevision` (string, required)
- `text` (string, required)

Request body example:

```json
{
  "bindingId": "string",
  "operationId": "string",
  "expectedBaseRevision": "string",
  "expectedWordpressDigest": "string",
  "expectedSourceRevision": "string",
  "text": "string"
}
```

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "postId": 1,
    "bindingId": "string",
    "operationId": "string",
    "status": "queued"
  }
}
```
