Files
designate/api-ref/source/samples/service_status/service_status_list.json
T
Michael Johnson 2e6611b112 Fix API reference for list service statuses
The API reference incorrectly listed the URL path for list service
statuses as /v2/service_status.
This patch corrects that to the actual path and adds compatiblity
for the /v2/service_status path in the code in case there are
users or libraries coded to the incorrect path.

Closes-Bug: #1919183
Change-Id: I3cdf0f8dcde12891e244822480270aec48e0df0d
2021-03-24 23:13:02 +00:00

21 lines
610 B
JSON

{
"service_statuses": [
{
"links": {
"self": "http://127.0.0.1:9001/v2/service_statuses/af91edb5-ede8-453f-af13-feabdd088f9c"
},
"hostname": "dns-2.example.com.",
"status": "UP",
"service_name": "api",
"stats": null,
"capabilities": null,
"created_at": "2016-05-20 06:15:42",
"heartbeated_at": "2016-07-20 12:14:41",
"id": "af91edb5-ede8-453f-af13-feabdd088f9c"
}
],
"links": {
"self": "http://127.0.0.1:9001/v2/service_statuses"
}
}