Sync Fork Repository with Source Repository
PUT/api/v5/repos/:owner/:repo/sync_repo
Request
Path Parameters
owner stringrequired
Repository space address (address path of the enterprise, organization, or individual)
repo stringrequired
Repository path (path)
Query Parameters
access_token stringrequired
- application/json
Body
branchstring
The name of the branch to pull the update, do not push all branches for the update
Responses
- 200
Successful Response
Response Headers
- application/json
- Schema
- Example (auto)
Schema
repo_sync_resultbooleanrequired
repo_sync_messagestringrequired
{
"repo_sync_result": true,
"repo_sync_message": "string"
}