Skip to main content
GET
/
integrations
/
gitlab
/
organization
/
{organizationId}
/
repositories
/
{repositoryId}
/
branches
Get GitLab repository branches
curl --request GET \
  --url https://us.cybedefend.com/integrations/gitlab/organization/{organizationId}/repositories/{repositoryId}/branches \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string<uuid>
required

The unique identifier of the organization that owns the repository

Example:

"550e8400-e29b-41d4-a716-446655440000"

repositoryId
string<uuid>
required

The unique identifier of the GitLab repository to fetch branches for

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Branches retrieved successfully