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

时间:2023-11-01 16:20:20

步骤2:查询仓库详情

  • 请求示例
    GET  https://codehub-ext.cn-north-7.myhuaweicloud.com/v2/repositories/73de3f67b30a46a4a7305f3be980c3b1
  • 响应示例
    {                          "result": {  "star": null,  "status": null,  "userRole": null,  "repository_uuid": "25c88b23d4dc400fa7b3e2a152e4d53c",  "repository_id": 522140,  "repository_name": "1111111111111",  "ssh_url": "git@codehub.devcloud.cn-north-208.ulanqab.huawei.com:testzxq00001/1111111111111.git",  "https_url": "https://codehub.devcloud.cn-north-208.ulanqab.huawei.com/testzxq00001/1111111111111.git",  "group_name": "testzxq00001",  "web_url": "https://devcloud.cn-north-208.ulanqab.huawei.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-codehub/codehub_api_00102.html