Skip to main content
POST
/
repos
/
{repo_id}
/
sync
Sync a Git repo to this Diversion repo
curl --request POST \
  --url https://api.diversion.dev/v0/repos/{repo_id}/sync
{
  "status": 403,
  "detail": "User not authorized to perform the requested action on the resource",
  "title": "<string>",
  "type": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128
Example:

"example_id"

Response

Sync started asynchronously.