Skip to content

Commit 08986a8

Browse files
authored
Update default-configuration.adoc
Add ping description
1 parent 53e6604 commit 08986a8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/default-configuration.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,18 @@ authTokenService:
457457
uri: /tokens
458458
459459
# Simple ping service
460+
# Must respond with HTTP 200 OK
461+
# if enable-extended-response is true, returns the following JSON response
462+
# {
463+
# "client_ip": "<caller ip>",
464+
# "host": "<hostname>",
465+
# "message": "Greetings from RESTHeart!",
466+
# "version": "<RESTHeart version>"
467+
# }
460468
ping:
461469
enabled: true
462470
msg: Greetings from RESTHeart!
471+
enable-extended-response: true
463472
464473
# Returns the roles of the authenticated user
465474
roles:
@@ -678,4 +687,4 @@ connection-options:
678687
# even when it is not strictly required by the specification.
679688
# Defaults to true
680689
ALWAYS_SET_KEEP_ALIVE: true
681-
----
690+
----

0 commit comments

Comments
 (0)