跳到主要内容

View Repository Forks

GET 

/api/v5/repos/:owner/:repo/forks

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 string

    User authorization code

    sort string

    Sort by: fork time (newest, oldest), stars count (stargazers)

    page integer

    The current page number

    per_page integer

    The number of items per page, with a maximum of 100. The default is 20.

    created_after string

    Created after this

    created_before string

    Created before this

Responses​

Successful Response

Response Headers
    Schema
    • Array [
    • idinteger
      full_namestring
      human_namestring
      urlstring
      namespace object
      idinteger
      typestring
      namestring
      pathstring
      html_urlstring
      descriptionstring
      statusstring
      created_atstring
      updated_atstring
      owner object
      idinteger
      loginstring
      namestring
      pushed_atstring
      parent object
      idinteger
      full_namestring
      human_namestring
      urlstring
      namespace object
      idinteger
      typestring
      namestring
      pathstring
      html_urlstring
      privateinteger
      publicinteger
    • ]