Insights API endpoints
A list of currently implemented API endpoints that can be used for the Insights application.
The API microservice serves as a gateway to the central database. You can use the following endpoints to save or retrieve metrics, clusters, clients and partners.
Below is the list of implemented endpoints.
Metrics Records (Entries)
Add Entries
ADD metrics/addEntries
Adds new metric records to the database.
GLOBAL DOMAIN
Get Entries
GET metrics/getEntries
Retrieves all metric records from the database.
Get Entries By Date
GET metrics/getDatesInterval
Retrieves metric records from the database for a certain time interval.
Clean Up Entries
CLEANUP metrics/cleanupEntries
Removes metric records from the database.
Servers
Get Server Names
GET metrics/getServerNames
Retrieves server names from the database.
Clusters
Add Cluster
ADD metrics/addCluster
Adds new cluster.
Get Cluster
GET metrics/getCluster
Retrieves a single cluster name from the database.
Get Clusters
GET metrics/getClusters
Retrieves multiple cluster names from the database.
Delete Cluster
DELETE metrics/deleteCluster
Removes a cluster from the database.
Cluster Key Pair
Generate A Key Pair For a Cluster
GENERATEKEYS cluster/generateKeys
Clients
Add Client
ADD metrics/addClient
Adds new client.
Get Client
GET metrics/getClient
Retrieves a single client name from the database.
Get Clients
GET metrics/getClients
Retrieves multiple client names from the database.
Delete Client
DELETE metrics/deleteClient
Removes a client from the database.
Partners
Add Partner
ADD metrics/addPartner
Adds new partner.
Get Partner
GET metrics/getPartner
Retrieves a single partner name from the database.
Get Partners
GET metrics/getPartners
Retrieves multiple partner names from the database.
Delete Partners
DELETE metrics/deletePartners
Removes multiple partners from the database.