-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
302 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,195 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link rel="stylesheet" href="main.css"> | ||
<meta charset="UTF-8"> | ||
<title>iplocation.net API</title> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>iplocation.net API</h1> | ||
<p class="sw-info"> | ||
|
||
Version: <span class="sw-info-version">1.1.0</span> | ||
</p> | ||
<p><p>OpenAPI v3 specification and a set of generated API clients for iplocation.net</p> | ||
</p> | ||
|
||
|
||
<div id="sw-schemes" class="sw-default-value"> | ||
<span class="sw-default-value-header">Schemes:</span> | ||
|
||
</div> | ||
|
||
<h2 id="swagger--summary-no-tags">Summary</h2> | ||
<table class="table table-bordered table-condensed swagger--summary"> | ||
<thead> | ||
<tr> | ||
<th>Path</th> | ||
<th>Operation</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td class="swagger--summary-path" rowspan="1"> | ||
<a href="#path--">/</a> | ||
</td> | ||
<td> | ||
<a href="#operation---get">GET</a> | ||
</td> | ||
<td> | ||
<p>Get geolocation of an IP address</p> | ||
|
||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
|
||
|
||
<h2>Paths</h2> | ||
|
||
|
||
<span id="path--"></span> | ||
<div id="operation---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> | ||
<div class="panel-body"> | ||
<section class="sw-operation-description"> | ||
<p>Retrieve geolocation of an IP address.</p> | ||
|
||
</section> | ||
|
||
|
||
<section class="sw-request-params"> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th class="sw-param-name"></th> | ||
<th class="sw-param-description"></th> | ||
<th class="sw-param-type"></th> | ||
<th class="sw-param-data-type"></th> | ||
<th class="sw-param-annotation"></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td> | ||
ip | ||
</td> | ||
<td><p>An IPv4 or IPv6 address that you would like to lookup.</p> | ||
</td> | ||
<td>query</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> | ||
<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 | ||
</td> | ||
<td><p>Delimiter between proxies. Can be used only with format plain. The following types are supported: 1 for "\n", 2 for "<br>".</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> | ||
</tbody> | ||
</table> | ||
</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>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> | ||
|
||
</div> | ||
</div> | ||
<div class="row"> | ||
|
||
<div class="col-md-6 sw-response-model"> | ||
</div> | ||
|
||
</div> </dd> | ||
</dl> | ||
</section> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
</div> | ||
|
||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.