查询项目下所有的仓库信息列表
接口描述
中文:查询项目下所有的仓库信息列表
英文:DescribeProjectDepotInfoList
输入参数
参数名称 | 必选 | 类型 | 描述 |
---|---|---|---|
ProjectId | 是 | Integer | 项目 id |
输出参数
参数名称 | 类型 | 描述 |
---|---|---|
DepotData | DepotData | 返回信息包 |
DepotData 参数详情
参数名称 | 类型 | 描述 |
---|---|---|
Depots | DepotInfo | 仓库信息列表 |
DepotInfo 参数详情
参数名称 | 类型 | 描述 |
---|---|---|
Name | String | 仓库名称 |
HttpsUrl | String | https 的 url 路径 |
SshUrl | String | ssh 的 url 路径 |
Id | Integer | 仓库 id |
VcsType | String | 仓库类型 |
示例
输入示例
{
"Action":"DescribeProjectDepotInfoList",
"ProjectId":234
}
输出示例
{
"Response": {
"RequestId": "e1d658b4-7e89-febe-2072-e68a9d9852e3",
"DepotData": {
"Depots": [
{
"Name": "depot-1",
"HttpsUrl": "https://e.coding.net/demo/demo-project/depot-1.git",
"SshUrl": "git@e.coding.net:demo/demo-project/depot-1.git",
"Id": 1,
"VcsType": "git"
},
{
"Name": "depot-2",
"HttpsUrl": "https://e.coding.net/demo/demo-project/depot-2.git",
"SshUrl": "git@e.coding.net:demo/demo-project/depot-2.git",
"Id": 2,
"VcsType": "git"
},
{
"Name": "depot-3",
"HttpsUrl": "https://e.coding.net/demo/demo-project/depot-3.git",
"SshUrl": "git@e.coding.net:demo/demo-project/depot-3.git",
"Id": 3,
"VcsType": "svn"
}
]
}
}
}

感谢反馈有用
感谢反馈没用