# harbor-java-client **Repository Path**: abigdreamer/harbor-java-client ## Basic Information - **Project Name**: harbor-java-client - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-16 - **Last Updated**: 2025-01-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # harbor-java-client(Unofficial) Harbor API - API version: 1.7.0 - Build date: 2019-05-14T14:29:11.153+08:00[Asia/Shanghai] These APIs provide services for manipulating Harbor project. *Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)* ## Requirements Building the API client library requires: 1. Java 1.7+ 2. Maven/Gradle ## Installation To install the API client library to your local Maven repository, simply execute: ```shell mvn clean install ``` To deploy it to a remote Maven repository instead, configure the settings of the repository and execute: ```shell mvn clean deploy ``` Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information. ### Maven users Add this dependency to your project's POM: ```xml com.imwyh harbor-java-client 0.0.1 compile ``` ### Gradle users Add this dependency to your project's build file: ```groovy compile "com.imwyh:harbor-java-client:0.0.1" ``` ### Others At first generate the JAR by executing: ```shell mvn clean package ``` Then manually install the following JARs: * `target/harbor-java-client-0.0.1.jar` * `target/lib/*.jar` ## Getting Started Please follow the [installation](#installation) instruction and execute the following Java code: ```java import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); File chart = new File("chart_example"); // File | File prov = new File("prov_example"); // File | try { apiInstance.chartrepoChartsPost(chart, prov); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartrepoChartsPost"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); try { Object result = apiInstance.chartrepoHealthGet(); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartrepoHealthGet"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); String repo = "repo_example"; // String | The project name try { List result = apiInstance.chartrepoRepoChartsGet(repo); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartrepoRepoChartsGet"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); String repo = "repo_example"; // String | The project name String name = "name_example"; // String | The chart name try { apiInstance.chartrepoRepoChartsNameDelete(repo, name); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartrepoRepoChartsNameDelete"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); String repo = "repo_example"; // String | The project name String name = "name_example"; // String | The chart name try { apiInstance.chartrepoRepoChartsNameGet(repo, name); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartrepoRepoChartsNameGet"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); String repo = "repo_example"; // String | The project name String name = "name_example"; // String | The chart name String version = "version_example"; // String | The chart version try { apiInstance.chartrepoRepoChartsNameVersionDelete(repo, name, version); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartrepoRepoChartsNameVersionDelete"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); String repo = "repo_example"; // String | The project name String name = "name_example"; // String | The chart name String version = "version_example"; // String | The chart version try { apiInstance.chartrepoRepoChartsNameVersionGet(repo, name, version); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartrepoRepoChartsNameVersionGet"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); String repo = "repo_example"; // String | The project name File chart = new File("chart_example"); // File | File prov = new File("prov_example"); // File | try { apiInstance.chartrepoRepoChartsPost(repo, chart, prov); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartrepoRepoChartsPost"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); String repo = "repo_example"; // String | The project name File prov = new File("prov_example"); // File | try { apiInstance.chartrepoRepoProvPost(repo, prov); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartrepoRepoProvPost"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); String repo = "repo_example"; // String | The project name String name = "name_example"; // String | The chart name String version = "version_example"; // String | The chart version try { apiInstance.chartreporepoChartsnameversionLabelsGet(repo, name, version); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartreporepoChartsnameversionLabelsGet"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); Label body = new Label(); // Label | The label being marked to the chart version String repo = "repo_example"; // String | The project name String name = "name_example"; // String | The chart name String version = "version_example"; // String | The chart version try { apiInstance.chartreporepoChartsnameversionLabelsPost(body, repo, name, version); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartreporepoChartsnameversionLabelsPost"); e.printStackTrace(); } } } import com.imwyh.harbor.client.*; import com.imwyh.harbor.client.auth.*; import com.imwyh.harbor.client.model.*; import com.imwyh.harbor.client.api.ChartRepositoryApi; import java.io.File; import java.util.*; public class ChartRepositoryApiExample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: basicAuth HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth"); basicAuth.setUsername("YOUR USERNAME"); basicAuth.setPassword("YOUR PASSWORD"); ChartRepositoryApi apiInstance = new ChartRepositoryApi(); String repo = "repo_example"; // String | The project name String name = "name_example"; // String | The chart name String version = "version_example"; // String | The chart version Integer id = 56; // Integer | The label ID try { apiInstance.chartreporepoChartsnameversionLabelsidDelete(repo, name, version, id); } catch (ApiException e) { System.err.println("Exception when calling ChartRepositoryApi#chartreporepoChartsnameversionLabelsidDelete"); e.printStackTrace(); } } } ``` ## Documentation for API Endpoints All URIs are relative to *http://localhost/api* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *ChartRepositoryApi* | [**chartrepoChartsPost**](docs/ChartRepositoryApi.md#chartrepoChartsPost) | **POST** /chartrepo/charts | Upload a chart file to the defult 'library' project. *ChartRepositoryApi* | [**chartrepoHealthGet**](docs/ChartRepositoryApi.md#chartrepoHealthGet) | **GET** /chartrepo/health | Check the health of chart repository service. *ChartRepositoryApi* | [**chartrepoRepoChartsGet**](docs/ChartRepositoryApi.md#chartrepoRepoChartsGet) | **GET** /chartrepo/{repo}/charts | Get all the charts under the specified project *ChartRepositoryApi* | [**chartrepoRepoChartsNameDelete**](docs/ChartRepositoryApi.md#chartrepoRepoChartsNameDelete) | **DELETE** /chartrepo/{repo}/charts/{name} | Delete all the versions of the specified chart *ChartRepositoryApi* | [**chartrepoRepoChartsNameGet**](docs/ChartRepositoryApi.md#chartrepoRepoChartsNameGet) | **GET** /chartrepo/{repo}/charts/{name} | Get all the versions of the specified chart *ChartRepositoryApi* | [**chartrepoRepoChartsNameVersionDelete**](docs/ChartRepositoryApi.md#chartrepoRepoChartsNameVersionDelete) | **DELETE** /chartrepo/{repo}/charts/{name}/{version} | Delete the specified chart version *ChartRepositoryApi* | [**chartrepoRepoChartsNameVersionGet**](docs/ChartRepositoryApi.md#chartrepoRepoChartsNameVersionGet) | **GET** /chartrepo/{repo}/charts/{name}/{version} | Get the specified chart version *ChartRepositoryApi* | [**chartrepoRepoChartsPost**](docs/ChartRepositoryApi.md#chartrepoRepoChartsPost) | **POST** /chartrepo/{repo}/charts | Upload a chart file to the specified project. *ChartRepositoryApi* | [**chartrepoRepoProvPost**](docs/ChartRepositoryApi.md#chartrepoRepoProvPost) | **POST** /chartrepo/{repo}/prov | Upload a provance file to the specified project. *ChartRepositoryApi* | [**chartreporepoChartsnameversionLabelsGet**](docs/ChartRepositoryApi.md#chartreporepoChartsnameversionLabelsGet) | **GET** /chartrepo/:repo/charts/:name/:version/labels | Return the attahced labels of chart. *ChartRepositoryApi* | [**chartreporepoChartsnameversionLabelsPost**](docs/ChartRepositoryApi.md#chartreporepoChartsnameversionLabelsPost) | **POST** /chartrepo/:repo/charts/:name/:version/labels | Mark label to chart. *ChartRepositoryApi* | [**chartreporepoChartsnameversionLabelsidDelete**](docs/ChartRepositoryApi.md#chartreporepoChartsnameversionLabelsidDelete) | **DELETE** /chartrepo/:repo/charts/:name/:version/labels/:id | Remove label from chart. *LabelApi* | [**chartreporepoChartsnameversionLabelsGet**](docs/LabelApi.md#chartreporepoChartsnameversionLabelsGet) | **GET** /chartrepo/:repo/charts/:name/:version/labels | Return the attahced labels of chart. *LabelApi* | [**chartreporepoChartsnameversionLabelsPost**](docs/LabelApi.md#chartreporepoChartsnameversionLabelsPost) | **POST** /chartrepo/:repo/charts/:name/:version/labels | Mark label to chart. *LabelApi* | [**chartreporepoChartsnameversionLabelsidDelete**](docs/LabelApi.md#chartreporepoChartsnameversionLabelsidDelete) | **DELETE** /chartrepo/:repo/charts/:name/:version/labels/:id | Remove label from chart. *ProductsApi* | [**chartrepoChartsPost**](docs/ProductsApi.md#chartrepoChartsPost) | **POST** /chartrepo/charts | Upload a chart file to the defult 'library' project. *ProductsApi* | [**chartrepoHealthGet**](docs/ProductsApi.md#chartrepoHealthGet) | **GET** /chartrepo/health | Check the health of chart repository service. *ProductsApi* | [**chartrepoRepoChartsGet**](docs/ProductsApi.md#chartrepoRepoChartsGet) | **GET** /chartrepo/{repo}/charts | Get all the charts under the specified project *ProductsApi* | [**chartrepoRepoChartsNameDelete**](docs/ProductsApi.md#chartrepoRepoChartsNameDelete) | **DELETE** /chartrepo/{repo}/charts/{name} | Delete all the versions of the specified chart *ProductsApi* | [**chartrepoRepoChartsNameGet**](docs/ProductsApi.md#chartrepoRepoChartsNameGet) | **GET** /chartrepo/{repo}/charts/{name} | Get all the versions of the specified chart *ProductsApi* | [**chartrepoRepoChartsNameVersionDelete**](docs/ProductsApi.md#chartrepoRepoChartsNameVersionDelete) | **DELETE** /chartrepo/{repo}/charts/{name}/{version} | Delete the specified chart version *ProductsApi* | [**chartrepoRepoChartsNameVersionGet**](docs/ProductsApi.md#chartrepoRepoChartsNameVersionGet) | **GET** /chartrepo/{repo}/charts/{name}/{version} | Get the specified chart version *ProductsApi* | [**chartrepoRepoChartsPost**](docs/ProductsApi.md#chartrepoRepoChartsPost) | **POST** /chartrepo/{repo}/charts | Upload a chart file to the specified project. *ProductsApi* | [**chartrepoRepoProvPost**](docs/ProductsApi.md#chartrepoRepoProvPost) | **POST** /chartrepo/{repo}/prov | Upload a provance file to the specified project. *ProductsApi* | [**chartreporepoChartsnameversionLabelsGet**](docs/ProductsApi.md#chartreporepoChartsnameversionLabelsGet) | **GET** /chartrepo/:repo/charts/:name/:version/labels | Return the attahced labels of chart. *ProductsApi* | [**chartreporepoChartsnameversionLabelsPost**](docs/ProductsApi.md#chartreporepoChartsnameversionLabelsPost) | **POST** /chartrepo/:repo/charts/:name/:version/labels | Mark label to chart. *ProductsApi* | [**chartreporepoChartsnameversionLabelsidDelete**](docs/ProductsApi.md#chartreporepoChartsnameversionLabelsidDelete) | **DELETE** /chartrepo/:repo/charts/:name/:version/labels/:id | Remove label from chart. *ProductsApi* | [**configurationsGet**](docs/ProductsApi.md#configurationsGet) | **GET** /configurations | Get system configurations. *ProductsApi* | [**configurationsPut**](docs/ProductsApi.md#configurationsPut) | **PUT** /configurations | Modify system configurations. *ProductsApi* | [**configurationsResetPost**](docs/ProductsApi.md#configurationsResetPost) | **POST** /configurations/reset | Reset system configurations. *ProductsApi* | [**emailPingPost**](docs/ProductsApi.md#emailPingPost) | **POST** /email/ping | Test connection and authentication with email server. *ProductsApi* | [**internalSyncregistryPost**](docs/ProductsApi.md#internalSyncregistryPost) | **POST** /internal/syncregistry | Sync repositories from registry to DB. *ProductsApi* | [**jobsReplicationGet**](docs/ProductsApi.md#jobsReplicationGet) | **GET** /jobs/replication | List filters jobs according to the policy and repository *ProductsApi* | [**jobsReplicationIdDelete**](docs/ProductsApi.md#jobsReplicationIdDelete) | **DELETE** /jobs/replication/{id} | Delete specific ID job. *ProductsApi* | [**jobsReplicationIdLogGet**](docs/ProductsApi.md#jobsReplicationIdLogGet) | **GET** /jobs/replication/{id}/log | Get job logs. *ProductsApi* | [**jobsReplicationPut**](docs/ProductsApi.md#jobsReplicationPut) | **PUT** /jobs/replication | Update status of jobs. Only stop is supported for now. *ProductsApi* | [**jobsScanIdLogGet**](docs/ProductsApi.md#jobsScanIdLogGet) | **GET** /jobs/scan/{id}/log | Get job logs. *ProductsApi* | [**labelsGet**](docs/ProductsApi.md#labelsGet) | **GET** /labels | List labels according to the query strings. *ProductsApi* | [**labelsIdDelete**](docs/ProductsApi.md#labelsIdDelete) | **DELETE** /labels/{id} | Delete the label specified by ID. *ProductsApi* | [**labelsIdGet**](docs/ProductsApi.md#labelsIdGet) | **GET** /labels/{id} | Get the label specified by ID. *ProductsApi* | [**labelsIdPut**](docs/ProductsApi.md#labelsIdPut) | **PUT** /labels/{id} | Update the label properties. *ProductsApi* | [**labelsIdResourcesGet**](docs/ProductsApi.md#labelsIdResourcesGet) | **GET** /labels/{id}/resources | Get the resources that the label is referenced by. *ProductsApi* | [**labelsPost**](docs/ProductsApi.md#labelsPost) | **POST** /labels | Post creates a label *ProductsApi* | [**ldapGroupsSearchGet**](docs/ProductsApi.md#ldapGroupsSearchGet) | **GET** /ldap/groups/search | Search available ldap groups. *ProductsApi* | [**ldapPingPost**](docs/ProductsApi.md#ldapPingPost) | **POST** /ldap/ping | Ping available ldap service. *ProductsApi* | [**ldapUsersImportPost**](docs/ProductsApi.md#ldapUsersImportPost) | **POST** /ldap/users/import | Import selected available ldap users. *ProductsApi* | [**ldapUsersSearchGet**](docs/ProductsApi.md#ldapUsersSearchGet) | **GET** /ldap/users/search | Search available ldap users. *ProductsApi* | [**logsGet**](docs/ProductsApi.md#logsGet) | **GET** /logs | Get recent logs of the projects which the user is a member of *ProductsApi* | [**policiesReplicationGet**](docs/ProductsApi.md#policiesReplicationGet) | **GET** /policies/replication | List filters policies by name and project_id *ProductsApi* | [**policiesReplicationIdDelete**](docs/ProductsApi.md#policiesReplicationIdDelete) | **DELETE** /policies/replication/{id} | Delete the replication policy specified by ID. *ProductsApi* | [**policiesReplicationIdGet**](docs/ProductsApi.md#policiesReplicationIdGet) | **GET** /policies/replication/{id} | Get replication policy. *ProductsApi* | [**policiesReplicationIdPut**](docs/ProductsApi.md#policiesReplicationIdPut) | **PUT** /policies/replication/{id} | Put modifies name, description, target and enablement of policy. *ProductsApi* | [**policiesReplicationPost**](docs/ProductsApi.md#policiesReplicationPost) | **POST** /policies/replication | Post creates a policy *ProductsApi* | [**projectsGet**](docs/ProductsApi.md#projectsGet) | **GET** /projects | List projects *ProductsApi* | [**projectsHead**](docs/ProductsApi.md#projectsHead) | **HEAD** /projects | Check if the project name user provided already exists. *ProductsApi* | [**projectsPost**](docs/ProductsApi.md#projectsPost) | **POST** /projects | Create a new project. *ProductsApi* | [**projectsProjectIdDelete**](docs/ProductsApi.md#projectsProjectIdDelete) | **DELETE** /projects/{project_id} | Delete project by projectID *ProductsApi* | [**projectsProjectIdGet**](docs/ProductsApi.md#projectsProjectIdGet) | **GET** /projects/{project_id} | Return specific project detail infomation *ProductsApi* | [**projectsProjectIdLogsGet**](docs/ProductsApi.md#projectsProjectIdLogsGet) | **GET** /projects/{project_id}/logs | Get access logs accompany with a relevant project. *ProductsApi* | [**projectsProjectIdMembersGet**](docs/ProductsApi.md#projectsProjectIdMembersGet) | **GET** /projects/{project_id}/members | Get all project member information *ProductsApi* | [**projectsProjectIdMembersMidDelete**](docs/ProductsApi.md#projectsProjectIdMembersMidDelete) | **DELETE** /projects/{project_id}/members/{mid} | Delete project member *ProductsApi* | [**projectsProjectIdMembersMidGet**](docs/ProductsApi.md#projectsProjectIdMembersMidGet) | **GET** /projects/{project_id}/members/{mid} | Get the project member information *ProductsApi* | [**projectsProjectIdMembersMidPut**](docs/ProductsApi.md#projectsProjectIdMembersMidPut) | **PUT** /projects/{project_id}/members/{mid} | Update project member *ProductsApi* | [**projectsProjectIdMembersPost**](docs/ProductsApi.md#projectsProjectIdMembersPost) | **POST** /projects/{project_id}/members | Create project member *ProductsApi* | [**projectsProjectIdMetadatasGet**](docs/ProductsApi.md#projectsProjectIdMetadatasGet) | **GET** /projects/{project_id}/metadatas | Get project metadata. *ProductsApi* | [**projectsProjectIdMetadatasMetaNameDelete**](docs/ProductsApi.md#projectsProjectIdMetadatasMetaNameDelete) | **DELETE** /projects/{project_id}/metadatas/{meta_name} | Delete metadata of a project *ProductsApi* | [**projectsProjectIdMetadatasMetaNameGet**](docs/ProductsApi.md#projectsProjectIdMetadatasMetaNameGet) | **GET** /projects/{project_id}/metadatas/{meta_name} | Get project metadata *ProductsApi* | [**projectsProjectIdMetadatasMetaNamePut**](docs/ProductsApi.md#projectsProjectIdMetadatasMetaNamePut) | **PUT** /projects/{project_id}/metadatas/{meta_name} | Update metadata of a project. *ProductsApi* | [**projectsProjectIdMetadatasPost**](docs/ProductsApi.md#projectsProjectIdMetadatasPost) | **POST** /projects/{project_id}/metadatas | Add metadata for the project. *ProductsApi* | [**projectsProjectIdPut**](docs/ProductsApi.md#projectsProjectIdPut) | **PUT** /projects/{project_id} | Update properties for a selected project. *ProductsApi* | [**replicationsPost**](docs/ProductsApi.md#replicationsPost) | **POST** /replications | Trigger the replication according to the specified policy. *ProductsApi* | [**repositoriesGet**](docs/ProductsApi.md#repositoriesGet) | **GET** /repositories | Get repositories accompany with relevant project and repo name. *ProductsApi* | [**repositoriesRepoNameDelete**](docs/ProductsApi.md#repositoriesRepoNameDelete) | **DELETE** /repositories/{repo_name} | Delete a repository. *ProductsApi* | [**repositoriesRepoNameLabelsGet**](docs/ProductsApi.md#repositoriesRepoNameLabelsGet) | **GET** /repositories/{repo_name}/labels | Get labels of a repository. *ProductsApi* | [**repositoriesRepoNameLabelsLabelIdDelete**](docs/ProductsApi.md#repositoriesRepoNameLabelsLabelIdDelete) | **DELETE** /repositories/{repo_name}/labels/{label_id} | Delete label from the repository. *ProductsApi* | [**repositoriesRepoNameLabelsPost**](docs/ProductsApi.md#repositoriesRepoNameLabelsPost) | **POST** /repositories/{repo_name}/labels | Add a label to the repository. *ProductsApi* | [**repositoriesRepoNamePut**](docs/ProductsApi.md#repositoriesRepoNamePut) | **PUT** /repositories/{repo_name} | Update description of the repository. *ProductsApi* | [**repositoriesRepoNameSignaturesGet**](docs/ProductsApi.md#repositoriesRepoNameSignaturesGet) | **GET** /repositories/{repo_name}/signatures | Get signature information of a repository *ProductsApi* | [**repositoriesRepoNameTagsGet**](docs/ProductsApi.md#repositoriesRepoNameTagsGet) | **GET** /repositories/{repo_name}/tags | Get tags of a relevant repository. *ProductsApi* | [**repositoriesRepoNameTagsPost**](docs/ProductsApi.md#repositoriesRepoNameTagsPost) | **POST** /repositories/{repo_name}/tags | Retag an image *ProductsApi* | [**repositoriesRepoNameTagsTagDelete**](docs/ProductsApi.md#repositoriesRepoNameTagsTagDelete) | **DELETE** /repositories/{repo_name}/tags/{tag} | Delete a tag in a repository. *ProductsApi* | [**repositoriesRepoNameTagsTagGet**](docs/ProductsApi.md#repositoriesRepoNameTagsTagGet) | **GET** /repositories/{repo_name}/tags/{tag} | Get the tag of the repository. *ProductsApi* | [**repositoriesRepoNameTagsTagLabelsGet**](docs/ProductsApi.md#repositoriesRepoNameTagsTagLabelsGet) | **GET** /repositories/{repo_name}/tags/{tag}/labels | Get labels of an image. *ProductsApi* | [**repositoriesRepoNameTagsTagLabelsLabelIdDelete**](docs/ProductsApi.md#repositoriesRepoNameTagsTagLabelsLabelIdDelete) | **DELETE** /repositories/{repo_name}/tags/{tag}/labels/{label_id} | Delete label from the image. *ProductsApi* | [**repositoriesRepoNameTagsTagLabelsPost**](docs/ProductsApi.md#repositoriesRepoNameTagsTagLabelsPost) | **POST** /repositories/{repo_name}/tags/{tag}/labels | Add a label to image. *ProductsApi* | [**repositoriesRepoNameTagsTagManifestGet**](docs/ProductsApi.md#repositoriesRepoNameTagsTagManifestGet) | **GET** /repositories/{repo_name}/tags/{tag}/manifest | Get manifests of a relevant repository. *ProductsApi* | [**repositoriesRepoNameTagsTagScanPost**](docs/ProductsApi.md#repositoriesRepoNameTagsTagScanPost) | **POST** /repositories/{repo_name}/tags/{tag}/scan | Scan the image. *ProductsApi* | [**repositoriesRepoNameTagsTagVulnerabilityDetailsGet**](docs/ProductsApi.md#repositoriesRepoNameTagsTagVulnerabilityDetailsGet) | **GET** /repositories/{repo_name}/tags/{tag}/vulnerability/details | Get vulnerability details of the image. *ProductsApi* | [**repositoriesScanAllPost**](docs/ProductsApi.md#repositoriesScanAllPost) | **POST** /repositories/scanAll | Scan all images of the registry. *ProductsApi* | [**repositoriesTopGet**](docs/ProductsApi.md#repositoriesTopGet) | **GET** /repositories/top | Get public repositories which are accessed most. *ProductsApi* | [**searchGet**](docs/ProductsApi.md#searchGet) | **GET** /search | Search for projects, repositories and helm charts *ProductsApi* | [**statisticsGet**](docs/ProductsApi.md#statisticsGet) | **GET** /statistics | Get projects number and repositories number relevant to the user *ProductsApi* | [**systemGcGet**](docs/ProductsApi.md#systemGcGet) | **GET** /system/gc | Get gc results. *ProductsApi* | [**systemGcIdGet**](docs/ProductsApi.md#systemGcIdGet) | **GET** /system/gc/{id} | Get gc status. *ProductsApi* | [**systemGcIdLogGet**](docs/ProductsApi.md#systemGcIdLogGet) | **GET** /system/gc/{id}/log | Get gc job log. *ProductsApi* | [**systemGcScheduleGet**](docs/ProductsApi.md#systemGcScheduleGet) | **GET** /system/gc/schedule | Get gc's schedule. *ProductsApi* | [**systemGcSchedulePost**](docs/ProductsApi.md#systemGcSchedulePost) | **POST** /system/gc/schedule | Create a gc schedule. *ProductsApi* | [**systemGcSchedulePut**](docs/ProductsApi.md#systemGcSchedulePut) | **PUT** /system/gc/schedule | Update gc's schedule. *ProductsApi* | [**systeminfoGet**](docs/ProductsApi.md#systeminfoGet) | **GET** /systeminfo | Get general system info *ProductsApi* | [**systeminfoGetcertGet**](docs/ProductsApi.md#systeminfoGetcertGet) | **GET** /systeminfo/getcert | Get default root certificate. *ProductsApi* | [**systeminfoVolumesGet**](docs/ProductsApi.md#systeminfoVolumesGet) | **GET** /systeminfo/volumes | Get system volume info (total/free size). *ProductsApi* | [**targetsGet**](docs/ProductsApi.md#targetsGet) | **GET** /targets | List filters targets by name. *ProductsApi* | [**targetsIdDelete**](docs/ProductsApi.md#targetsIdDelete) | **DELETE** /targets/{id} | Delete specific replication's target. *ProductsApi* | [**targetsIdGet**](docs/ProductsApi.md#targetsIdGet) | **GET** /targets/{id} | Get replication's target. *ProductsApi* | [**targetsIdPoliciesGet**](docs/ProductsApi.md#targetsIdPoliciesGet) | **GET** /targets/{id}/policies/ | List the target relevant policies. *ProductsApi* | [**targetsIdPut**](docs/ProductsApi.md#targetsIdPut) | **PUT** /targets/{id} | Update replication's target. *ProductsApi* | [**targetsPingPost**](docs/ProductsApi.md#targetsPingPost) | **POST** /targets/ping | Ping validates target. *ProductsApi* | [**targetsPost**](docs/ProductsApi.md#targetsPost) | **POST** /targets | Create a new replication target. *ProductsApi* | [**usergroupsGet**](docs/ProductsApi.md#usergroupsGet) | **GET** /usergroups | Get all user groups information *ProductsApi* | [**usergroupsGroupIdDelete**](docs/ProductsApi.md#usergroupsGroupIdDelete) | **DELETE** /usergroups/{group_id} | Delete user group *ProductsApi* | [**usergroupsGroupIdGet**](docs/ProductsApi.md#usergroupsGroupIdGet) | **GET** /usergroups/{group_id} | Get user group information *ProductsApi* | [**usergroupsGroupIdPut**](docs/ProductsApi.md#usergroupsGroupIdPut) | **PUT** /usergroups/{group_id} | Update group information *ProductsApi* | [**usergroupsPost**](docs/ProductsApi.md#usergroupsPost) | **POST** /usergroups | Create user group *ProductsApi* | [**usersCurrentGet**](docs/ProductsApi.md#usersCurrentGet) | **GET** /users/current | Get current user info. *ProductsApi* | [**usersGet**](docs/ProductsApi.md#usersGet) | **GET** /users | Get registered users of Harbor. *ProductsApi* | [**usersPost**](docs/ProductsApi.md#usersPost) | **POST** /users | Creates a new user account. *ProductsApi* | [**usersUserIdDelete**](docs/ProductsApi.md#usersUserIdDelete) | **DELETE** /users/{user_id} | Mark a registered user as be removed. *ProductsApi* | [**usersUserIdGet**](docs/ProductsApi.md#usersUserIdGet) | **GET** /users/{user_id} | Get a user's profile. *ProductsApi* | [**usersUserIdPasswordPut**](docs/ProductsApi.md#usersUserIdPasswordPut) | **PUT** /users/{user_id}/password | Change the password on a user that already exists. *ProductsApi* | [**usersUserIdPut**](docs/ProductsApi.md#usersUserIdPut) | **PUT** /users/{user_id} | Update a registered user to change his profile. *ProductsApi* | [**usersUserIdSysadminPut**](docs/ProductsApi.md#usersUserIdSysadminPut) | **PUT** /users/{user_id}/sysadmin | Update a registered user to change to be an administrator of Harbor. ## Documentation for Models - [AccessLog](docs/AccessLog.md) - [BadRequestFormatedError](docs/BadRequestFormatedError.md) - [BoolConfigItem](docs/BoolConfigItem.md) - [ChartAPIError](docs/ChartAPIError.md) - [ChartInfoEntry](docs/ChartInfoEntry.md) - [ChartInfoList](docs/ChartInfoList.md) - [ChartMetadata](docs/ChartMetadata.md) - [ChartVersion](docs/ChartVersion.md) - [ChartVersionDetails](docs/ChartVersionDetails.md) - [ChartVersions](docs/ChartVersions.md) - [ComponentOverviewEntry](docs/ComponentOverviewEntry.md) - [Configurations](docs/Configurations.md) - [ConfigurationsResponse](docs/ConfigurationsResponse.md) - [ConflictFormatedError](docs/ConflictFormatedError.md) - [Dependency](docs/Dependency.md) - [DetailedTag](docs/DetailedTag.md) - [DigitalSignature](docs/DigitalSignature.md) - [EmailServerSetting](docs/EmailServerSetting.md) - [ForbiddenChartAPIError](docs/ForbiddenChartAPIError.md) - [GCResult](docs/GCResult.md) - [GCSchedule](docs/GCSchedule.md) - [GCScheduleSchedule](docs/GCScheduleSchedule.md) - [GeneralInfo](docs/GeneralInfo.md) - [HasAdminRole](docs/HasAdminRole.md) - [InsufficientStorageChartAPIError](docs/InsufficientStorageChartAPIError.md) - [IntegerConfigItem](docs/IntegerConfigItem.md) - [InternalChartAPIError](docs/InternalChartAPIError.md) - [JobStatus](docs/JobStatus.md) - [Label](docs/Label.md) - [Labels](docs/Labels.md) - [LdapConf](docs/LdapConf.md) - [LdapFailedImportUsers](docs/LdapFailedImportUsers.md) - [LdapImportUsers](docs/LdapImportUsers.md) - [LdapUsers](docs/LdapUsers.md) - [Manifest](docs/Manifest.md) - [NotFoundChartAPIError](docs/NotFoundChartAPIError.md) - [Password](docs/Password.md) - [PingTarget](docs/PingTarget.md) - [Project](docs/Project.md) - [ProjectMember](docs/ProjectMember.md) - [ProjectMemberEntity](docs/ProjectMemberEntity.md) - [ProjectMetadata](docs/ProjectMetadata.md) - [ProjectReq](docs/ProjectReq.md) - [PutTarget](docs/PutTarget.md) - [RepFilter](docs/RepFilter.md) - [RepPolicy](docs/RepPolicy.md) - [RepTarget](docs/RepTarget.md) - [RepTargetPost](docs/RepTargetPost.md) - [RepTrigger](docs/RepTrigger.md) - [Replication](docs/Replication.md) - [ReplicationResponse](docs/ReplicationResponse.md) - [RepoSignature](docs/RepoSignature.md) - [Repository](docs/Repository.md) - [RepositoryDescription](docs/RepositoryDescription.md) - [Resource](docs/Resource.md) - [RetagReq](docs/RetagReq.md) - [Role](docs/Role.md) - [RoleParam](docs/RoleParam.md) - [RoleRequest](docs/RoleRequest.md) - [ScheduleParam](docs/ScheduleParam.md) - [Search](docs/Search.md) - [SearchRepository](docs/SearchRepository.md) - [SearchResult](docs/SearchResult.md) - [SecurityReport](docs/SecurityReport.md) - [StatisticMap](docs/StatisticMap.md) - [Storage](docs/Storage.md) - [StringConfigItem](docs/StringConfigItem.md) - [SystemInfo](docs/SystemInfo.md) - [Tags](docs/Tags.md) - [UnauthorizedChartAPIError](docs/UnauthorizedChartAPIError.md) - [UpdateJobs](docs/UpdateJobs.md) - [User](docs/User.md) - [UserEntity](docs/UserEntity.md) - [UserGroup](docs/UserGroup.md) - [UserProfile](docs/UserProfile.md) - [VulnNamespaceTimestamp](docs/VulnNamespaceTimestamp.md) - [VulnerabilityItem](docs/VulnerabilityItem.md) ## Documentation for Authorization Authentication schemes defined for the API: ### basicAuth - **Type**: HTTP basic authentication ## Recommendation It's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues. ## Author