-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathapidoc.html
113 lines (107 loc) · 3.52 KB
/
apidoc.html
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html>
<head>
<title>API documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link type='text/css' rel='stylesheet' href='./apidoc/stylesheets/bundled/bootstrap.min.css'/>
<link type='text/css' rel='stylesheet' href='./apidoc/stylesheets/bundled/prettify.css'/>
<link type='text/css' rel='stylesheet' href='./apidoc/stylesheets/bundled/bootstrap-responsive.min.css'/>
<link type='text/css' rel='stylesheet' href='./apidoc/stylesheets/application.css'/>
<!-- IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="row">
<div id='container'>
<ul class='breadcrumb'>
<li class='active'><a href='./apidoc.html'>Demo 2</a></li>
</ul>
<div>Another API description</div>
<h1 class='page-header'>Resources</h1>
<h2>
<a href='./apidoc/tweets.html'>
Tweets
</a><br>
<small></small>
</h2>
<table class='table'>
<thead>
<tr>
<th>Resource</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href='./apidoc/tweets/index.html'>GET /api/v2/users/:user_id/tweets</a></td>
<td width='60%'>List tweets</td>
</tr>
<tr>
<td><a href='./apidoc/tweets/show.html'>GET /api/v2/users/:user_id/tweets/:id</a></td>
<td width='60%'>Show a tweet</td>
</tr>
<tr>
<td><a href='./apidoc/tweets/create.html'>POST /api/v2/users/:user_id/tweets</a></td>
<td width='60%'>Create a tweet</td>
</tr>
<tr>
<td><a href='./apidoc/tweets/update.html'>PUT /api/v2/users/:user_id/tweets/:id</a></td>
<td width='60%'>Update a tweet</td>
</tr>
<tr>
<td><a href='./apidoc/tweets/destroy.html'>DELETE /api/v2/users/:user_id/tweets/:id</a></td>
<td width='60%'>Destroy a tweet</td>
</tr>
</tbody>
</table>
<h2>
<a href='./apidoc/users.html'>
Users
</a><br>
<small></small>
</h2>
<table class='table'>
<thead>
<tr>
<th>Resource</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href='./apidoc/users/index.html'>GET /api/v2/users</a></td>
<td width='60%'>List users</td>
</tr>
<tr>
<td><a href='./apidoc/users/show.html'>GET /api/v2/users/:id</a></td>
<td width='60%'>Show an user</td>
</tr>
<tr>
<td><a href='./apidoc/users/create.html'>POST /api/v2/users</a></td>
<td width='60%'>Create an user</td>
</tr>
<tr>
<td><a href='./apidoc/users/update.html'>PUT /api/v2/users/:id</a></td>
<td width='60%'>Update an user</td>
</tr>
<tr>
<td><a href='./apidoc/users/destroy.html'>DELETE /api/v2/users/:id</a></td>
<td width='60%'>Destroy an user</td>
</tr>
</tbody>
</table>
</div>
</div>
<hr>
<footer>
</footer>
</div>
<script type='text/javascript' src='./apidoc/javascripts/bundled/jquery-1.7.2.js'></script>
<script type='text/javascript' src='./apidoc/javascripts/bundled/bootstrap-collapse.js'></script>
<script type='text/javascript' src='./apidoc/javascripts/bundled/prettify.js'></script>
<script type='text/javascript' src='./apidoc/javascripts/apipie.js'></script>
</body>
</html>