Create a group. Available only for users who can create groups.
POST
/v3/groupsCreate a group. Available only for users who can create groups.
请求参数
Body 参数application/x-www-form-urlencoded
name
string
必需
The name of the group
path
string
必需
The path of the group
description
string
可选
The description of the group
visibility_level
integer <int32>
可选
The visibility level of the group
lfs_enabled
boolean
可选
Enable/disable LFS for the projects in this group
request_access_enabled
boolean
可选
Allow users to request member access
示例代码
返回响应
成功(201)
HTTP 状态码: 201
内容格式: JSONapplication/json
Create a group. Available only for users who can create groups.
数据结构
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 个月前