diff --git a/README.adoc b/README.adoc index 7fae6c7..7201c08 100644 --- a/README.adoc +++ b/README.adoc @@ -194,7 +194,7 @@ as an init.d Service (System V)]. All routes are secured by basic-auth. A detailed description of the routes can be found at the https://htmlpreview.github.io/?https://github.com/th-schwarz/DynDRest/blob/develop/docs/openapi/index.html[OAS3 -documentation]. +documentation] or https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/th-schwarz/DynDRest/feature-24_rest-api/docs/openapi/openapi.yaml&nocors#tag/api-controller/operation/updateHost[OpenAPI]. There are additional routes: diff --git a/docs/openapi/index.html b/docs/openapi/index.html index 704da79..52f4d10 100644 --- a/docs/openapi/index.html +++ b/docs/openapi/index.html @@ -318,15 +318,15 @@

Produces

Responses

-

404

- If the 'host' isn't configured. - IpSetting

200

A JSON object with the IP settings of the 'host'.

Example data

Content-Type: application/json
{"ipv4":"127.1.2.4","ipv6":"2a03:4000:41:32:0:0:0:2"}
+

404

+ If the 'host' isn't configured. + IpSetting

500

If the zone info fails. IpSetting @@ -370,15 +370,15 @@

Produces

Responses

+

403

+ The 'adminToken' is wrong. +

200

The hosts of the desired zones fetched successful.

Example data

Content-Type: application/json
[{"name":"master","apiToken":"secureApiToken","zone":"mydomain.net","ns":"a1.nameserver.net","fullHost":"master.mydomain.net","changed":"2024-03-11T09:07:59.037688"}]
-

403

- The 'adminToken' is wrong. -