Geo API
- Tier: Premium, Ultimate
- Offering: GitLab Self-Managed
- Status: Beta
The Geo API is used internally by GitLab components to assist in coordinating Geo actions. It is inaccessible to admins or users.
Fetch pipeline refs
This method returns a list of branches matching pipeline/refs/X
that exist on the repository for gl_repository
on the current Geo node. This endpoint is used by runners registered with a secondary Geo instance to check if a repository is up to date.
GET /geo/repositories/:gl_repository/pipeline_refs
Supported attributes:
Attribute | Type | Required | Description |
---|---|---|---|
gl_repository | string | Yes | The gl_repository ID of the repository to query |
If successful, returns 200
and the following
response attributes:
Attribute | Type | Description |
---|---|---|
attribute | ‘array’ | An array of ids matching refs/pipeline/X created for running pipelines. |
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support