跳到主要内容

Get the commit patch

GET 

/api/v5/repos/:owner/:repo/commit/:sha/patch

Request​

Path Parameters

    owner stringrequired

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

    repo stringrequired

    Repository path (path)

    sha stringrequired

    commit's SHA

Query Parameters

    access_token string

    User authorization code

Responses​

Successful Response

Response Headers
    Schema
      object