跳到主要内容

Warehouse Transfer API

POST 

/api/v5/repos/:owner/:repo/transfer

Request​

Path Parameters

    owner stringrequired

    Repository space address (organization or individual's address path)

    repo stringrequired

    Repository path (path)

Query Parameters

    access_token stringrequired

    User authorization code

Body

    new_ownerstringrequired

    The target organization to transfer to.

Responses​

Successful Response

Response Headers
    Schema
      new_ownerstring
      new_namestring