Get a groups list
GET
/v3/groupsGet a groups list
请求参数
Query 参数
statistics
boolean
可选
Include project statistics
all_available
boolean
可选
Show all group that you have access to
search
string
可选
Search for a specific group
order_by
enum<string>
可选
Order by name or path
枚举值:
namepath
默认值:
name
sort
enum<string>
可选
Sort by asc (ascending) or desc (descending)
枚举值:
ascdesc
默认值:
asc
page
integer <int32>
可选
Current page number
per_page
integer <int32>
可选
Number of items per page
Body 参数application/x-www-form-urlencoded
skip_groups
array[integer <int32>]
可选
Array of group ids to exclude from list
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Get a groups list
数据结构
Update a group. Available only for users who can administrate groups.
id
string
可选
name
string
可选
path
string
可选
description
string
可选
visibility_level
string
可选
lfs_enabled
string
可选
avatar_url
string
可选
web_url
string
可选
request_access_enabled
string
可选
statistics
string
可选
示例
{
"id": "string",
"name": "string",
"path": "string",
"description": "string",
"visibility_level": "string",
"lfs_enabled": "string",
"avatar_url": "string",
"web_url": "string",
"request_access_enabled": "string",
"statistics": "string"
}
最后修改时间: 1 个月前