代码托管 CodeArts Repo-获取项目下所有仓库信息:响应示例

时间:2025-02-12 15:03:25

响应示例

状态码: 200

OK

{  "result" : {    "total" : 1,    "repositorys" : [ {      "id" : "d0457f74cc5b43d989ded7248f71b4e5",      "repoId" : "468480",      "name" : "CreatRepository_2qD5i",      "sshUrl" : "git@repo.alpha.devcloud.inhuawei.com:Demo00228/CreatRepository_2qD5i.git",      "httpUrl" : "https://repo.alpha.devcloud.inhuawei.com/Demo00228/CreatRepository_2qD5i.git",      "groupName" : "Demo00228",      "webUrl" : "https://alpha.devcloud.inhuawei.com/repo/468480/home",      "visibilityLevel" : 0,      "createAt" : "2019-10-15 09:40:26",      "projectId" : "4838955a48e2492bbe44b31bc4c272f6",      "projectIsDelete" : "false"    } ],    "status" : "success"  }}
support.huaweicloud.com/api-codeartsrepo/GetAllRepositoryByProjectId.html