跳到主要内容

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

Body

    branchstring

    The name of the branch to pull the update, do not push all branches for the update

Responses​

Successful Response

Response Headers
    Schema
      repo_sync_resultbooleanrequired
      repo_sync_messagestringrequired