Skip to content

Commit

Permalink
issue #24
Browse files Browse the repository at this point in the history
  • Loading branch information
th-schwarz committed Aug 3, 2024
1 parent 0b60a6f commit dccc1a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
12 changes: 6 additions & 6 deletions docs/openapi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,15 +318,15 @@ <h3 class="field-label">Produces</h3>
</ul>

<h3 class="field-label">Responses</h3>
<h4 class="field-label">404</h4>
If the &#x27;host&#x27; isn&#x27;t configured.
<a href="#IpSetting">IpSetting</a>
<h4 class="field-label">200</h4>
A JSON object with the IP settings of the &#x27;host&#x27;.
<a href="#"></a>
<h3 class="field-label">Example data</h3>
<div class="example-data-content-type">Content-Type: application/json</div>
<pre class="example"><code>{&quot;ipv4&quot;:&quot;127.1.2.4&quot;,&quot;ipv6&quot;:&quot;2a03:4000:41:32:0:0:0:2&quot;}</code></pre>
<h4 class="field-label">404</h4>
If the &#x27;host&#x27; isn&#x27;t configured.
<a href="#IpSetting">IpSetting</a>
<h4 class="field-label">500</h4>
If the zone info fails.
<a href="#IpSetting">IpSetting</a>
Expand Down Expand Up @@ -370,15 +370,15 @@ <h3 class="field-label">Produces</h3>
</ul>

<h3 class="field-label">Responses</h3>
<h4 class="field-label">403</h4>
The &#x27;adminToken&#x27; is wrong.

<h4 class="field-label">200</h4>
The hosts of the desired zones fetched successful.
<a href="#"></a>
<h3 class="field-label">Example data</h3>
<div class="example-data-content-type">Content-Type: application/json</div>
<pre class="example"><code>[{&quot;name&quot;:&quot;master&quot;,&quot;apiToken&quot;:&quot;secureApiToken&quot;,&quot;zone&quot;:&quot;mydomain.net&quot;,&quot;ns&quot;:&quot;a1.nameserver.net&quot;,&quot;fullHost&quot;:&quot;master.mydomain.net&quot;,&quot;changed&quot;:&quot;2024-03-11T09:07:59.037688&quot;}]</code></pre>
<h4 class="field-label">403</h4>
The &#x27;adminToken&#x27; is wrong.

</div> <!-- method -->
<hr/>
<div class="method"><a name="listZones"></a>
Expand Down

0 comments on commit dccc1a8

Please sign in to comment.