-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.php
More file actions
83 lines (70 loc) · 1.83 KB
/
docs.php
File metadata and controls
83 lines (70 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<base href="/" />
<title>API Docs</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/docs_.css">
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon">
</head>
<body>
<div class="wrap">
<div class="api-item">
<div class="title">
GET /api
</div>
<div class="quick-desc">
Create short url
</div>
<div class="hr"></div>
<div class="examples-title">
Examples
</div>
<div class="examples">
GET /api<br>
<a>200</a>
<p>
<code class="prettyprint">
{
"url": "https://url.hzswdef.xyz/_test"
}
</code>
</p>
</div>
<div class="params-title">
Params
</div>
<table class="params">
<thead>
<tr>
<th>Param name</th>
<th>Desc</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>
Access the <span>API</span>.
Tokens could be found <a href="/token">here</a>.
</td>
</tr>
<tr>
<td>url</td>
<td>
Link to needed website. <br><br>
<span>Validations:</span>
<ul>
<li>Availability check.</li>
<li>Max 256 characters.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
</body>
</html>