文档

查询组下的库列表

该接口用于查询Codeup代码组下的库列表

请求方式GET/api/v3/groups/[Identity]/projects

请求Action:ListGroupRepositories

请求参数:

参数名

类型

说明

是否必须

默认值

Identity

string

代码组Id

Page

long

页数

1

PageSize

long

每页个数

20

Search

string

搜索关键词

返回 body

{
   "ErrorCode": "",
   "ErrorMessage": "",
   "RequestId": "",
   "Success":true,
   "Result": [
  {
   "Archive": false,
   "CreatedAt": "2020-09-04T10:52:22+08:00",
   "UpdatedAt": "2020-09-04T10:52:22+08:00",
   "LastActivityAt": "2020-09-04T10:52:22+08:00",
   "Id": 251606,
   "CreatorId": 15477,
   "Name": "chok730o",
   "NameWithNamespace": "5ef0767baf80fad018f11bfa / ylp9y / chok730o",
   "Path": "chok730o",
   "PathWithNamespace": "5ef0767baf80fad018f11bfa/ylp9y/chok730o",
   "NamespaceId": 51888,
   "HttpCloneUrl": "https://codeup.aliyun.com/5ef0767baf80fad018f11bfa/ylp9y/chok730o.git",
   "SshCloneUrl": "git@codeup.aliyun.com:5ef0767baf80fad018f11bfa/ylp9y/chok730o.git",
   "VisibilityLevel": 10,
   "WebUrl": "https://codeup.aliyun.com/5ef0767baf80fad018f11bfa/ylp9y/chok730o",
   "ImportStatus": "none"
  }
 ]
}

返回结果说明:

参数名

类型

说明

Archive

boolean

归档标识

CreatedAt

string

创建时间

UpdatedAt

string

更新时间

LastActivityAt

string

最后活跃时间

Id

long

代码库id

CreatorId

long

创建者id

Name

string

名称

NameWithNamespace

string

名称(含父名称)

Path

string

路径

PathWithNamespace

string

路径(含父路径)

NamespaceId

long

库所属namespace的id

HttpCloneUrl

string

http克隆地址

SshCloneUrl

string

ssh克隆地址

VisibilityLevel

integer

可见性。0:私有,10:内部公开

WebUrl

string

页面访问地址

ImportStatus

string

导入状态

none:无

started:开始导入

failed:导入失败

finished:导入结束

  • 本页导读 (0)
文档反馈