Stop the running sync for a connector
Changed onAsk the in-flight sync for a connector instance to stop.
Overview:
Returns as soon as the request is recorded; the sync halts at its next interruptible point, which for a connector inside a long provider call is when that call returns. stopped reports whether a sync was actually running, and false is a normal answer rather than a failure.
Deliberately not refused while the connector is busy or locked: this is the endpoint that has to work precisely then, including against a lock a crashed process left behind. When nothing is running it also repairs a stale SYNCING or FULL_SYNCING status, unless the service cannot tell a live sync on another worker from a stale one, in which case it changes nothing and says so.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/connectors/{connectorId}/sync/stop
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: connector:sync
Path parameters
Connector instance ID
Response
Stop recorded, or nothing was running
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
endpoint added
- info