Git Providers
Start a repository sync for a connection
Changed onKicks 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)
- AuthHTTP bearer
Path parameters
connection_idinteger required
Connection ID
Response
Repository sync started in background
Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking
- info
added the optional property
repositories/items/preset/items/composeFilesto the response with the status
- info