Gitlab SDK
GitLab API client, generated from the OpenAPI spec.
Learn more about GitLab API at gitlab.com.
This is an unofficial SDK for the GitLab public API, generated by Voxgig with @voxgig/sdkgen. It is not affiliated with, endorsed by, or sponsored by the upstream API provider.
Learn more about Voxgig SDKs at voxgig.com/sdk.
TypeScript, Python, Golang, Ruby SDKs, and an interactive REPL — all generated from one OpenAPI spec by @voxgig/sdkgen.
Entities, not endpoints
This SDK exposes the API as a small set of semantic entities — AccessRequest, AlertManagement, ApiEntitiesAccessRequester, ApiEntitiesAppearance, ApiEntitiesApplication, ApiEntitiesApplicationStatistic, ApiEntitiesApplicationWithSecret, ApiEntitiesAvatar, ApiEntitiesAwardEmoji, ApiEntitiesBadge, ApiEntitiesBasicBadgeDetail, ApiEntitiesBasicGroupDetail, ApiEntitiesBasicProjectDetail, ApiEntitiesBasicRef, ApiEntitiesBasicSuccess, ApiEntitiesBatchedBackgroundMigration, ApiEntitiesBranch, ApiEntitiesBulkImport, ApiEntitiesBulkImportsEntityFailure, ApiEntitiesBulkImportsExportStatus, ApiEntitiesChangelog, ApiEntitiesCiBridge, ApiEntitiesCiCatalogResourcesVersion, ApiEntitiesCiJob, ApiEntitiesCiJobBasic, ApiEntitiesCiJobBasicWithProject, ApiEntitiesCiLintResult, ApiEntitiesCiPipeline, ApiEntitiesCiPipelineBasic, ApiEntitiesCiPipelineSchedule, ApiEntitiesCiPipelineScheduleDetail, ApiEntitiesCiResetTokenResult, ApiEntitiesCiResourceGroup, ApiEntitiesCiRunner, ApiEntitiesCiRunnerDetail, ApiEntitiesCiRunnerManager, ApiEntitiesCiRunnerRegistrationDetail, ApiEntitiesCiSecureFile, ApiEntitiesCiVariable, ApiEntitiesCluster, ApiEntitiesClusterGroup, ApiEntitiesClusterProject, ApiEntitiesClustersAgent, ApiEntitiesClustersAgentToken, ApiEntitiesClustersAgentTokenBasic, ApiEntitiesClustersAgentTokenWithToken, ApiEntitiesCommit, ApiEntitiesCommitDetail, ApiEntitiesCommitNote, ApiEntitiesCommitSequence, ApiEntitiesCommitSignature, ApiEntitiesCommitStatus, ApiEntitiesCompare, ApiEntitiesContainerRegistryRepository, ApiEntitiesContainerRegistryTag, ApiEntitiesContainerRegistryTagDetail, ApiEntitiesContributor, ApiEntitiesDeployKey, ApiEntitiesDeployKeysProject, ApiEntitiesDeployToken, ApiEntitiesDeployTokenWithToken, ApiEntitiesDeployment, ApiEntitiesDeploymentExtended, ApiEntitiesDeploymentsApproval, ApiEntitiesDictionaryTable, ApiEntitiesDiff, ApiEntitiesDiscoveredCluster, ApiEntitiesDraftNote, ApiEntitiesEnvironment, ApiEntitiesErrorTrackingClientKey, ApiEntitiesErrorTrackingProjectSetting, ApiEntitiesEvent, ApiEntitiesFeature, ApiEntitiesFeatureDefinition, ApiEntitiesFeatureFlag, ApiEntitiesFeatureFlagUserList, ApiEntitiesFreezePeriod, ApiEntitiesGitlabSubscription, ApiEntitiesGoModuleVersion, ApiEntitiesGroup, ApiEntitiesGroupDetail, ApiEntitiesHook, ApiEntitiesIntegration, ApiEntitiesIntegrationBasic, ApiEntitiesInvitation, ApiEntitiesIssuableTimeStat, ApiEntitiesIssue, ApiEntitiesIssueLink, ApiEntitiesLicense, ApiEntitiesMarkdown, ApiEntitiesMarkdownUploadAdmin, ApiEntitiesMember, ApiEntitiesMerge, ApiEntitiesMergeRequestApproval, ApiEntitiesMergeRequestBasic, ApiEntitiesMergeRequestChange, ApiEntitiesMergeRequestDiff, ApiEntitiesMergeRequestDiffFull, ApiEntitiesMergeRequestReviewer, ApiEntitiesMetricImage, ApiEntitiesMrNote, ApiEntitiesNamespace, ApiEntitiesNamespaceExistence, ApiEntitiesNamespacesStorageLimitExclusion, ApiEntitiesNpmPackage, ApiEntitiesNpmPackageTag, ApiEntitiesNugetPackagesVersion, ApiEntitiesNugetSearchResult, ApiEntitiesNugetServiceIndex, ApiEntitiesOrganizationsOrganization, ApiEntitiesPackage, ApiEntitiesPackageFile, ApiEntitiesPackagePipeline, ApiEntitiesPackagesConanFilesList, ApiEntitiesPackagesConanPackageManifest, ApiEntitiesPackagesConanPackageRevision, ApiEntitiesPackagesConanPackageSnapshot, ApiEntitiesPackagesConanRecipeManifest, ApiEntitiesPackagesConanRecipeRevision, ApiEntitiesPackagesConanRecipeSnapshot, ApiEntitiesPackagesConanRevision, ApiEntitiesPackagesConanUploadUrl, ApiEntitiesPackagesDebianDistribution, ApiEntitiesPagesDomain, ApiEntitiesPagesDomainBasic, ApiEntitiesPersonalAccessToken, ApiEntitiesPersonalAccessTokenWithLastUsedIp, ApiEntitiesPersonalAccessTokenWithToken, ApiEntitiesPersonalSnippet, ApiEntitiesPlanLimit, ApiEntitiesProject, ApiEntitiesProjectDailyStatistic, ApiEntitiesProjectExportStatus, ApiEntitiesProjectGroupLink, ApiEntitiesProjectHook, ApiEntitiesProjectImportStatus, ApiEntitiesProjectJobTokenScope, ApiEntitiesProjectRepositoryStorage, ApiEntitiesProjectSnippet, ApiEntitiesProjectUpload, ApiEntitiesProjectWithAccess, ApiEntitiesProjectsContainerRegistryProtectionRule, ApiEntitiesProjectsPackagesProtectionRule, ApiEntitiesProjectsTopic, ApiEntitiesProtectedBranch, ApiEntitiesProtectedTag, ApiEntitiesPublicGroupDetail, ApiEntitiesRelatedIssue, ApiEntitiesRelationImportTracker, ApiEntitiesRelease, ApiEntitiesReleasesLink, ApiEntitiesRemoteMirror, ApiEntitiesRepositoryHealth, ApiEntitiesResourceAccessTokenWithToken, ApiEntitiesResourceMilestoneEvent, ApiEntitiesSnippet, ApiEntitiesSshKeyWithUser, ApiEntitiesSuggestion, ApiEntitiesSystemBroadcastMessage, ApiEntitiesTag, ApiEntitiesTagSignature, ApiEntitiesTemplatesList, ApiEntitiesTerraformModuleVersion, ApiEntitiesTreeObject, ApiEntitiesTrigger, ApiEntitiesUserAgentDetail, ApiEntitiesUserCount, ApiEntitiesUserPublic, ApiEntitiesUserWithAdmin, ApiEntitiesWikiAttachment, ApiEntitiesWikiPage, ApiEntitiesWikiPageBasic, Application, AwardEmoji, Badge, Branch, CargoPackage, CiVariable, Cluster, ClusterAgent, Composer, ComposerPackage, Conan, ConanPackage, ContainerRegistry, ContainerRegistryEvent, CustomAttribute, Debian, DebianDistribution, DebianPackage, DependencyProxy, DeployKey, DeployToken, Deployment, EeApiEntitiesApprovalState, EeApiEntitiesAuditEvent, EeApiEntitiesBillableMembership, EeApiEntitiesGeoNodeStatus, EeApiEntitiesGeoPipelineRef, EeApiEntitiesIssuableMetricImage, EeApiEntitiesMergeRequestApprovalState, EeApiEntitiesSshCertificate, Environment, ErrorTrackingClientKey, Feature, FeatureFlag, FeatureFlagsUserList, FreezePeriod, GenericPackage, Geo, GoProxy, Group, GroupAvatar, GroupExport, GroupImport, HelmPackage, Hook, Import, Integration, Invitation, IssueLink, IssuesStatistic, Job, MavenPackage, Member, MergeRequest, Metadata, Migration, MlModelRegistry, Namespace, Npm, NpmPackage, Nuget, NugetPackage, PackageFile, Page, Participant, PersonalAccessToken, Project, ProjectAvatar, ProjectEntity, ProjectExport, ProjectHook, ProjectImport, ProjectImportEntity, ProjectPackage, ProjectSnippet, ProjectsJobTokenScope, ProtectedTag, Pypi, PypiPackage, Release, ReleaseLink, RemoteMirror, Rpm, RpmPackage, Rubygem, RubygemPackage, Runner, Search, SecureFile, Slack, Snippet, Starrer, SystemHook, Tag, TerraformRegistry, TerraformState, TestReport, TestReportSummary, Topic, UnleashApi, UsageData, User, WebCommit and Wiki — that you
call directly, instead of assembling URL paths and query strings. Entities are
Capitalised to mark them as the primary surface, each with the operations they
support (list, load, create, update, remove, patch):
const client = new GitlabSDK()
Thinking in entities keeps the mental model small — for people and AI agents alike — rather than reasoning about raw HTTP routes and query parameters.
Offline unit testing
Every SDK ships a built-in test mode that swaps the HTTP transport for an in-memory mock, so your unit tests run fully offline — no server, no network, and no credentials:
TypeScript
const client = GitlabSDK.test()
const apientitiesaccessrequesters = await client.ApiEntitiesAccessRequester().list()
// apientitiesaccessrequesters is an array of bare ApiEntitiesAccessRequester records populated with mock data
console.log(apientitiesaccessrequesters)
Python
client = GitlabSDK.test()
apientitiesaccessrequesters = client.ApiEntitiesAccessRequester().list()
print(apientitiesaccessrequesters)
Golang
client := sdk.Test()
result, err := client.ApiEntitiesAccessRequester(nil).List(
nil, nil,
)
Ruby
# Seed fixture data so offline calls resolve without a live server.
client = GitlabSDK.test({
"entity" => { "apientitiesaccessrequester" => { "test01" => {} } },
})
apientitiesaccessrequesters = client.ApiEntitiesAccessRequester.list()
Packages
| Language | Package | Install |
|---|---|---|
| TypeScript | @voxgig-sdk/gitlab | publish pending — install from git tag |
| Python | voxgig-sdk-gitlab | publish pending — install from git tag |
| Golang | github.com/voxgig-sdk/gitlab-sdk/go | go get github.com/voxgig-sdk/gitlab-sdk/go@latest |
| Ruby | voxgig-sdk-gitlab | publish pending — install from git tag |
Quickstart
TypeScript
import { GitlabSDK } from '@voxgig-sdk/gitlab'
const client = new GitlabSDK({
apikey: process.env.GITLAB_APIKEY,
})
// Load a specific apientitiesbranch (returns a ApiEntitiesBranch)
const apientitiesbranch = await client.ApiEntitiesBranch().load({
project_id: 'example_project_id',
id: 'example_id',
})
console.log(apientitiesbranch)
See the TypeScript README for the full guide.
Surfaces
| Surface | Path |
|---|---|
| SDK (TypeScript, Python, Golang, Ruby) | ts/ py/ go/ rb/ |
Entities
The API exposes 276 entities:
| Entity | Description | API path |
|---|---|---|
| AccessRequest | The AccessRequest entity (remove). | /api/v4/groups/{id}/access_requests/{user_id} |
| AlertManagement | The AlertManagement entity (create, remove). | /api/v4/projects/{id}/alert_management_alerts/{alert_iid}/metric_images/authorize |
| ApiEntitiesAccessRequester | The ApiEntitiesAccessRequester entity (create, list, update). | /api/v4/groups/{id}/access_requests |
| ApiEntitiesAppearance | The ApiEntitiesAppearance entity (load, update). | /api/v4/application/appearance |
| ApiEntitiesApplication | The ApiEntitiesApplication entity (list). | /api/v4/applications |
| ApiEntitiesApplicationStatistic | The ApiEntitiesApplicationStatistic entity (load). | /api/v4/application/statistics |
| ApiEntitiesApplicationWithSecret | The ApiEntitiesApplicationWithSecret entity (create). | /api/v4/applications/{id}/renew-secret |
| ApiEntitiesAvatar | The ApiEntitiesAvatar entity (load). | /api/v4/avatar |
| ApiEntitiesAwardEmoji | The ApiEntitiesAwardEmoji entity (create, list, load). | /api/v4/groups/{id}/epics/{epic_iid}/notes/{note_id}/award_emoji |
| ApiEntitiesBadge | The ApiEntitiesBadge entity (create, list, load, update). | /api/v4/groups/{id}/badges |
| ApiEntitiesBasicBadgeDetail | The ApiEntitiesBasicBadgeDetail entity (load). | /api/v4/groups/{id}/badges/render |
| ApiEntitiesBasicGroupDetail | The ApiEntitiesBasicGroupDetail entity (create). | /api/v4/projects/{id}/job_token_scope/groups_allowlist |
| ApiEntitiesBasicProjectDetail | The ApiEntitiesBasicProjectDetail entity (create, list). | /api/v4/projects/{id}/job_token_scope/allowlist |
| ApiEntitiesBasicRef | The ApiEntitiesBasicRef entity (list). | /api/v4/projects/{id}/repository/commits/{sha}/refs |
| ApiEntitiesBasicSuccess | The ApiEntitiesBasicSuccess entity (create). | /api/v4/integrations/jira_connect/subscriptions |
| ApiEntitiesBatchedBackgroundMigration | The ApiEntitiesBatchedBackgroundMigration entity (list, load, update). | /api/v4/admin/batched_background_migrations |
| ApiEntitiesBranch | The ApiEntitiesBranch entity (create, list, load, update). | /api/v4/projects/{id}/repository/branches |
| ApiEntitiesBulkImport | The ApiEntitiesBulkImport entity (create, list, load). | /api/v4/bulk_imports |
| ApiEntitiesBulkImportsEntityFailure | The ApiEntitiesBulkImportsEntityFailure entity (load). | /api/v4/bulk_imports/{import_id}/entities/{entity_id}/failures |
| ApiEntitiesBulkImportsExportStatus | The ApiEntitiesBulkImportsExportStatus entity (list). | /api/v4/groups/{id}/export_relations/status |
| ApiEntitiesChangelog | The ApiEntitiesChangelog entity (load). | /api/v4/projects/{id}/repository/changelog |
| ApiEntitiesCiBridge | The ApiEntitiesCiBridge entity (list). | /api/v4/projects/{id}/pipelines/{pipeline_id}/bridges |
| ApiEntitiesCiCatalogResourcesVersion | The ApiEntitiesCiCatalogResourcesVersion entity (create). | /api/v4/projects/{id}/catalog/publish |
| ApiEntitiesCiJob | The ApiEntitiesCiJob entity (create, list, load). | /api/v4/projects/{id}/jobs/{job_id}/cancel |
| ApiEntitiesCiJobBasic | The ApiEntitiesCiJobBasic entity (create, list). | /api/v4/projects/{id}/jobs/{job_id}/play |
| ApiEntitiesCiJobBasicWithProject | The ApiEntitiesCiJobBasicWithProject entity (load). | /api/v4/runners/{id}/jobs |
| ApiEntitiesCiLintResult | The ApiEntitiesCiLintResult entity (create, list). | /api/v4/projects/{id}/ci/lint |
| ApiEntitiesCiPipeline | The ApiEntitiesCiPipeline entity (create). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/pipelines |
| ApiEntitiesCiPipelineBasic | The ApiEntitiesCiPipelineBasic entity (list, load). | /api/v4/projects/{id}/pipelines |
| ApiEntitiesCiPipelineSchedule | The ApiEntitiesCiPipelineSchedule entity (list). | /api/v4/projects/{id}/pipeline_schedules |
| ApiEntitiesCiPipelineScheduleDetail | The ApiEntitiesCiPipelineScheduleDetail entity (create, load, update). | /api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}/take_ownership |
| ApiEntitiesCiResetTokenResult | The ApiEntitiesCiResetTokenResult entity (create). | /api/v4/groups/{id}/runners/reset_registration_token |
| ApiEntitiesCiResourceGroup | The ApiEntitiesCiResourceGroup entity (list, load, update). | /api/v4/projects/{id}/resource_groups |
| ApiEntitiesCiRunner | The ApiEntitiesCiRunner entity (create, load). | /api/v4/projects/{id}/runners |
| ApiEntitiesCiRunnerDetail | The ApiEntitiesCiRunnerDetail entity (load, update). | /api/v4/runners/{id} |
| ApiEntitiesCiRunnerManager | The ApiEntitiesCiRunnerManager entity (load). | /api/v4/runners/{id}/managers |
| ApiEntitiesCiRunnerRegistrationDetail | The ApiEntitiesCiRunnerRegistrationDetail entity (create). | /api/v4/runners |
| ApiEntitiesCiSecureFile | The ApiEntitiesCiSecureFile entity (create, load). | /api/v4/projects/{id}/secure_files |
| ApiEntitiesCiVariable | The ApiEntitiesCiVariable entity (create, list, load, update). | /api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}/variables |
| ApiEntitiesCluster | The ApiEntitiesCluster entity (create, list, load, update). | /api/v4/admin/clusters/add |
| ApiEntitiesClusterGroup | The ApiEntitiesClusterGroup entity (create, load, update). | /api/v4/groups/{id}/clusters/user |
| ApiEntitiesClusterProject | The ApiEntitiesClusterProject entity (create, load, update). | /api/v4/projects/{id}/clusters/user |
| ApiEntitiesClustersAgent | The ApiEntitiesClustersAgent entity (create, load). | /api/v4/projects/{id}/cluster_agents |
| ApiEntitiesClustersAgentToken | The ApiEntitiesClustersAgentToken entity (load). | /api/v4/projects/{id}/cluster_agents/{agent_id}/tokens/{token_id} |
| ApiEntitiesClustersAgentTokenBasic | The ApiEntitiesClustersAgentTokenBasic entity (load). | /api/v4/projects/{id}/cluster_agents/{agent_id}/tokens |
| ApiEntitiesClustersAgentTokenWithToken | The ApiEntitiesClustersAgentTokenWithToken entity (create). | /api/v4/projects/{id}/cluster_agents/{agent_id}/tokens |
| ApiEntitiesCommit | The ApiEntitiesCommit entity (create, list). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/context_commits |
| ApiEntitiesCommitDetail | The ApiEntitiesCommitDetail entity (create, load, update). | /api/v4/projects/{id}/repository/commits |
| ApiEntitiesCommitNote | The ApiEntitiesCommitNote entity (create, list). | /api/v4/projects/{id}/repository/commits/{sha}/comments |
| ApiEntitiesCommitSequence | The ApiEntitiesCommitSequence entity (load). | /api/v4/projects/{id}/repository/commits/{sha}/sequence |
| ApiEntitiesCommitSignature | The ApiEntitiesCommitSignature entity (load). | /api/v4/projects/{id}/repository/commits/{sha}/signature |
| ApiEntitiesCommitStatus | The ApiEntitiesCommitStatus entity (create, list). | /api/v4/projects/{id}/statuses/{sha} |
| ApiEntitiesCompare | The ApiEntitiesCompare entity (list). | /api/v4/projects/{id}/repository/compare |
| ApiEntitiesContainerRegistryRepository | The ApiEntitiesContainerRegistryRepository entity (list, load). | /api/v4/projects/{id}/registry/repositories |
| ApiEntitiesContainerRegistryTag | The ApiEntitiesContainerRegistryTag entity (list). | /api/v4/projects/{id}/registry/repositories/{repository_id}/tags |
| ApiEntitiesContainerRegistryTagDetail | The ApiEntitiesContainerRegistryTagDetail entity (load). | /api/v4/projects/{id}/registry/repositories/{repository_id}/tags/{tag_name} |
| ApiEntitiesContributor | The ApiEntitiesContributor entity (load). | /api/v4/projects/{id}/repository/contributors |
| ApiEntitiesDeployKey | The ApiEntitiesDeployKey entity (create, list, update). | /api/v4/projects/{id}/deploy_keys/{key_id}/enable |
| ApiEntitiesDeployKeysProject | The ApiEntitiesDeployKeysProject entity (create, list, load). | /api/v4/projects/{id}/deploy_keys |
| ApiEntitiesDeployToken | The ApiEntitiesDeployToken entity (list, load). | /api/v4/groups/{id}/deploy_tokens |
| ApiEntitiesDeployTokenWithToken | The ApiEntitiesDeployTokenWithToken entity (create). | /api/v4/groups/{id}/deploy_tokens |
| ApiEntitiesDeployment | The ApiEntitiesDeployment entity (list). | /api/v4/projects/{id}/deployments |
| ApiEntitiesDeploymentExtended | The ApiEntitiesDeploymentExtended entity (create, load, update). | /api/v4/projects/{id}/deployments |
| ApiEntitiesDeploymentsApproval | The ApiEntitiesDeploymentsApproval entity (create). | /api/v4/projects/{id}/deployments/{deployment_id}/approval |
| ApiEntitiesDictionaryTable | The ApiEntitiesDictionaryTable entity (load). | /api/v4/admin/databases/{database_name}/dictionary/tables/{table_name} |
| ApiEntitiesDiff | The ApiEntitiesDiff entity (list, load). | /api/v4/projects/{id}/repository/commits/{sha}/diff |
| ApiEntitiesDiscoveredCluster | The ApiEntitiesDiscoveredCluster entity (load). | /api/v4/discover-cert-based-clusters |
| ApiEntitiesDraftNote | The ApiEntitiesDraftNote entity (create, list, load, update). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes |
| ApiEntitiesEnvironment | The ApiEntitiesEnvironment entity (create, list, load, update). | /api/v4/projects/{id}/environments/{environment_id}/stop |
| ApiEntitiesErrorTrackingClientKey | The ApiEntitiesErrorTrackingClientKey entity (create, list). | /api/v4/projects/{id}/error_tracking/client_keys |
| ApiEntitiesErrorTrackingProjectSetting | The ApiEntitiesErrorTrackingProjectSetting entity (load, patch, update). | /api/v4/projects/{id}/error_tracking/settings |
| ApiEntitiesEvent | The ApiEntitiesEvent entity (list, load). | /api/v4/events |
| ApiEntitiesFeature | The ApiEntitiesFeature entity (create, list). | /api/v4/features/{name} |
| ApiEntitiesFeatureDefinition | The ApiEntitiesFeatureDefinition entity (list). | /api/v4/features/definitions |
| ApiEntitiesFeatureFlag | The ApiEntitiesFeatureFlag entity (create, list, load, update). | /api/v4/projects/{id}/feature_flags |
| ApiEntitiesFeatureFlagUserList | The ApiEntitiesFeatureFlagUserList entity (create, list, load, update). | /api/v4/projects/{id}/feature_flags_user_lists |
| ApiEntitiesFreezePeriod | The ApiEntitiesFreezePeriod entity (create, list, load, update). | /api/v4/projects/{id}/freeze_periods |
| ApiEntitiesGitlabSubscription | The ApiEntitiesGitlabSubscription entity (load). | /api/v4/namespaces/{id}/gitlab_subscription |
| ApiEntitiesGoModuleVersion | The ApiEntitiesGoModuleVersion entity (load). | /api/v4/projects/{id}/packages/go/*module_name/@v/{module_version}.info |
| ApiEntitiesGroup | The ApiEntitiesGroup entity (create, list, load, update). | /api/v4/groups/{id}/archive |
| ApiEntitiesGroupDetail | The ApiEntitiesGroupDetail entity (create, load). | /api/v4/groups/{id}/share |
| ApiEntitiesHook | The ApiEntitiesHook entity (create, list, load, update). | /api/v4/hooks |
| ApiEntitiesIntegration | The ApiEntitiesIntegration entity (load). | /api/v4/groups/{id}/integrations/{slug} |
| ApiEntitiesIntegrationBasic | The ApiEntitiesIntegrationBasic entity (list, update). | /api/v4/groups/{id}/integrations |
| ApiEntitiesInvitation | The ApiEntitiesInvitation entity (create, list, update). | /api/v4/groups/{id}/invitations |
| ApiEntitiesIssuableTimeStat | The ApiEntitiesIssuableTimeStat entity (create, load). | /api/v4/projects/{id}/issues/{issue_iid}/add_spent_time |
| ApiEntitiesIssue | The ApiEntitiesIssue entity (create, list, load, update). | /api/v4/projects/{id}/issues/{issue_iid}/clone |
| ApiEntitiesIssueLink | The ApiEntitiesIssueLink entity (create, load). | /api/v4/projects/{id}/issues/{issue_iid}/links |
| ApiEntitiesLicense | The ApiEntitiesLicense entity (list). | /api/v4/projects/{id}/templates/{type}/{name} |
| ApiEntitiesMarkdown | The ApiEntitiesMarkdown entity (create). | /api/v4/markdown |
| ApiEntitiesMarkdownUploadAdmin | The ApiEntitiesMarkdownUploadAdmin entity (list). | /api/v4/groups/{id}/uploads |
| ApiEntitiesMember | The ApiEntitiesMember entity (create, list, load, remove, update). | /api/v4/groups/{id}/members/{user_id}/override |
| ApiEntitiesMerge | The ApiEntitiesMerge entity (create, load, update). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/cancel_merge_when_pipeline_succeeds |
| ApiEntitiesMergeRequestApproval | The ApiEntitiesMergeRequestApproval entity (create, load). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/approve |
| ApiEntitiesMergeRequestBasic | The ApiEntitiesMergeRequestBasic entity (list, load). | /api/v4/projects/{id}/deployments/{deployment_id}/merge_requests |
| ApiEntitiesMergeRequestChange | The ApiEntitiesMergeRequestChange entity (load). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/changes |
| ApiEntitiesMergeRequestDiff | The ApiEntitiesMergeRequestDiff entity (list). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/versions |
| ApiEntitiesMergeRequestDiffFull | The ApiEntitiesMergeRequestDiffFull entity (load). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/versions/{version_id} |
| ApiEntitiesMergeRequestReviewer | The ApiEntitiesMergeRequestReviewer entity (load). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/reviewers |
| ApiEntitiesMetricImage | The ApiEntitiesMetricImage entity (create, list, update). | /api/v4/projects/{id}/alert_management_alerts/{alert_iid}/metric_images |
| ApiEntitiesMrNote | The ApiEntitiesMrNote entity (load). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/closes_issues |
| ApiEntitiesNamespace | The ApiEntitiesNamespace entity (list, load, update). | /api/v4/namespaces |
| ApiEntitiesNamespaceExistence | The ApiEntitiesNamespaceExistence entity (list). | /api/v4/namespaces/{id}/exists |
| ApiEntitiesNamespacesStorageLimitExclusion | The ApiEntitiesNamespacesStorageLimitExclusion entity (create, load). | /api/v4/namespaces/{id}/storage/limit_exclusion |
| ApiEntitiesNpmPackage | The ApiEntitiesNpmPackage entity (load). | /api/v4/groups/{id}/-/packages/npm/*package_name |
| ApiEntitiesNpmPackageTag | The ApiEntitiesNpmPackageTag entity (load). | /api/v4/groups/{id}/-/packages/npm/-/package/*package_name/dist-tags |
| ApiEntitiesNugetPackagesVersion | The ApiEntitiesNugetPackagesVersion entity (list). | /api/v4/projects/{id}/packages/nuget/download/*package_name/index |
| ApiEntitiesNugetSearchResult | The ApiEntitiesNugetSearchResult entity (list). | /api/v4/groups/{id}/-/packages/nuget/query |
| ApiEntitiesNugetServiceIndex | The ApiEntitiesNugetServiceIndex entity (list). | /api/v4/groups/{id}/-/packages/nuget/index |
| ApiEntitiesOrganizationsOrganization | The ApiEntitiesOrganizationsOrganization entity (create). | /api/v4/organizations |
| ApiEntitiesPackage | The ApiEntitiesPackage entity (list, load). | /api/v4/groups/{id}/packages |
| ApiEntitiesPackageFile | The ApiEntitiesPackageFile entity (list). | /api/v4/projects/{id}/packages/{package_id}/package_files |
| ApiEntitiesPackagePipeline | The ApiEntitiesPackagePipeline entity (load). | /api/v4/projects/{id}/packages/{package_id}/pipelines |
| ApiEntitiesPackagesConanFilesList | The ApiEntitiesPackagesConanFilesList entity (load). | /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions/{package_revision}/files |
| ApiEntitiesPackagesConanPackageManifest | The ApiEntitiesPackagesConanPackageManifest entity (load). | /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/digest |
| ApiEntitiesPackagesConanPackageRevision | The ApiEntitiesPackagesConanPackageRevision entity (list). | /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions |
| ApiEntitiesPackagesConanPackageSnapshot | The ApiEntitiesPackagesConanPackageSnapshot entity (load). | /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference} |
| ApiEntitiesPackagesConanRecipeManifest | The ApiEntitiesPackagesConanRecipeManifest entity (load). | /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/digest |
| ApiEntitiesPackagesConanRecipeRevision | The ApiEntitiesPackagesConanRecipeRevision entity (list). | /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions |
| ApiEntitiesPackagesConanRecipeSnapshot | The ApiEntitiesPackagesConanRecipeSnapshot entity (load). | /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel} |
| ApiEntitiesPackagesConanRevision | The ApiEntitiesPackagesConanRevision entity (load). | /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/latest |
| ApiEntitiesPackagesConanUploadUrl | The ApiEntitiesPackagesConanUploadUrl entity (create). | /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/upload_urls |
| ApiEntitiesPackagesDebianDistribution | The ApiEntitiesPackagesDebianDistribution entity (create, list, load, update). | /api/v4/groups/{id}/-/debian_distributions |
| ApiEntitiesPagesDomain | The ApiEntitiesPagesDomain entity (create, list, load, update). | /api/v4/projects/{id}/pages/domains |
| ApiEntitiesPagesDomainBasic | The ApiEntitiesPagesDomainBasic entity (load). | /api/v4/pages/domains |
| ApiEntitiesPersonalAccessToken | The ApiEntitiesPersonalAccessToken entity (list). | /api/v4/personal_access_tokens/self/associations |
| ApiEntitiesPersonalAccessTokenWithLastUsedIp | The ApiEntitiesPersonalAccessTokenWithLastUsedIp entity (list, load). | /api/v4/personal_access_tokens |
| ApiEntitiesPersonalAccessTokenWithToken | The ApiEntitiesPersonalAccessTokenWithToken entity (create). | /api/v4/personal_access_tokens/{id}/rotate |
| ApiEntitiesPersonalSnippet | The ApiEntitiesPersonalSnippet entity (create, list, load, update). | /api/v4/snippets |
| ApiEntitiesPlanLimit | The ApiEntitiesPlanLimit entity (load, update). | /api/v4/application/plan_limits |
| ApiEntitiesProject | The ApiEntitiesProject entity (create, list, update). | /api/v4/projects/{id}/fork/{forked_from_id} |
| ApiEntitiesProjectDailyStatistic | The ApiEntitiesProjectDailyStatistic entity (load). | /api/v4/projects/{id}/statistics |
| ApiEntitiesProjectExportStatus | The ApiEntitiesProjectExportStatus entity (load). | /api/v4/projects/{id}/export |
| ApiEntitiesProjectGroupLink | The ApiEntitiesProjectGroupLink entity (create). | /api/v4/projects/{id}/share |
| ApiEntitiesProjectHook | The ApiEntitiesProjectHook entity (create, list, load, update). | /api/v4/projects/{id}/hooks |
| ApiEntitiesProjectImportStatus | The ApiEntitiesProjectImportStatus entity (create, list). | /api/v4/projects/import |
| ApiEntitiesProjectJobTokenScope | The ApiEntitiesProjectJobTokenScope entity (load). | /api/v4/projects/{id}/job_token_scope |
| ApiEntitiesProjectRepositoryStorage | The ApiEntitiesProjectRepositoryStorage entity (load). | /api/v4/projects/{id}/storage |
| ApiEntitiesProjectSnippet | The ApiEntitiesProjectSnippet entity (create, list, load, update). | /api/v4/projects/{id}/snippets |
| ApiEntitiesProjectUpload | The ApiEntitiesProjectUpload entity (create). | /api/v4/projects/{id}/uploads |
| ApiEntitiesProjectWithAccess | The ApiEntitiesProjectWithAccess entity (load). | /api/v4/projects/{id} |
| ApiEntitiesProjectsContainerRegistryProtectionRule | The ApiEntitiesProjectsContainerRegistryProtectionRule entity (create, list, update). | /api/v4/projects/{id}/registry/protection/repository/rules |
| ApiEntitiesProjectsPackagesProtectionRule | The ApiEntitiesProjectsPackagesProtectionRule entity (create, list, update). | /api/v4/projects/{id}/packages/protection/rules |
| ApiEntitiesProjectsTopic | The ApiEntitiesProjectsTopic entity (create, load, update). | /api/v4/topics |
| ApiEntitiesProtectedBranch | The ApiEntitiesProtectedBranch entity (create, list, load, update). | /api/v4/projects/{id}/protected_branches |
| ApiEntitiesProtectedTag | The ApiEntitiesProtectedTag entity (create, list, load). | /api/v4/projects/{id}/protected_tags |
| ApiEntitiesPublicGroupDetail | The ApiEntitiesPublicGroupDetail entity (list). | /api/v4/projects/{id}/groups |
| ApiEntitiesRelatedIssue | The ApiEntitiesRelatedIssue entity (list). | /api/v4/projects/{id}/issues/{issue_iid}/links |
| ApiEntitiesRelationImportTracker | The ApiEntitiesRelationImportTracker entity (create). | /api/v4/projects/import-relation |
| ApiEntitiesRelease | The ApiEntitiesRelease entity (create, list, load, update). | /api/v4/projects/{id}/releases |
| ApiEntitiesReleasesLink | The ApiEntitiesReleasesLink entity (create, list, load, update). | /api/v4/projects/{id}/releases/{tag_name}/assets/links |
| ApiEntitiesRemoteMirror | The ApiEntitiesRemoteMirror entity (create, list, load, update). | /api/v4/projects/{id}/remote_mirrors |
| ApiEntitiesRepositoryHealth | The ApiEntitiesRepositoryHealth entity (load). | /api/v4/projects/{id}/repository/health |
| ApiEntitiesResourceAccessTokenWithToken | The ApiEntitiesResourceAccessTokenWithToken entity (create). | /api/v4/groups/{id}/access_tokens/self/rotate |
| ApiEntitiesResourceMilestoneEvent | The ApiEntitiesResourceMilestoneEvent entity (list, load). | /api/v4/projects/{id}/issues/{eventable_id}/resource_milestone_events |
| ApiEntitiesSnippet | The ApiEntitiesSnippet entity (list). | /api/v4/snippets/all |
| ApiEntitiesSshKeyWithUser | The ApiEntitiesSshKeyWithUser entity (load). | /api/v4/keys/{id} |
| ApiEntitiesSuggestion | The ApiEntitiesSuggestion entity (update). | /api/v4/suggestions/{id}/apply |
| ApiEntitiesSystemBroadcastMessage | The ApiEntitiesSystemBroadcastMessage entity (create, load, remove, update). | /api/v4/broadcast_messages |
| ApiEntitiesTag | The ApiEntitiesTag entity (create, list, load). | /api/v4/projects/{id}/repository/tags |
| ApiEntitiesTagSignature | The ApiEntitiesTagSignature entity (load). | /api/v4/projects/{id}/repository/tags/{tag_name}/signature |
| ApiEntitiesTemplatesList | The ApiEntitiesTemplatesList entity (load). | /api/v4/projects/{id}/templates/{type} |
| ApiEntitiesTerraformModuleVersion | The ApiEntitiesTerraformModuleVersion entity (list, load). | /api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/versions |
| ApiEntitiesTreeObject | The ApiEntitiesTreeObject entity (load). | /api/v4/projects/{id}/repository/tree |
| ApiEntitiesTrigger | The ApiEntitiesTrigger entity (create, list, load, update). | /api/v4/projects/{id}/triggers |
| ApiEntitiesUserAgentDetail | The ApiEntitiesUserAgentDetail entity (load). | /api/v4/projects/{id}/issues/{issue_iid}/user_agent_detail |
| ApiEntitiesUserCount | The ApiEntitiesUserCount entity (load). | /api/v4/user_counts |
| ApiEntitiesUserPublic | The ApiEntitiesUserPublic entity (list). | /api/v4/groups/{id}/provisioned_users |
| ApiEntitiesUserWithAdmin | The ApiEntitiesUserWithAdmin entity (list). | /api/v4/keys |
| ApiEntitiesWikiAttachment | The ApiEntitiesWikiAttachment entity (create). | /api/v4/groups/{id}/wikis/attachments |
| ApiEntitiesWikiPage | The ApiEntitiesWikiPage entity (create, load, update). | /api/v4/groups/{id}/wikis |
| ApiEntitiesWikiPageBasic | The ApiEntitiesWikiPageBasic entity (list). | /api/v4/groups/{id}/wikis |
| Application | The Application entity (remove). | /api/v4/applications/{id} |
| AwardEmoji | The AwardEmoji entity (remove). | /api/v4/groups/{id}/epics/{epic_iid}/notes/{note_id}/award_emoji/{award_id} |
| Badge | The Badge entity (remove). | /api/v4/groups/{id}/badges/{badge_id} |
| Branch | The Branch entity (remove). | /api/v4/projects/{id}/repository/branches/{branch} |
| CargoPackage | The CargoPackage entity (load). | /api/v4/projects/{id}/packages/cargo/config.json |
| CiVariable | The CiVariable entity (remove). | /api/v4/projects/{id}/variables/{key} |
| Cluster | The Cluster entity (remove). | /api/v4/groups/{id}/clusters/{cluster_id} |
| ClusterAgent | The ClusterAgent entity (remove). | /api/v4/projects/{id}/cluster_agents/{agent_id}/tokens/{token_id} |
| Composer | The Composer entity (create). | /api/v4/projects/{id}/packages/composer |
| ComposerPackage | The ComposerPackage entity (load). | /api/v4/projects/{id}/packages/composer/archives/*package_name |
| Conan | The Conan entity (remove). | /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel} |
| ConanPackage | The ConanPackage entity (load, remove, update). | /api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name} |
| ContainerRegistry | The ContainerRegistry entity (remove). | /api/v4/projects/{id}/registry/repositories/{repository_id}/tags |
| ContainerRegistryEvent | The ContainerRegistryEvent entity (create). | /api/v4/container_registry_event/events |
| CustomAttribute | The CustomAttribute entity (load). | /api/v4/groups/{id}/custom_attributes/{key} |
| Debian | The Debian entity (update). | /api/v4/projects/{id}/packages/debian/{file_name} |
| DebianDistribution | The DebianDistribution entity (remove). | /api/v4/groups/{id}/-/debian_distributions/{codename} |
| DebianPackage | The DebianPackage entity (load, update). | /api/v4/groups/{id}/-/packages/debian/pool/{distribution}/{project_id}/{letter}/{package_name}/{package_version}/{file_name} |
| DependencyProxy | The DependencyProxy entity (remove). | /api/v4/groups/{id}/dependency_proxy/cache |
| DeployKey | The DeployKey entity (remove). | /api/v4/projects/{id}/deploy_keys/{key_id} |
| DeployToken | The DeployToken entity (remove). | /api/v4/groups/{id}/deploy_tokens/{token_id} |
| Deployment | The Deployment entity (remove). | /api/v4/projects/{id}/deployments/{deployment_id} |
| EeApiEntitiesApprovalState | The EeApiEntitiesApprovalState entity (create). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/approvals |
| EeApiEntitiesAuditEvent | The EeApiEntitiesAuditEvent entity (list, load). | /api/v4/groups/{id}/audit_events |
| EeApiEntitiesBillableMembership | The EeApiEntitiesBillableMembership entity (load). | /api/v4/groups/{id}/billable_members/{user_id}/indirect |
| EeApiEntitiesGeoNodeStatus | The EeApiEntitiesGeoNodeStatus entity (create). | /api/v4/geo/status |
| EeApiEntitiesGeoPipelineRef | The EeApiEntitiesGeoPipelineRef entity (list). | /api/v4/geo/repositories/{gl_repository}/pipeline_refs |
| EeApiEntitiesIssuableMetricImage | The EeApiEntitiesIssuableMetricImage entity (create, remove, update). | /api/v4/projects/{id}/issues/{issue_iid}/metric_images |
| EeApiEntitiesMergeRequestApprovalState | The EeApiEntitiesMergeRequestApprovalState entity (list). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_state |
| EeApiEntitiesSshCertificate | The EeApiEntitiesSshCertificate entity (create, list). | /api/v4/groups/{id}/ssh_certificates |
| Environment | The Environment entity (create, remove). | /api/v4/projects/{id}/environments/stop_stale |
| ErrorTrackingClientKey | The ErrorTrackingClientKey entity (remove). | /api/v4/projects/{id}/error_tracking/client_keys/{key_id} |
| Feature | The Feature entity (remove). | /api/v4/features/{name} |
| FeatureFlag | The FeatureFlag entity (create, load, remove). | /api/v4/feature_flags/unleash/{project_id}/client/metrics |
| FeatureFlagsUserList | The FeatureFlagsUserList entity (remove). | /api/v4/projects/{id}/feature_flags_user_lists/{iid} |
| FreezePeriod | The FreezePeriod entity (remove). | /api/v4/projects/{id}/freeze_periods/{freeze_period_id} |
| GenericPackage | The GenericPackage entity (load, update). | /api/v4/projects/{id}/packages/generic/{package_name}/*package_version/(*path/){file_name} |
| Geo | The Geo entity (create, load). | /api/v4/geo/node_proxy/{id}/graphql |
| GoProxy | The GoProxy entity (load). | /api/v4/projects/{id}/packages/go/*module_name/@v/{module_version}.mod |
| Group | The Group entity (create, load, remove, update). | /api/v4/groups/{id}/placeholder_reassignments |
| GroupAvatar | The GroupAvatar entity (load). | /api/v4/groups/{id}/avatar |
| GroupExport | The GroupExport entity (create, load). | /api/v4/groups/{id}/export_relations |
| GroupImport | The GroupImport entity (create). | /api/v4/groups/import |
| HelmPackage | The HelmPackage entity (create, load). | /api/v4/projects/{id}/packages/helm/api/{channel}/charts |
| Hook | The Hook entity (create, remove, update). | /api/v4/hooks/{hook_id} |
| Import | The Import entity (create). | /api/v4/import/github/gists |
| Integration | The Integration entity (create, remove). | /api/v4/projects/{id}/integrations/mattermost_slash_commands/trigger |
| Invitation | The Invitation entity (remove). | /api/v4/groups/{id}/invitations/{email} |
| IssueLink | The IssueLink entity (remove). | /api/v4/projects/{id}/issues/{issue_iid}/links/{issue_link_id} |
| IssuesStatistic | The IssuesStatistic entity (load). | /api/v4/issues_statistics |
| Job | The Job entity (create, load, patch, update). | /api/v4/jobs/{id}/artifacts |
| MavenPackage | The MavenPackage entity (load, update). | /api/v4/groups/{id}/-/packages/maven/*path/{file_name} |
| Member | The Member entity (remove). | /api/v4/groups/{id}/members/{user_id} |
| MergeRequest | The MergeRequest entity (load, remove, update). | /api/v4/projects/{id}/merge_requests/{merge_request_iid}/related_issues |
| Metadata | The Metadata entity (load). | /api/v4/metadata |
| Migration | The Migration entity (create). | /api/v4/admin/migrations/{timestamp}/mark |
| MlModelRegistry | The MlModelRegistry entity (load, update). | /api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/(*path/){file_name} |
| Namespace | The Namespace entity (remove). | /api/v4/namespaces/{id}/storage/limit_exclusion |
| Npm | The Npm entity (update). | /api/v4/projects/{id}/packages/npm/{package_name} |
| NpmPackage | The NpmPackage entity (create, load, remove, update). | /api/v4/groups/{id}/-/packages/npm/-/npm/v1/security/advisories/bulk |
| Nuget | The Nuget entity (update). | /api/v4/projects/{id}/packages/nuget |
| NugetPackage | The NugetPackage entity (list, load, remove, update). | /api/v4/groups/{id}/-/packages/nuget/metadata/*package_name/index |
| PackageFile | The PackageFile entity (load, remove). | /api/v4/projects/{id}/packages/{package_id}/package_files/{package_file_id}/download |
| Page | The Page entity (load, remove, update). | /api/v4/projects/{id}/pages |
| Participant | The Participant entity (list). | /api/v4/projects/{id}/issues/{issue_iid}/participants |
| PersonalAccessToken | The PersonalAccessToken entity (remove). | /api/v4/personal_access_tokens/{id} |
| Project | The Project entity (create, load, remove, update). | /api/v4/projects/{id}/hooks/{hook_id}/events/{hook_log_id}/resend |
| ProjectAvatar | The ProjectAvatar entity (load). | /api/v4/projects/{id}/avatar |
| ProjectEntity | The ProjectEntity entity (create). | /api/v4/import/bitbucket_server |
| ProjectExport | The ProjectExport entity (create, load). | /api/v4/projects/{id}/export |
| ProjectHook | The ProjectHook entity (remove). | /api/v4/projects/{id}/hooks/{hook_id} |
| ProjectImport | The ProjectImport entity (create). | /api/v4/projects/import-relation/authorize |
| ProjectImportEntity | The ProjectImportEntity entity (create). | /api/v4/import/bitbucket |
| ProjectPackage | The ProjectPackage entity (remove). | /api/v4/projects/{id}/packages/{package_id} |
| ProjectSnippet | The ProjectSnippet entity (remove). | /api/v4/projects/{id}/snippets/{snippet_id} |
| ProjectsJobTokenScope | The ProjectsJobTokenScope entity (remove, update). | /api/v4/projects/{id}/job_token_scope/groups_allowlist/{target_group_id} |
| ProtectedTag | The ProtectedTag entity (remove). | /api/v4/projects/{id}/protected_tags/{name} |
| Pypi | The Pypi entity (create). | /api/v4/projects/{id}/packages/pypi |
| PypiPackage | The PypiPackage entity (create, load). | /api/v4/projects/{id}/packages/pypi/authorize |
| Release | The Release entity (load, remove). | /api/v4/projects/{id}/releases/{tag_name}/downloads/*direct_asset_path |
| ReleaseLink | The ReleaseLink entity (remove). | /api/v4/projects/{id}/releases/{tag_name}/assets/links/{link_id} |
| RemoteMirror | The RemoteMirror entity (create, load, remove). | /api/v4/projects/{id}/remote_mirrors/{mirror_id}/sync |
| Rpm | The Rpm entity (create). | /api/v4/projects/{id}/packages/rpm |
| RpmPackage | The RpmPackage entity (create, load). | /api/v4/projects/{id}/packages/rpm/authorize |
| Rubygem | The Rubygem entity (load). | /api/v4/projects/{id}/packages/rubygems/{file_name} |
| RubygemPackage | The RubygemPackage entity (create, load). | /api/v4/projects/{id}/packages/rubygems/api/v1/gems |
| Runner | The Runner entity (create, remove). | /api/v4/runners/verify |
| Search | The Search entity (load). | /api/v4/search |
| SecureFile | The SecureFile entity (load, remove). | /api/v4/projects/{id}/secure_files/{secure_file_id}/download |
| Slack | The Slack entity (create). | /api/v4/slack/trigger |
| Snippet | The Snippet entity (load, remove). | /api/v4/snippets/{id}/files/{ref}/{file_path}/raw |
| Starrer | The Starrer entity (list). | /api/v4/projects/{id}/starrers |
| SystemHook | The SystemHook entity (remove). | /api/v4/hooks/{hook_id} |
| Tag | The Tag entity (remove). | /api/v4/projects/{id}/repository/tags/{tag_name} |
| TerraformRegistry | The TerraformRegistry entity (load, update). | /api/v4/projects/{id}/packages/terraform/modules/{module_name}/{module_system}/*module_version |
| TerraformState | The TerraformState entity (create, load, remove). | /api/v4/projects/{id}/terraform/state/{name}/lock |
| TestReport | The TestReport entity (list). | /api/v4/projects/{id}/pipelines/{pipeline_id}/test_report |
| TestReportSummary | The TestReportSummary entity (load). | /api/v4/projects/{id}/pipelines/{pipeline_id}/test_report_summary |
| Topic | The Topic entity (remove). | /api/v4/topics/{id} |
| UnleashApi | The UnleashApi entity (load). | /api/v4/feature_flags/unleash/{project_id}/features |
| UsageData | The UsageData entity (create, load). | /api/v4/usage_data/increment_counter |
| User | The User entity (list). | /api/v4/projects/{id}/users |
| WebCommit | The WebCommit entity (load). | /api/v4/web_commits/public_key |
| Wiki | The Wiki entity (remove). | /api/v4/groups/{id}/wikis/{slug} |
The operations available across these entities are load, list, create, update, remove — see each entity’s own list above for exactly which it supports.
Quickstart in other languages
Python
import os
from gitlab_sdk import GitlabSDK
client = GitlabSDK({
"apikey": os.environ.get("GITLAB_APIKEY"),
})
Golang
import sdk "github.com/voxgig-sdk/gitlab-sdk/go"
client := sdk.NewGitlabSDK(map[string]any{
"apikey": os.Getenv("GITLAB_APIKEY"),
})
// Load a specific apientitiesbranch
apiEntitiesBranch, err := client.ApiEntitiesBranch(nil).Load(
map[string]any{"project_id": "example_project_id", "id": "example_id"}, nil,
)
if err != nil {
panic(err)
}
fmt.Println(apiEntitiesBranch)
Ruby
require_relative "Gitlab_sdk"
client = GitlabSDK.new({
"apikey" => ENV["GITLAB_APIKEY"],
})
Direct and prepare
For endpoints the entity model doesn’t cover, use the low-level methods:
direct(fetchargs)— build and send an HTTP request in one step.prepare(fetchargs)— build the request without sending it.
Both accept a map with path, method, params, query,
headers, and body. See the How-to guides below.
How-to guides
Make a direct API call
When the entity interface does not cover an endpoint, use direct:
TypeScript:
const result = await client.direct({
path: '/api/resource/{id}',
method: 'GET',
params: { id: 'example' },
})
if (result instanceof Error) {
throw result
}
console.log(result.data)
Python:
result = client.direct({
"path": "/api/resource/{id}",
"method": "GET",
"params": {"id": "example"},
})
Go:
result, err := client.Direct(map[string]any{
"path": "/api/resource/{id}",
"method": "GET",
"params": map[string]any{"id": "example"},
})
if err != nil {
panic(err)
}
fmt.Println(result)
Ruby:
result = client.direct({
"path" => "/api/resource/{id}",
"method" => "GET",
"params" => { "id" => "example" },
})
Advanced
Everyday use only needs the sections above. This explains the internals behind every call — relevant when writing custom features.
Every SDK call runs the same five-stage pipeline:
- Point — resolve the API endpoint from the operation definition.
- Spec — build the HTTP specification (URL, method, headers, body).
- Request — send the HTTP request.
- Response — receive and parse the response.
- Result — extract the result data for the caller.
A feature hook fires at each stage (e.g. PrePoint, PreSpec,
PreRequest), so features can inspect or modify the pipeline without
forking the SDK.
Features
| Feature | Purpose |
|---|---|
| TestFeature | In-memory mock transport for testing without a live server |
Pass custom features via the extend option at construction time.
Per-language documentation
Upstream API
This SDK is generated from the upstream OpenAPI specification. It is an unofficial client and is not affiliated with the API provider.
- Upstream API: https://gitlab.com
Security
Please report security issues to security@voxgig.com. See SECURITY.md. Do not open public issues for suspected vulnerabilities.
Generated from the GitLab API OpenAPI spec by @voxgig/sdkgen.