Reconciler

Imports data from cluster via agent. There must be at least one project mapping in the database. Returns number of entities imported.

Imports data from cluster via agent. There must be at least one project mapping in the database. Returns number of entities imported.

SecurityApiKey
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Request Body schema: application/json
projectNames
Array of strings
Responses
200

A successful response.

default

An unexpected error response.

post/gitops/api/v1/agents/{agentIdentifier}/reconcile/import
Request samples
application/json
{
  • "projectNames": [
    ]
}
Response samples
application/json
{
  • "applicationCount": 0,
  • "clusterCount": 0,
  • "repositoryCount": 0,
  • "repositoryCertificateCount": 0,
  • "gnuPGPublicKeyCount": 0,
  • "repoCredsCount": 0,
  • "applicationPerProjectCount": {
    },
  • "clusterPerProjectCount": {
    },
  • "repositoryPerProjectCount": {
    }
}

Returns number of entities that exist in the cluster on the agent. Filter can be used to count only global entities (with empty project) and those specified by the filter.

Returns number of entities that exist in the cluster on the agent. Filter can be used to count only global entities (with empty project) and those specified by the filter.

SecurityApiKey
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Request Body schema: application/json
projectNames
Array of strings
Responses
200

A successful response.

default

An unexpected error response.

post/gitops/api/v1/agents/{agentIdentifier}/reconcile/counts
Request samples
application/json
{
  • "projectNames": [
    ]
}
Response samples
application/json
{
  • "applicationCount": 0,
  • "clusterCount": 0,
  • "repositoryCount": 0,
  • "repositoryCertificateCount": 0,
  • "gnuPGPublicKeyCount": 0,
  • "repoCredsCount": 0,
  • "applicationPerProjectCount": {
    },
  • "clusterPerProjectCount": {
    },
  • "repositoryPerProjectCount": {
    }
}