Reconciler
Lists logs for auto-created resources (services, environments, cluster links). Supports filtering by import request ID, application set, or application name.
A successful response.
An unexpected error response.
GET /api/v1/agents/{agentIdentifier}/autocreate-logs HTTP/1.1
Accept: */*
{
"logs": [
{
"accountIdentifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"resourceType": "text",
"resourceRef": "text",
"agentIdentifier": "text",
"status": "text",
"failureReason": "text",
"errorCode": "text",
"createdAt": "text",
"application": {
"name": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"parentAppSetName": "text"
}
}
],
"total": 1,
"successServices": 1,
"failedServices": 1,
"successEnvironments": 1,
"failedEnvironments": 1,
"successClusterLinks": 1,
"failedClusterLinks": 1
}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.
Agent identifier for entity.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
A successful response.
An unexpected error response.
POST /api/v1/agents/{agentIdentifier}/reconcile/counts HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"projectNames": [
"text"
]
}{
"applicationCount": 1,
"clusterCount": 1,
"repositoryCount": 1,
"repositoryCertificateCount": 1,
"gnuPGPublicKeyCount": 1,
"repoCredsCount": 1,
"applicationSetCount": 1,
"applicationPerProjectCount": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"applicationSetPerProjectCount": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"clusterPerProjectCount": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"repositoryPerProjectCount": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"importRequestId": "text",
"reconcileAppResponse": {
"autoCreateCounts": {
"serviceCount": 1,
"environmentCount": 1,
"clusterLinkCount": 1
}
}
}Imports data from cluster via agent. There must be at least one project mapping in the database. Returns number of entities imported.
Agent identifier for entity.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
A successful response.
An unexpected error response.
POST /api/v1/agents/{agentIdentifier}/reconcile/import HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"projectNames": [
"text"
]
}{
"applicationCount": 1,
"clusterCount": 1,
"repositoryCount": 1,
"repositoryCertificateCount": 1,
"gnuPGPublicKeyCount": 1,
"repoCredsCount": 1,
"applicationSetCount": 1,
"applicationPerProjectCount": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"applicationSetPerProjectCount": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"clusterPerProjectCount": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"repositoryPerProjectCount": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"importRequestId": "text",
"reconcileAppResponse": {
"autoCreateCounts": {
"serviceCount": 1,
"environmentCount": 1,
"clusterLinkCount": 1
}
}
}Last updated
Was this helpful?