Creates a new connector
required | object (Connector) |
Connector response
{- "connector": {
- "name": "example_connector",
- "identifier": "example_connector",
- "description": "example_connector",
- "org": "default",
- "project": "example_project",
- "tags": {
- "property1": "example_connector"
}, - "spec": {
- "type": "GitHttp",
- "branch": "example_branch",
- "connection_type": "Repo",
- "username": "git-http-user",
- "password_ref": "account.git-http-password",
- "execute_on_delegate": false
}
}
}
{- "connector": {
- "name": "example_connector",
- "identifier": "example_connector",
- "org": "default",
- "project": "example_project",
- "tags": {
- "property1": "example_connector"
}, - "description": "example_connector",
- "spec": {
- "type": "GitHttp",
- "branch": "example_branch",
- "connection_type": "Repo",
- "username": "git-http-user",
- "password_ref": "account.git-http-password"
}
}, - "created": 1234567890,
- "updated": 1234567890
}
Retrieves the information of the connector with the matching connector identifier. Connector types supported are GIT, ARTIFACTORY, APP_DYNAMICS and AZURE.
Connector response
{- "connector": {
- "name": "example_connector",
- "identifier": "example_connector",
- "org": "default",
- "project": "example_project",
- "tags": {
- "property1": "example_connector"
}, - "description": "example_connector",
- "spec": {
- "type": "GitHttp",
- "branch": "example_branch",
- "connection_type": "Repo",
- "username": "git-http-user",
- "password_ref": "account.git-http-password"
}
}, - "created": 1234567890,
- "updated": 1234567890
}
Updates the information of the secret with the matching secret identifier.
required | object (Connector) |
Connector response
{- "connector": {
- "name": "example_connector",
- "identifier": "example_connector",
- "description": "example_connector",
- "org": "default",
- "project": "example_project",
- "tags": {
- "property1": "example_connector"
}, - "spec": {
- "type": "GitHttp",
- "branch": "example_branch",
- "connection_type": "Repo",
- "username": "git-http-user",
- "password_ref": "account.git-http-password",
- "execute_on_delegate": false
}
}
}
{- "connector": {
- "name": "example_connector",
- "identifier": "example_connector",
- "org": "default",
- "project": "example_project",
- "tags": {
- "property1": "example_connector"
}, - "description": "example_connector",
- "spec": {
- "type": "GitHttp",
- "branch": "example_branch",
- "connection_type": "Repo",
- "username": "git-http-user",
- "password_ref": "account.git-http-password"
}
}, - "created": 1234567890,
- "updated": 1234567890
}
Deletes the information of the connector with the matching connector identifier. Connector types supported are GIT, ARTIFACTORY, APP_DYNAMICS and AZURE.
OK
Tests connection of the connector with the matching connector identifier.
This has test connection details for the Connector defined in Harness.
{- "status": "SUCCESS",
- "errors": [
- {
- "reason": "string",
- "message": "string",
- "code": 0
}
], - "error_summary": "string",
- "tested_at": 0,
- "delegate_id": "string"
}