How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GoHarbor Project API

The project API from GoHarbor — 9 operation(s) for project.

GoHarbor Project API is one of 38 APIs that GoHarbor publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Project. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 14 operations across 9 paths, and defines 32 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against 2 base URLs: http://localhost/api/v2.0, https://localhost/api/v2.0.

14 operations 9 paths 32 schemas 1 DELETE9 GET1 HEAD1 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Base URL
https://{host}/api/v2.0
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

GoHarbor Project API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basic). By default, every request must be authenticated, though some operations may also be called without credentials.

Paths & Operations 14

Across 9 paths, the API surfaces 14 operations — 1 DELETE, 9 GET, 1 HEAD, 1 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Project 14
GET
/projects
List projects
listProjects 9 params → 200400401422500
HEAD
/projects
Check if the project name user provided already exists
headProject 2 params → 200400404500
POST
/projects
Create a new project
createProject 2 params body → 201400401409500
GET
/projects/{project_name_or_id}
Return specific project detail information
getProject 3 params → 200401403404500
PUT
/projects/{project_name_or_id}
Update properties for a selected project
updateProject 3 params body → 200400401403404500
DELETE
/projects/{project_name_or_id}
Delete project by projectID
deleteProject 3 params → 200400403404412500
GET
/projects/{project_name_or_id}/_deletable
Get the deletable status of the project
getProjectDeletable 3 params → 200401403404500
GET
/projects/{project_name_or_id}/summary
Get summary of the project
getProjectSummary 3 params → 200400401403404500
GET
/projects/{project_name_or_id}/artifacts
List artifacts
listArtifactsOfProject 16 params → 200400401403404422500
GET
/projects/{project_name_or_id}/scanner
Get project level scanner
getScannerOfProject 3 params → 200400401403404500
PUT
/projects/{project_name_or_id}/scanner
Configure scanner for the specified project
setScannerOfProject 3 params body → 200400401403404500
GET
/projects/{project_name_or_id}/scanner/candidates
Get scanner registration candidates for configurating project level scanner
listScannerCandidatesOfProject 7 params → 200400401403500
GET
/projects/{project_name}/logs
Get recent logs of the projects (deprecated)
getLogs 6 params → 200400401500
GET
/projects/{project_name}/auditlog-exts
Get recent logs of the projects
getLogExts 6 params → 200400401500

Schemas 32

The contract defines 32 schemas that model the data the API accepts and returns. The most detailed are Artifact (23 properties), ScannerRegistration (17 properties), ProjectMetadata (15 properties), Project (14 properties). Each schema is shown below with its type and property counts.

Tag
object
7 properties
Scanner
object
3 properties
ProjectSummaryQuota
object
2 properties
ResourceList
object
Errors
object
The error array that describe the errors got during the handling of request
1 property
ProjectDeletable
object
2 properties
ExtraAttrs
object
Platform
object
5 properties
SBOMOverview
object
The generate SBOM overview information
7 properties
AdditionLink
object
2 properties
Error
object
a model for all the error response coming from harbor
2 properties
CVEAllowlistItem
object
The item in CVE allowlist
1 property
RegistryCredential
object
3 properties
AuditLogExt
object
8 properties
CVEAllowlist
object
The CVE Allowlist for system or project
6 properties
Registry
object
11 properties
ScannerRegistration
object
Registration represents a named configuration for invoking a scanner via its adapter.
17 properties
Accessory
object
The accessory of the artifact
10 properties
Label
object
8 properties
NativeReportSummary
object
The summary for the native report
9 properties
AuditLog
object
6 properties
ProjectReq
object
6 properties
ScanOverview
object
The scan overview attached in the metadata of tag
Annotations
object
ProjectScanner
object
1 property 1 required
Artifact
object
23 properties
Project
object
14 properties
ProjectSummary
object
8 properties
AdditionLinks
object
VulnerabilitySummary
object
VulnerabilitySummary contains the total number of the foun d vulnerabilities number and numbers of each severity level.
3 properties
ProjectMetadata
object
15 properties
Reference
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

goharbor-project-api-openapi.yml Raw ↑

Other APIs GoHarbor publishes across the network.

GoHarbor Health API
GoHarbor Replication API
GoHarbor Scan API
GoHarbor Search API
GoHarbor Artifact API
GoHarbor Configure API
GoHarbor Gc API
GoHarbor Icon API
GoHarbor Immutable API
GoHarbor Label API
GoHarbor Ldap API
GoHarbor Member API
Where this information came from

This is an independent, third-party profile of GoHarbor Project API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.