前戏
获取gitlab中admin用户的private_token
Groups API
获取某个组的详细
curl --header "PRIVATE-TOKEN: *********" http://192.168.10.7:8090/api/v4/groups/client #获取client组的详细信息
client组的详细信息
添加一个组
POST /groups
Parameters:
name (required) - The name of the group #必须
path (required) - The path of the group #必须
description (optional) - The group's description
membership_lock (optional, boolean) - Prevent adding new members to project membership within this group
share_with_group_lock (optional, boolean) - Prevent sharing a project with another group within this group
visibility (optional) - The group's visibility. Can be private, internal, or public.
lfs_enabled (optional) - Enable/disable Large File Storage (LFS) for the projects in this group
request_access_enabled (o