From: Edyta Krukowska Date: Fri, 9 Apr 2021 10:53:03 +0000 (+0200) Subject: Update endpoints in Readme.md X-Git-Tag: 1.0.0~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F120359%2F1;p=integration%2Fsimulators%2Fnf-simulator%2Fnetconf-server.git Update endpoints in Readme.md Issue-ID: INT-1869 Signed-off-by: Edyta Krukowska Change-Id: Ia132d405f5ed55fb7725fc4e7f968b0f81c854ed --- 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.