Git Providers
Start a repository sync for a connection
Kicks off a background sync of the connection's repositories from the provider. Returns 202 Accepted immediately — the caller should poll the connection endpoint for syncing / synced_repository_count updates rather than waiting on this response. The sync is guarded by a hard deadline and always releases the syncing flag on exit, so a client that disconnects mid-sync will not leave the connection stuck.
post/git-connections/{connection_id}/sync
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/git-connections/{connection_id}/sync
- Auth: HTTP bearer
Path parameters
connection_idinteger required
Connection ID
Response
Repository sync started in background
Changes
No recorded changes to this operation across all 50 revisions of this API.