Details of the filters applied
Bad Request
Internal server error
Returns the list of Connectors
{- "connectorNames": [
- "string"
], - "connectorIdentifiers": [
- "string"
], - "description": "string",
- "types": [
- "K8sCluster"
], - "categories": [
- "CLOUD_PROVIDER"
], - "connectivityStatuses": [
- "SUCCESS"
], - "inheritingCredentialsFromDelegate": true,
- "connectorConnectivityModes": [
- "DELEGATE"
], - "tags": {
- "property1": "string",
- "property2": "string"
}, - "filterType": "Connector"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Lists all the Connectors matching the specified filters.
Bad Request
Internal server error
Returns the list of Connectors
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Updates a Connector for the given ID.
This is the updated Connector. Please provide values for all fields, not just the fields you are updating
object (ConnectorInfo) This has the Connector details defined in Harness |
Bad Request
Internal server error
Returns the updated Connector
{- "connector": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "type": "K8sCluster",
- "spec": {
- "connectorType": "string"
}
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Creates a new Harness Connector.
Details of the Connector to create
object (ConnectorInfo) This has the Connector details defined in Harness |
Bad Request
Internal server error
Returns created Connector
{- "connector": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "type": "K8sCluster",
- "spec": {
- "connectorType": "string"
}
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Returns the Connector's details for the given Account and Connector ID.
Bad Request
Internal server error
Returns the connector with the requested accountIdentifier and connectorIdentifier
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Deletes a Connector for the given ID.
Bad Request
Internal server error
It returns true if the Connector is deleted successfully and false if the Connector is not deleted
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Returns all the configured field values for the given Connector type, which can be used during connector creation.
Bad Request
Internal server error
Returns all the configured field values for the given Connector type, which can be used during connector creation.
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
Returns the cloud formation template URL to configure the Cloud Cost AWS Connector
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Lists all the Connectors for the given Account ID.
Bad Request
Internal server error
Returns the Connector catalogue response
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
Returns the Connector's statistics
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Details of the filters applied
Bad Request
Internal server error
Returns the list of Connectors
{- "connectorNames": [
- "string"
], - "connectorIdentifiers": [
- "string"
], - "description": "string",
- "types": [
- "K8sCluster"
], - "categories": [
- "CLOUD_PROVIDER"
], - "connectivityStatuses": [
- "SUCCESS"
], - "inheritingCredentialsFromDelegate": true,
- "connectorConnectivityModes": [
- "DELEGATE"
], - "tags": {
- "property1": "string",
- "property2": "string"
}, - "filterType": "Connector"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Lists all Connectors for an Account by Fully Qualified Name (FQN) with a limit of max 1000 FQNs per request.
Bad Request
Internal server error
Returns the list of Connectors
[- "string"
]
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Tests if a Harness Connector can successfully connect Harness to a third-party tool.
Bad Request
Internal server error
Returns the Connector validation result
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Tests if a Git Repo Connector can successfully connect Harness to a Git provider.
Bad Request
Internal server error
Returns the Connector validation result
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Tests if a Connector can successfully connect Harness to a third-party tool using the an Account and Connector ID.
Bad Request
Internal server error
It returns true if the Identifier is unique and false if the Identifier is not unique
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}