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.
A successful response.
An unexpected error response.
{- "projectNames": [
- "string"
]
}
{- "applicationCount": 0,
- "clusterCount": 0,
- "repositoryCount": 0,
- "repositoryCertificateCount": 0,
- "gnuPGPublicKeyCount": 0,
- "repoCredsCount": 0,
- "applicationPerProjectCount": {
- "property1": 0,
- "property2": 0
}, - "clusterPerProjectCount": {
- "property1": 0,
- "property2": 0
}, - "repositoryPerProjectCount": {
- "property1": 0,
- "property2": 0
}
}
Imports data from cluster via agent. There must be at least one project mapping in the database. Returns number of entities imported.
A successful response.
An unexpected error response.
{- "projectNames": [
- "string"
]
}
{- "applicationCount": 0,
- "clusterCount": 0,
- "repositoryCount": 0,
- "repositoryCertificateCount": 0,
- "gnuPGPublicKeyCount": 0,
- "repoCredsCount": 0,
- "applicationPerProjectCount": {
- "property1": 0,
- "property2": 0
}, - "clusterPerProjectCount": {
- "property1": 0,
- "property2": 0
}, - "repositoryPerProjectCount": {
- "property1": 0,
- "property2": 0
}
}