Nodes API

The Nodes API allows users to check active services according to their hosts.

Get Hosts, Node Status by Service or Node Status by Host

The path for this request is one of:

/api/apollo/nodes/up

/api/apollo/nodes/upByHost

/api/apollo/nodes/hosts

A GET request to the 'up' endpoint, shows each service that is 'up' and which hosts are serving the service.

A GET request to the 'upByHost' endpoint shows each host and the services served by that host.

A GET to the 'hosts' endpoint shows the active hosts.

The output will vary by endpoint.

When using the 'up' endpoint, the output will list each service active in the system and then the hosts serving the service.

When using the 'upByHost' endpoint, the output will list each host, and then the services active on each host.

When using the 'hosts' endpoint, the output will list the hosts only.

Examples

Show each service:

REQUEST

curl -u user:pass http://localhost:8764/api/apollo/nodes/up

RESPONSE

{
  "dynamicSchema::v1" : [ "http://localhost:8764/api/apollo/dynamicSchema" ],
  "history::v1" : [ "http://localhost:8984/connectors/v1/history", "http://localhost:8764/api/apollo/history" ],
  "query-pipelines::v1" : [ "http://localhost:8764/api/apollo/query-pipelines", "http://localhost:8764/api/apollo/query-pipelines" ],
  "solrconfig::v1" : [ "http://localhost:8764/api/apollo/collections//solr-config" ],
  "solrAdmin::v1" : [ "http://localhost:8764/api/apollo/solrAdmin", "http://localhost:8984/connectors/v1/solrAdmin" ],
  "stopwords::v1" : [ "http://localhost:8764/api/apollo/stopwords" ],
  "collections::v1" : [ "http://localhost:8764/api/apollo/collections" ],
  "index-stages::v1" : [ "http://localhost:8984/connectors/v1/index-stages", "http://localhost:8764/api/apollo/index-stages" ],
  "nodes::v1" : [ "http://localhost:8984/connectors/v1/nodes", "http://localhost:8764/api/apollo/nodes" ],
  "index-profiles::v1" : [ "http://localhost:8764/api/apollo/collections//index-profiles", "http://localhost:8984/connectors/v1/collections//index-profiles" ],
  "schema::v1" : [ "http://localhost:8764/api/apollo/collections//schema" ],
  "solr::v1" : [ "http://localhost:8984/connectors/v1/solr", "http://localhost:8764/api/apollo/solr" ],
  "query-stages::v1" : [ "http://localhost:8764/api/apollo/query-stages" ],
  "blobs::v1" : [ "http://localhost:8764/api/apollo/blobs" ],
  "connectors::v1" : [ "http://localhost:8984/connectors/v1/connectors" ],
  "recommend::v1" : [ "http://localhost:8764/api/apollo/recommend" ],
  "configurations::v1" : [ "http://localhost:8764/api/apollo/configurations", "http://localhost:8984/connectors/v1/configurations" ],
  "system::v1" : [ "http://localhost:8764/api/apollo/system", "http://localhost:8984/connectors/v1/system" ],
  "index-pipelines::v1" : [ "http://localhost:8764/api/apollo/index-pipelines", "http://localhost:8764/api/apollo/index-pipelines", "http://localhost:8764/api/apollo/index-pipelines", "http://localhost:8764/api/apollo/index-pipelines", "http://localhost:8764/api/apollo/index-pipelines", "http://localhost:8764/api/apollo/index-pipelines", "http://localhost:8764/api/apollo/index-pipelines", "http://localhost:8984/connectors/v1/index-pipelines", "http://localhost:8984/connectors/v1/index-pipelines", "http://localhost:8764/api/apollo/index-pipelines", "http://localhost:8764/api/apollo/index-pipelines" ],
  "query-pipeline-templates::v1" : [ "http://localhost:8764/api/apollo/pipeline-templates/query" ],
  "registration::v1" : [ "http://localhost:8984/connectors/v1/registration", "http://localhost:8764/api/apollo/registration" ],
  "searchLogs::v1" : [ "http://localhost:8764/api/apollo/searchLogs" ],
  "scheduler::v1" : [ "http://localhost:8764/api/apollo/scheduler" ],
  "aggregator::v1" : [ "http://localhost:8764/api/apollo/aggregator" ],
  "query-profiles::v1" : [ "http://localhost:8764/api/apollo/collections//query-profiles" ],
  "usage::v1" : [ "http://localhost:8764/api/apollo/usage", "http://localhost:8984/connectors/v1/usage" ],
  "introspect::v1" : [ "http://localhost:8764/api/apollo/introspect", "http://localhost:8984/connectors/v1/introspect" ],
  "searchCluster::v1" : [ "http://localhost:8764/api/apollo/searchCluster", "http://localhost:8984/connectors/v1/searchCluster" ],
  "features::v1" : [ "http://localhost:8764/api/apollo/features" ],
  "index-pipeline-templates::v1" : [ "http://localhost:8984/connectors/v1/pipeline-templates/index", "http://localhost:8764/api/apollo/pipeline-templates/index" ],
  "synonyms::v1" : [ "http://localhost:8764/api/apollo/synonyms" ],
  "reports::v1" : [ "http://localhost:8764/api/apollo/reports" ],
  "signals::v1" : [ "http://localhost:8764/api/apollo/signals" ]
}