文档

查询代码组列表

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

请求方式GET/api/v3/groups/all

请求Action:ListGroups

请求参数

参数名

类型

说明

是否必须

默认值

Page

long

页数

1

PageSize

long

每页个数

20

Search

string

搜索关键词

返回body

{
   "ErrorCode": "",
   "ErrorMessage": "",
   "RequestId": "",
   "Success":true,
   "Result": [
  {
   "Id": 0,
   "CreatedAt": "",
   "UpdatedAt": "",
   "AccessLevel": 40,
   "Name": "",
   "Path": "",
   "Description": "",
   "WebUrl": "",
   "PathWithNamespace": "",
   "NameWithNamespace": "",
   "Type": "Group",
   "VisibilityLevel": "0",
   "ParentId": 0,
   "OwnerId": 0,
     }
 ]
}

返回结果说明:

参数名

类型

说明

Id

long

组id

Name

string

组名称

Path

string

组路径

Description

string

描述

UpdatedAt

string

创建时间

UpdatedAt

string

更新时间

AccessLevel

integer

用户权限

15:浏览者

30:开发者

40:管理员

WebUrl

string

组访问链接

PathWithNamespace

string

组名称(含父名称)

NameWithNamespace

string

组路径(含父路径)

Type

string

类型,组为Group

VisibilityLevel

string

可见性,0:私有;10:企业可见

ParentId

long

父路径id

OwnerId

long

拥有者id

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