GitHub · 0.4.0

GitHub REST API

A Dock-hosted GitHub REST API starter integration for Harbor. Importing it creates a local http_api port shell plus a Harbor-safe GitHub action set for bounded authenticated-user reads, explicit repo-scoped reads, and approval-friendly writes such as issues, pull requests, merges, and single-file content updates. Tokens remain local to Harbor Node.

Requires Pro commitsdevelopergithubissuespull-requestsrepositories
Developer Tools Category
24 Action templates
0 Workflow templates
GitHub Publisher

Service Overview

GitHub REST API is the official developer platform rest api from GitHub for repositories, issues, pull requests, branches, commits, and file-content operations. This Hub entry keeps the service explanation, setup links, and Harbor-safe import path together so operators can review the integration before local credentials and policies are applied.

GitHub REST API Service
Developer platform REST API Service type
https://api.github.com/ Base URL

What This Port Does

  • Fetch the authenticated GitHub user profile and list user-scoped repositories, issues, organizations, and notifications.
  • Inspect repository metadata, issues, issue comments, pull requests, branches, commits, comparisons, and file contents with explicit repo-scoped inputs.
  • Create repositories, issues, issue comments, pull requests, merge pull requests, update issues, and write single repository files through approval-friendly Harbor actions.
  • Includes 17 automatic read actions and 7 approval-gated write actions that can be reviewed and enabled selectively.
  • Keeps service credentials local to Harbor Node so approval, execution, and audit stay inside the Harbor ecosystem.

Operator Setup

  • Create or confirm a GitHub account, workspace, or tenant with the API access needed for the actions you plan to enable.
  • Import this Hub entry into Harbor, then verify the service base URL and connection settings before testing actions.
  • Store the required Bearer token locally in Harbor Node using the Authorization header, then review automatic versus approval-required actions before publish.
  • Use the vendor setup guide linked below to create service credentials, scopes, or app registration settings that match your Harbor policy.

Install

Use in Harbor UI or the import-by-URL route.
https://hub.breakwaterharbor.net/p/github/github-rest-api
http_api Local shell
24 Actions
Pro Required tier
Never Secrets imported

Actions

Get Authenticated User JSON

{
  "slug": "get-authenticated-user",
  "label": "Get Authenticated User",
  "description": "Fetch the authenticated GitHub user profile for the local account.",
  "method": "GET",
  "path": "/user",
  "approvalMode": "automatic",
  "requestBodyMode": "none",
  "resultMode": "json_summary"
}