From f29d3d55880cd2dff50970e45b4e79d5e43758cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 17 Sep 2018 16:53:01 +0300 Subject: [PATCH] MXS-2055: Fix monitor REST API documentation Fixed the endpoint documentation. --- Documentation/REST-API/Resources-Monitor.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/REST-API/Resources-Monitor.md b/Documentation/REST-API/Resources-Monitor.md index 75cca9a9c..8f847a10f 100644 --- a/Documentation/REST-API/Resources-Monitor.md +++ b/Documentation/REST-API/Resources-Monitor.md @@ -269,7 +269,7 @@ The :name in the URI must map to a monitor name with all whitespace replaced wit hyphens. The request body must be a valid JSON document representing the modified monitor. ``` -PATCH /v1/monitor/:name +PATCH /v1/monitors/:name ``` ### Modifiable Fields @@ -353,7 +353,7 @@ servers and if it does a PATCH request which removes these relationships is required before a DELETE request for the monitor can be made. ``` -DELETE /v1/monitor/:name/stop +DELETE /v1/monitors/:name/stop ``` #### Response @@ -371,7 +371,7 @@ Monitor could not be deleted: Stops a started monitor. ``` -PUT /v1/monitor/:name/stop +PUT /v1/monitors/:name/stop ``` #### Response @@ -385,7 +385,7 @@ Monitor is stopped: Starts a stopped monitor. ``` -PUT /v1/monitor/:name/start +PUT /v1/monitors/:name/start ``` #### Response