代码托管 CODEARTS REPO-示例2:通过仓库的UUID查询指定仓库详情:步骤2:查询仓库详情

时间:2024-09-02 17:20:09

步骤2:查询仓库详情

  • 请求示例:
    GET  https://codehub-ext.cn-north-7.mytestcloud.com/v2/repositories/73de3f67b30a46a4a7305f3be980c3b1
  • 响应示例:
    {                         
     "result": {
      "star": null,
      "status": null,
      "userRole": null,
      "repository_uuid": "25c88b23d4dc400fa7b3e2a152e4d53c",
      "repository_id": 522140,
      "repository_name": "1111111111111",
      "ssh_url": "git@codehub.test.com:testzxq00001/1111111111111.git",
      "https_url": "https://codehub.test.com/testzxq00001/1111111111111.git",
      "group_name": "testzxq00001",
      "web_url": "https://test.com/codehub/522140/home",
      "visibility_level": 0,
      "created_at": "2020-07-22 10:45:56",
      "updated_at": null,
      "repository_size": null,
      "lfs_size": null,
      "creator_name": null,
      "domain_name": null,
      "is_owner": null,
      "iam_user_uuid": null,
      "project_uuid": "a689e057c2304abfa35d4ff65630a90a",
      "project_is_deleted": "false"
     },
     "status": "success"
    }
support.huaweicloud.com/api-codeartsrepo/codeartsrepo_05_0023.html