See Stacksync in action with a solution architect. Book a demo ↗
SyncsIssues

Sync issues

Resolve sync issues

POST
/v1/workspaces/{workspace_id}/issues/action

Retry, revert or ignore issues: the ones listed by id, or with all_issues: true every issue of a sync or of one of its tables. Retrying writes the change again; reverting restores the record from the destination app; ignoring closes the issue.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace the resources belong to

Query Parameters

region*string

Data region of the syncs

Value in"besg""usnv"

Request Body

The issues and the action

application/json
  1. body

Act on the issues listed by id

ids*array<>

The issues, every id must exist in the workspace

Items1 <= items
action*string

retry writes the change again, revert restores the record from the destination app, ignore closes the issue

Value in"retry""ignore""revert"

Response Body

What the action did

application/json
  1. response

What the action did

data*

What the action did

Resolve sync issues
curl -X POST 'https://api.stacksync.com/v1/workspaces/0/issues/action?region=besg' \  -H 'Content-Type: application/json' \  -d '{  "ids": [    "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f"  ],  "action": "retry"}'
{  "data": {    "ids": [      "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f"    ],    "success_issue_count": 1,    "failed_issue_count": 0,    "error_list": []  }}