1. GitLab Api
Common Api
  • GitLab Api
    • 获取项目ID
      GET
    • 获取项目内所有提交记录
      GET
    • 获取项目列表
      GET
    • 获取单个项目
      GET
    • 获取项目所有分支
      GET
    • 获取项目指定单个分支
      GET
    • 获取所有用户
      GET
    • 获取单个用户
      GET
    • 获取所有组
      GET
    • 获取项目的统计信息
      GET
    • 创建Webhook
      POST
  1. GitLab Api

获取所有组

开发中
GET
/api/v4/groups

请求参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/api/v4/groups' \
--header 'PRIVATE-TOKEN: glpat-q1csJCWcYYGum_xZxHhg'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
[
    {
        "id": 0,
        "web_url": "string",
        "name": "string",
        "path": "string",
        "description": "string",
        "visibility": "string",
        "share_with_group_lock": true,
        "require_two_factor_authentication": true,
        "two_factor_grace_period": 0,
        "project_creation_level": "string",
        "auto_devops_enabled": null,
        "subgroup_creation_level": "string",
        "emails_disabled": null,
        "mentions_disabled": null,
        "lfs_enabled": true,
        "default_branch_protection": 0,
        "avatar_url": null,
        "request_access_enabled": true,
        "full_name": "string",
        "full_path": "string",
        "created_at": "string",
        "parent_id": null
    }
]
修改于 2025-01-21 08:44:56
上一页
获取单个用户
下一页
获取项目的统计信息
Built with