# Connectors

This contains APIs related to Connectors as defined in Harness

## Fetches the list of CCM K8S Connectors corresponding to the request's filter criteria.

 - [POST /ng/api/connectors/ccmK8sList](https://apidocs.harness.io/connectors/getccmk8sconnectorlist.md)

## Update a Connector

 - [PUT /ng/api/connectors](https://apidocs.harness.io/connectors/updateconnector.md): Updates a Connector for the given ID.

## Create a Connector

 - [POST /ng/api/connectors](https://apidocs.harness.io/connectors/createconnector.md): Creates a new Harness Connector.

## Return Connector details

 - [GET /ng/api/connectors/{identifier}](https://apidocs.harness.io/connectors/getconnector.md): Returns the Connector's details for the given Account and Connector ID.

## Delete a Connector

 - [DELETE /ng/api/connectors/{identifier}](https://apidocs.harness.io/connectors/deleteconnector.md): Deletes a Connector for the given ID.

## List all the configured field values for the given Connector type.

 - [GET /ng/api/connectors/fieldValues](https://apidocs.harness.io/connectors/getallallowedfieldvalues.md): Returns all the configured field values for the given Connector type, which can be used during connector creation.

## Lists all Connectors for an account

 - [GET /ng/api/connectors/catalogue](https://apidocs.harness.io/connectors/getconnectorcatalogue.md): Lists all the Connectors for the given Account ID.

## Gets the connector's statistics by Account Identifier, Project Identifier and Organization Identifier

 - [GET /ng/api/connectors/stats](https://apidocs.harness.io/connectors/getconnectorstatistics.md)

## Get list of GCP Projects

 - [GET /ng/api/connectors/{connectorRef}/gcp-projects](https://apidocs.harness.io/connectors/getgcpprojects.md): Returns the list of GCP project IDs that the connector has access to.

## Fetches the list of Connectors corresponding to the request's filter criteria.

 - [POST /ng/api/connectors/listV2](https://apidocs.harness.io/connectors/getconnectorlistv2.md)

## Get list of Connectors by FQN

 - [POST /ng/api/connectors/listbyfqn](https://apidocs.harness.io/connectors/listconnectorbyfqn.md): Lists all Connectors for an Account by Fully Qualified Name (FQN) with a limit of max 1000 FQNs per request.

## Test Harness Connector connection with third-party tool

 - [POST /ng/api/connectors/testConnection/{identifier}](https://apidocs.harness.io/connectors/gettestconnectionresult.md): Tests if a Harness Connector can successfully connect Harness to a third-party tool.

## Test Git Connector sync with repo

 - [POST /ng/api/connectors/testGitRepoConnection/{identifier}](https://apidocs.harness.io/connectors/gettestgitrepoconnectionresult.md): Tests if a Git Repo Connector can successfully connect Harness to a Git provider.

## Test a Harness Connector

 - [GET /ng/api/connectors/validateUniqueIdentifier](https://apidocs.harness.io/connectors/validatetheidentifierisunique.md): Tests if a Connector can successfully connect Harness to a third-party tool using the an Account and Connector ID.

## List all Connectors using filters (deprecated)

 - [GET /ng/api/connectors](https://apidocs.harness.io/connectors/getconnectorlist.md): Lists all the Connectors matching the specified filters.

## Get the Template URL of connector (deprecated)

 - [POST /ng/api/connectors/getceawstemplateurl](https://apidocs.harness.io/connectors/getceawstemplate.md)

