Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pakkunbot committed Nov 3, 2024
1 parent fbf7728 commit 27a26b7
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 71 deletions.
139 changes: 69 additions & 70 deletions api/latest/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<head>
<link rel="stylesheet" href="main.css">
<meta charset="UTF-8">
<title>iplocation.net API</title>
<title></title>
</head>
<body>
<div class="container">
<h1>iplocation.net API</h1>
<h1></h1>
<p class="sw-info">

Version: <span class="sw-info-version">1.1.1-pre.0</span>
Version: <span class="sw-info-version">0.12.1-pre.0</span>
</p>
<p><p>OpenAPI v3 specification and a set of generated API clients for iplocation.net</p>
<p><p>SDK for Minecraft versions info</p>
</p>


Expand All @@ -33,13 +33,25 @@ <h2 id="swagger--summary-no-tags">Summary</h2>
<tbody>
<tr>
<td class="swagger--summary-path" rowspan="1">
<a href="#path--">/</a>
<a href="#path--mc-game-version_manifest.json">/mc/game/version_manifest.json</a>
</td>
<td>
<a href="#operation---get">GET</a>
<a href="#operation--mc-game-version_manifest.json-get">GET</a>
</td>
<td>
<p>Get geolocation of an IP address</p>
<p>Get Minecraft version manifest</p>

</td>
</tr>
<tr>
<td class="swagger--summary-path" rowspan="1">
<a href="#path--v1-packages--packageId---versionId-.json">/v1/packages/{packageId}/{versionId}.json</a>
</td>
<td>
<a href="#operation--v1-packages--packageId---versionId-.json-get">GET</a>
</td>
<td>
<p>Get Minecraft version package info</p>

</td>
</tr>
Expand All @@ -51,16 +63,53 @@ <h2 id="swagger--summary-no-tags">Summary</h2>
<h2>Paths</h2>


<span id="path--"></span>
<div id="operation---get" class="swagger--panel-operation-get panel">
<span id="path--mc-game-version_manifest.json"></span>
<div id="operation--mc-game-version_manifest.json-get" class="swagger--panel-operation-get panel">
<div class="panel-heading">
<div class="operation-summary">Get geolocation of an IP address</div>
<h3 class="panel-title"><span class="operation-name">GET</span> <strong>/</strong></h3>
<div class="operation-summary">Get Minecraft version manifest</div>
<h3 class="panel-title"><span class="operation-name">GET</span> <strong>/mc/game/version_manifest.json</strong></h3>
</div>
<div class="panel-body">
<section class="sw-operation-description">
<p>Retrieve geolocation of an IP address.</p>

</section>



<section class="sw-responses">

<dl>
<dt class="sw-response-200">
200 OK

</dt>
<dd class="sw-response-200">
<div class="row">
<div class="col-md-12">
<p>A list of Minecraft versions with the latest and snapshot releases</p>

</div>
</div>
<div class="row">

<div class="col-md-6 sw-response-model">
</div>

</div> </dd>
</dl>
</section>
</div>
</div>

<span id="path--v1-packages--packageId---versionId-.json"></span>
<div id="operation--v1-packages--packageId---versionId-.json-get" class="swagger--panel-operation-get panel">
<div class="panel-heading">
<div class="operation-summary">Get Minecraft version package info</div>
<h3 class="panel-title"><span class="operation-name">GET</span> <strong>/v1/packages/{packageId}/{versionId}.json</strong></h3>
</div>
<div class="panel-body">
<section class="sw-operation-description">

</section>


Expand All @@ -78,11 +127,10 @@ <h3 class="panel-title"><span class="operation-name">GET</span> <strong>/</stron
<tbody>
<tr>
<td>
ip
packageId
</td>
<td><p>An IPv4 or IPv6 address that you would like to lookup.</p>
</td>
<td>query</td>
<td></td>
<td>path</td>
<td>
<span class="json-property-type">object</span>
<span class="json-property-range" title="Value limits"></span>
Expand All @@ -94,32 +142,17 @@ <h3 class="panel-title"><span class="operation-name">GET</span> <strong>/</stron
</tr>
<tr>
<td>
format
</td>
<td><p>Output format, the following formats are supported: plain xml json jsonp php csv serialized</p>
</td>
<td>query</td>
<td>
<span class="json-property-type">object</span>
<span class="json-property-range" title="Value limits"></span>

</td>
<td>
</td>
</tr>
<tr>
<td>
delimiter
versionId
</td>
<td><p>Delimiter between proxies. Can be used only with format plain. The following types are supported: 1 for &quot;\n&quot;, 2 for &quot;<br>&quot;.</p>
</td>
<td>query</td>
<td></td>
<td>path</td>
<td>
<span class="json-property-type">object</span>
<span class="json-property-range" title="Value limits"></span>

</td>
<td>
<span class="json-property-required"></span>
</td>
</tr>
</tbody>
Expand All @@ -136,41 +169,7 @@ <h3 class="panel-title"><span class="operation-name">GET</span> <strong>/</stron
<dd class="sw-response-200">
<div class="row">
<div class="col-md-12">
<p>Successfully processed the request.</p>

</div>
</div>
<div class="row">

<div class="col-md-6 sw-response-model">
</div>

</div> </dd>
<dt class="sw-response-400">
400 Bad Request

</dt>
<dd class="sw-response-400">
<div class="row">
<div class="col-md-12">
<p>Failed to complete the request.</p>

</div>
</div>
<div class="row">

<div class="col-md-6 sw-response-model">
</div>

</div> </dd>
<dt class="sw-response-404">
404 Not Found

</dt>
<dd class="sw-response-404">
<div class="row">
<div class="col-md-12">
<p>Command not found.</p>
<p>Get package version details</p>

</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/latest/main.css.map

Large diffs are not rendered by default.

0 comments on commit 27a26b7

Please sign in to comment.