跳到主要内容

Get Organization Project List

GET 

/api/v5/orgs/:org/repos

Request​

Path Parameters

    org stringrequired

    Organization's path (path/login)

Query Parameters

    access_token string

    User authorization code

    type string

    Filter the type of public/private repositories, which can be all, public, private. Default: all

    page integer

    Current page number: defaults to 1

    per_page integer

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

    repo_type string

    Filter repository type, which can be code: code repository, model: model repository, dataset: dataset repository, space: space, all: all repository types. Default: code

Responses​

Successful Response

Response Headers
    Schema
    • Array [
    • idintegerrequired
      full_namestringrequired
      namespace objectrequired
      idintegerrequired
      typestringrequired
      namestringrequired
      pathstringrequired
      html_urlstringrequired
      pathstringrequired
      namestringrequired
      internalbooleanrequired
      forkbooleanrequired
      html_urlstringrequired
      forks_countintegerrequired
      stargazers_countintegerrequired
      watchers_countintegerrequired
      default_branchstringrequired
      open_issues_countintegerrequired
      project_creatorstringrequired
      pushed_atstringrequired
      created_atstringrequired
      updated_atstringrequired
      statusWarehouse status, 0: Start (indicating the warehouse is not archived), 2: Closed (indicating the warehouse is archived) (string)required
      languagestringrequired
      repo_typestringrequired
      parent objectrequired
      idintegerrequired
      full_namestringrequired
      human_namestringrequired
      namespace objectrequired
      idintegerrequired
      typestringrequired
      namestringrequired
      pathstringrequired
      full_namestringrequired
      full_pathstringrequired
      pathstringrequired
      namestringrequired
      descriptionstringrequired
      ssh_url_to_repostringrequired
      http_url_to_repostringrequired
      web_urlstringrequired
      created_atstringrequired
      updated_atstringrequired
      repo_typestringrequired
      privatebooleanrequired
      publicbooleanrequired
      privatebooleanrequired
      publicbooleanrequired
      descriptionstringrequired
    • ]