From da75d133b230858e0391421ea5ad5f392bec6fe5 Mon Sep 17 00:00:00 2001 From: Platy Date: Fri, 24 May 2024 19:36:41 +1000 Subject: [PATCH] Add fixes to documentation (#1047) * Replaced string with semver * added 204 no content option --- docs/api/rest.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/api/rest.md b/docs/api/rest.md index 55be5f3ca..27daf6930 100644 --- a/docs/api/rest.md +++ b/docs/api/rest.md @@ -917,7 +917,7 @@ Parsed [Semantic Versioning 2.0.0](https://semver.org/) ```json { "version": { - "string": "3.7.0-rc.1+test", + "semver": "3.7.0-rc.1+test", "major": 3, "minor": 7, "patch": 0, @@ -1072,7 +1072,11 @@ Additionally, there are a few REST endpoints for the ip rotation extension. GET /v4/routeplanner/status ``` -Response: +Responses: + +204 - No Content: This means the RoutePlanner is not enabled on the server. + +200 - Content: This means that the RoutePlanner has been enabled, and will give the following information. | Field | Type | Description | |---------|---------------------------------------------|-----------------------------------------------------------------------|