api-evangelist/gitlab-ci
GitHub: api-evangelist/gitlab-ci
GitLab CI/CD API 资源索引项目,集中整理了 GitLab 持续集成平台 REST 与 GraphQL 接口端点及配套规范文件,方便开发者快速查阅和集成。
Stars: 0 | Forks: 0
# GitLab CI/CD (gitlab-ci)
GitLab CI/CD 是 GitLab 的内置持续集成、交付和部署平台。GitLab REST API v4 中的 CI/CD 功能范围涵盖了 pipelines、jobs、pipeline 计划、pipeline 触发器、runners、agents、releases、环境、部署、package 和 container registries,以及安全/依赖扫描器。GitLab 还提供了 GraphQL API。
**APIs.json:** [https://raw.githubusercontent.com/api-evangelist/gitlab-ci/refs/heads/main/apis.yml](https://raw.githubusercontent.com/api-evangelist/gitlab-ci/refs/heads/main/apis.yml)
## 标签
- DevOps
- CI/CD
- Pipelines
- GitLab
- DevSecOps
- Runners
- Container Registry
## 时间戳
- **创建时间:** 2026-05-08
- **修改时间:** 2026-05-19
## API
### GitLab REST API v4 (CI/CD 端点)
GitLab REST API v4。与 CI/CD 相关的端点系列包括 /projects/:id/ pipelines、/projects/:id/jobs、/projects/:id/pipeline_schedules、/projects/:id/triggers、/runners、/projects/:id/runners、/projects/:id/environments、/projects/:id/deployments 和 /projects/:id/releases 系列。通过个人访问令牌、OAuth 令牌、项目访问令牌、组访问令牌、CI job 令牌或触发器令牌进行身份验证。
- **Human URL:** [https://docs.gitlab.com/api/](https://docs.gitlab.com/api/)
- **Base URL:** `https://gitlab.com/api/v4`
#### 标签
- REST
- Pipelines
- Jobs
- Runners
- Schedules
- Releases
#### 属性
- [文档](https://docs.gitlab.com/api/)
- [API 参考](https://docs.gitlab.com/api/api_resources/)
- [OpenAPI](openapi/gitlab-ci-openapi.yml) — [OpenAPI 规范](https://spec.openapis.org/oas/latest.html)
- [Postman Collection](collections/gitlab-ci.postman_collection.json) — [Postman Collection 2.1](https://schema.getpostman.com/json/collection/v2.1.0/collection.json)
- [Open Collection](collections/gitlab-ci.opencollection.json) — [Open Collection 1.0](https://schema.opencollection.com/opencollection/v1.0.0.json)
- [Open A P I 源](https://docs.gitlab.com/api/openapi/openapi_v2.yaml)
- [交互式文档](https://docs.gitlab.com/api/openapi/openapi_interactive/)
- [身份验证](https://docs.gitlab.com/api/rest/authentication/)
### GitLab GraphQL API
GitLab 的 GraphQL API 位于 /api/graphql。许多 CI/CD 实体(Pipeline、CiJob、CiRunner、MergeRequest pipelines)均通过 GraphQL 查询和变更(mutations)进行公开。
- **Human URL:** [https://docs.gitlab.com/api/graphql/](https://docs.gitlab.com/api/graphql/)
- **Base URL:** `https://gitlab.com/api/graphql`
#### 标签
- GraphQL
- Pipelines
- Jobs
#### 属性
- [文档](https://docs.gitlab.com/api/graphql/)
- [Graph Q L Explorer](https://gitlab.com/-/graphql-explorer)
- [参考](https://docs.gitlab.com/api/graphql/reference/)
- [Postman Collection](collections/gitlab-ci.postman_collection.json) — [Postman Collection 2.1](https://schema.getpostman.com/json/collection/v2.1.0/collection.json)
- [Open Collection](collections/gitlab-ci.opencollection.json) — [Open Collection 1.0](https://schema.opencollection.com/opencollection/v1.0.0.json)
## 通用属性
- [网站](https://about.gitlab.com/)
- [文档](https://docs.gitlab.com/api/)
- [定价](https://about.gitlab.com/pricing/)
- [Git Hub](https://gitlab.com/gitlab-org/gitlab)
- [状态页面](https://status.gitlab.com/)
- [套餐](plans/gitlab-ci-plans-pricing.yml)
- [速率限制](rate-limits/gitlab-ci-rate-limits.yml)
- [Fin Ops](finops/gitlab-ci-finops.yml)
- [L L Ms Txt](https://docs.gitlab.com/llms.txt)
## 维护者
**姓名:** Kin Lane
**邮箱:** kin@apievangelist.com
标签:API, GitLab, 自动化运维