v1

latestOpenAPI 3.0.1Apache 2.02026-07-17111176225.7 KB
System

Get service config for a specific host

get/system/services/{servicename}/{hostid}

Path parameters

servicenamestring required
hostidstring required

Response

Listing of registered services

hostidstring

The unique id of the host on which the service is executing

servicenamestring

Registered service name

base_urlstring

The url to reach the service, including port as needed

status_messagestring

A state indicating the condition of the service. Normal operation is 'registered'

statusboolean
versionstring

The version of the service as reported by the service implementation on registration

Example response

[
  {
    "status_message": "status_message",
    "base_url": "base_url",
    "hostid": "hostid",
    "servicename": "servicename",
    "service_detail": {
      "db_version": "db_version",
      "busy": true,
      "available": true,
      "up": true,
      "detail": "{}",
      "message": "message",
      "version": "version"
    },
    "version": "version",
    "status": true
  }
]