From 8daf1dc7fdd75390aab484bedb20627121156f63 Mon Sep 17 00:00:00 2001 From: Edyta Krukowska Date: Fri, 9 Apr 2021 12:53:03 +0200 Subject: [PATCH] Update endpoints in Readme.md Issue-ID: INT-1869 Signed-off-by: Edyta Krukowska Change-Id: Ia132d405f5ed55fb7725fc4e7f968b0f81c854ed --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 33703dd..cd45156 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,11 @@ Example of that custom config change subscription can be found in `example` dire ### REST API Netconf server provides REST interface, with enpoints: - *GET* `/healthcheck` returns 200 "UP" if server is up and running +- *POST* `/readiness` return 200 "Ready" if server is ready, if not, returns 503 "Not Ready" +- *POST* `/change_config/` changes configuration ad returns 202 "Accepted" +- *GET* `/change_history` returns 200 and change history as json +- *GET* `/get_config/` returns 200 and current configuration + ### logging Netconf server print all logs on to the console. -- 2.16.6