Skip to content

Commit

Permalink
fix: added new error status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gray-Advantage committed Jun 22, 2024
1 parent 404f2df commit e99b6bf
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions datanar/templates/api/api_docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% block content %}
<h1>Datanar API Docs</h1>
<div class="app-desc">Contact Info: <a href="mailto:sergeyindra@yandex.ru">sergeyindra@yandex.ru</a></div>
<div class="app-desc">Version: 1.0.0</div>
<div class="app-desc">Version: 1.1.0</div>
<div class="app-desc">BasePath: /api/v1/</div>
<h2>Access</h2>

Expand Down Expand Up @@ -223,14 +223,15 @@ <h3 class="field-label">Produces</h3>

<h3 class="field-label">Responses</h3>
<h4 class="field-label">201</h4>
Successful operation
<a href="#Redirect">Redirect</a>
Successful operation <a href="#Redirect">Redirect</a>
<h4 class="field-label">400</h4>
Bad request
<a href="#"></a>
<h4 class="field-label">401</h4>
Invalid token supplied
<a href="#"></a>
<h4 class="field-label">409</h4>
Redirect with this short_link already exist
<h4 class="field-label">423</h4>
Redirect with this long_link was blocked
</div> <!-- method -->
<hr/>
<div class="method"><a id="deleteRedirectId"></a>
Expand Down

0 comments on commit e99b6bf

Please sign in to comment.