HarborHarbor
DocumentationGuidesPlugins
All plugins

GitLab REST API

GitLab REST API for user, project, and instance inspection

APICategory: devPopularity 56gitlab_rest

GitLab REST API for user, project, and instance inspection

Install

hrbr plugins install gitlab-rest-api

Harbor calls https://gitlab.com (driven by the upstream OpenAPI spec).

Quick start

hrbr exec 'return await gitlab_rest.get({ /* see schema */ })'

Or from a Function:

import { defineOrbitJob } from "@hrbr/orbit";

export default defineOrbitJob({
  name: "gitlab-rest-api-example",
  handler: async (ctx) => {
    return await ctx.plugins.gitlab_rest.list({ limit: 5 });
  },
});

Tools

Tools are generated from the upstream OpenAPI spec. Inspect with:

hrbr plugins tools gitlab-rest-api

Or open the dashboard plugin page for the live tool list.