-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdetails-old.html
More file actions
225 lines (201 loc) · 7.68 KB
/
details-old.html
File metadata and controls
225 lines (201 loc) · 7.68 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<div class="span12">
<h2><%= method.get('label') %></h2>
<code class="xml" style="display: block; width: 100%; margin-top: 10px; margin-bottom: 20px;">
<%= method.get('method') %> - /user/{user}
</code>
<p><%= method.get('description') === '' ? 'No description set' : method.get('description') %><p>
<hr>
<style>
.matchpre td {
border: 1px solid #000;
}
.table td {
border-bottom: none;
}
</style>
<button data-resource-id="<%= method.id %>" class="btn js-edit-method">Edit Method</button>
<h3>Request</h3>
<h4>Headers</h4>
<div class="request-headers-build-container">
Request builder goes here
</div>
<table class="table request-table">
<thead>
<tr>
<th>Property Name</th>
<th>Value</th>
<th>Description</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr id="items">
<td><code>Accept</code></td>
<td><code class="apitype">application/json, text/javascript</code></td>
<td>Some description about this request header</td>
<td></td>
</tr>
<tr id="nextPageToken">
<td><code>X-Requested-With</code></td>
<td><code class="apitype">XMLHttpRequest</code></td>
<td>For security reasons this request header must be set</td>
<td class="action-column"><div class="btn-group">
<button class="btn btn-primary">Action</button>
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="#" data-bitly-type="bitly_hover_card">Edit</a></li>
<li><a href="#" data-bitly-type="bitly_hover_card">Add a field</a></li>
<li class="divider"></li>
<li><a href="#" data-bitly-type="bitly_hover_card">Delete</a></li>
</ul>
</div></td>
</tr>
</tbody>
</table>
<h4>Body</h4>
<table class="table request-table">
<thead>
<tr>
<th>Property Name</th>
<th>Value</th>
<th>Description</th>
<th class="action-column">Actions</th>
</tr>
</thead>
<tbody>
<tr id="kind">
<td><code>somearrays[]</code></td>
<td><code class="apitype">array</code></td>
<td>Type of resource. Always <code>compute#diskList</code>.</td>
<td>
<div class="btn-group">
<button class="btn btn-primary">Action</button>
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="#" data-bitly-type="bitly_hover_card">Edit</a></li>
<li><a href="#" data-bitly-type="bitly_hover_card">Add a field</a></li>
<li class="divider"></li>
<li><a href="#" data-bitly-type="bitly_hover_card">Delete</a></li>
</ul>
</div>
</td>
</tr>
<tr id="id">
<td><code style="margin-left: 20px;">id</code></td>
<td><code class="apitype">string</code></td>
<td>Unique identifier for the resource; defined by the server (output only).</td>
<td></td>
</tr>
<tr id="id">
<td><code style="margin-left: 20px;">someobject{}</code></td>
<td><code class="apitype">object</code></td>
<td>Unique identifier for the resource; defined by the server (output only).</td>
<td></td>
</tr>
<tr id="selfLink">
<td><code style="margin-left: 40px;">selfLink</code></td>
<td><code class="apitype">string</code></td>
<td>Server-defined URL for this resource (output only).</td>
<td></td>
</tr>
<tr id="id">
<td><code style="margin-left: 20px;">somestring</code></td>
<td><code class="apitype">object</code></td>
<td>Unique identifier for the resource; defined by the server (output only).</td>
<td></td>
</tr>
<tr id="items">
<td><code>items[]</code></td>
<td><code class="apitype">list</code></td>
<td>The persistent disk resources.</td>
<td></td>
</tr>
<tr id="nextPageToken">
<td><code>nextPageToken</code></td>
<td><code class="apitype">string</code></td>
<td>A token used to continue a truncated list request.</td>
<td></td>
</tr>
</tbody>
</table>
<h3>Mock Server Url</h3>
<code class="xml" style="display: block; width: 100%; margin-top: 10px; margin-bottom: 20px;">
http://mockserver.apiengine.com/someserver/user/{user}
</code>
<h3>Code Demos</h3>
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#home">Curl</a></li>
<li><a href="#profile">Node.js</a></li>
<li><a href="#messages">Rails</a></li>
<li><a href="#settings">jQuery</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="home">
<pre>
<code class="xml">
curl url -i -H "Accept: application/json" http://192.168.0.165/persons/person/1
</code>
</pre>
</div>
</div>
<form class="form-horizontal" style="margin-top: 30px;">
<fieldset>
<div class="control-group">
<input type="text" class="comment-input input-xlarge" id="input01">
<button class="btn btn-primary" style="margin-top: 20px; margin-bottom: 20px;">Add comment</button>
</div>
</fieldset>
</form>
<hr />
<div class="comments-container">
<ul class="comments-list">
<li>
<div class="comment-container">
<div class="comment-user-container">
<div class="user-profile-image"></div>
<div class="comment">
<div class="comment-username">John Howard</div>
I'm a fucking dick sucking. It actually bothered me. Like, the audience in the last panel made it obvious that he wasn't reacting to what was said, and that it was during another part of the interview. Would have been funnier without the audience.</div>
<div style="clear: both;"></div>
</div>
</div>
</li>
<li>
<div class="comment-container">
<div class="comment-user-container">
<div class="user-profile-image">
<img src="http://www.designdownloader.com/item/pngl/maintenance_k01/maintenance_k01-20111010143211-00017.png" style="width: 60px; height: 60px;" />
</div>
<div class="comment">
<div class="comment-username">Mark Hibberd</div>
Like, the audience in the last panel made it obvious that he wasn't reacting to what was said, and that it was during another part of the interview. Would have been funnier without the audience.
<div class="activity-log-changes">
<ul class="activity-log">
<li class=""><i class="icon-minus-sign"></i>
Deleted the property name
</li>
<li><i class="icon-plus-sign"></i>
Added a property name
</li>
</ul>
</div>
</div>
<div style="clear: both;"></div>
<div style="clear: both;"></div>
</div>
</div>
</li>
<li>
<hr>
<div class="comment-container">
<div class="comment-user-container">
<div class="user-profile-image"></div>
<div class="comment">
<div class="comment-username">Peter Andre</div>
<p>I have solved it! I know why people hate Gingers! It is a form of subliminal racisim. Just rearange two letters and you will see. Now think of that the next time you decide to pick on a redhead.</p></div>
<div style="clear: both;"></div>
</div>
</div>
</li>
</div>
</div>