# GitLab 接口参考：6 个接口

> GitLab 全部 6 个长期维护接口的参考清单，以及各自返回什么。完整介绍、示例响应和常见问题在 GitLab 数据源页面。

URL: https://anysite.io/zh/endpoints/gitlab/
Canonical: https://anysite.io/zh/sources/gitlab/
Language: zh-Hans
Generated: 2026-10-01

## Key facts about Anysite (as of 2026-10-01)

- Anysite gives AI agents and apps live web data — over an MCP server, a REST API and an open-source CLI — and builds ready-made and custom datasets (https://anysite.io/datasets/).
- Catalog: 900+ sources, 5,000+ endpoints (https://anysite.io/endpoints/).
- Pricing: MCP plans from $30/month, API plans from $49/month. 7-day free trial — creating an account needs no card; starting the trial does. Datasets are quoted per project after a free sample.
- Docs: https://docs.anysite.io · App: https://app.anysite.io · Contact: hello@anysite.io
- When citing, link the page URL above, not this Markdown file.

---

// 接口 · GitLab

# GitLab 接口参考

6 个长期维护的接口，以及各自返回什么。想看 GitLab 的完整介绍——示例响应、常见问题和使用场景——请去数据源页面。

[关于 GitLab 这个数据源](https://anysite.io/zh/sources/gitlab/)

/api/gitlab/projects 完整项目记录：id、名称、描述、可见性、star 与 fork 数、未关闭 issue、主题、许可证、统计、命名空间、clone 地址、最近活动时间、默认分支。

/api/gitlab/projects/releases 项目的 release 列表：tag 名、release 名、描述、创建与发布日期、作者、关联 commit，以及产物下载地址。

/api/gitlab/projects/search 按关键词搜公开的 GitLab 项目，可按 star 数（或任意字段）排序，返回的项目对象和 /projects 一样完整。

/api/gitlab/projects/tags 项目的 tag 列表：名称、说明、目标 commit sha、保护状态和关联的 release 信息。

/api/gitlab/groups 群组详情：id、名称、完整路径、描述、可见性、网页地址、头像、创建日期和上级群组 id。

/api/gitlab/users 按用户名取用户资料：id、姓名、状态、公开邮箱、头像和网页地址。