-
Notifications
You must be signed in to change notification settings - Fork 1
/
editor-resource-get.html
351 lines (331 loc) · 16.6 KB
/
editor-resource-get.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
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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>API Designer (Mock)</title>
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<!-- Styles -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.14.0/css/patternfly.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.14.0/css/patternfly-additions.css">
<link rel="stylesheet/less" type="text/css" href="css/api-designer.less" />
<link rel="stylesheet/less" type="text/css" href="css/editor.less" />
<!-- Scripts -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.14.0/js/patternfly.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.4/ace.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/less.js/2.7.1/less.js"></script>
<script type="text/javascript" src="js/api-designer.js"></script>
<script type="text/javascript" src="js/main-nav.js"></script>
</head>
<body class="cards-pf">
<nav class="navbar navbar-default navbar-pf" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html" style="padding-top: 4px; padding-bottom: 2px">
<img class="navbar-brand-logo" src="../img/api-designer-logo.png" alt="API Designer">
</a>
</div>
<div class="collapse navbar-collapse navbar-collapse-1">
<ul class="nav navbar-nav navbar-utility">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="pficon pficon-user"></span>
<span>Tom Brady</span>
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="#">Profile</a></li>
<li class="divider"></li>
<li><a href="#">Logout</a></li>
</ul></li>
</ul>
</div>
</nav>
<div id="api-nav-menu-shade" style="display:none">
</div>
<div id="api-vertical-nav">
<div id="api-nav-item-dashboard" class="api-nav-item">
<span class="fa fa-fw fa-dashboard"></span>
<div>Dashboard</div>
</div>
<div id="api-nav-item-apis" class="api-nav-item active">
<span class="fa fa-fw fa-bolt"></span>
<div>APIs</div>
</div>
<div id="api-nav-item-mappings" class="api-nav-item">
<span class="fa fa-fw fa-random"></span>
<div>Mappings</div>
</div>
<div class="api-nav-item-filler">
</div>
</div>
<div id="api-vertical-nav-details" style="display:none">
<div id="api-nav-detail-dashboard" class="api-nav-detail-item" style="display:none">
<h3>Dashboard</h3>
<p>Click below to navigate back to the default API Designer dashboard.</p>
<ul>
<li><a href="dashboard.html">Back to Dashboard</a></li>
</ul>
</div>
<div id="api-nav-detail-apis" class="api-nav-detail-item" style="display:none">
<h3>APIs</h3>
<p class="description">Choose from the actions below or jump directly to one of your starred/favorited APIs.</p>
<h4 class="heading">API Actions</h4>
<div class="action">
<a href="my-apis.html"><span class="fa fa-fw fa-search"></span><span>List All APIs</span></a>
</div>
<div class="action">
<a href="new-api.html"><span class="fa fa-fw fa-plus"></span><span>Create New API</span></a>
</div>
<div class="action">
<a href="add-api.html"><span class="fa fa-fw fa-plus"></span><span>Add Existing API</span></a>
</div>
<h4 class="heading">Starred APIs</h4>
<div>
<a href="api-details.html"><span class="fa fa-fw fa-bolt"></span><span>Gateway Configuration API</span></a>
</div>
<div>
<a href="api-details.html"><span class="fa fa-fw fa-bolt"></span><span>Manager API</span></a>
</div>
</div>
<div id="api-nav-detail-mappings" class="api-nav-detail-item" style="display:none">
<h3>Mappings</h3>
<p class="description">Choose from the actions below or jump directly to one of your starred/favorited Mappings.</p>
<h4 class="heading">Mapping Actions</h4>
<div class="action">
<a href="#"><span class="fa fa-fw fa-search"></span><span>List All Mappings</span></a>
</div>
<div class="action">
<a href="#"><span class="fa fa-fw fa-plus"></span><span>New Mapping</span></a>
</div>
<h4 class="heading">Starred Mappings</h4>
<div>
<a href="#"><span class="fa fa-fw fa-random"></span><span>Invoice API -> SOAP Invoices</span></a>
</div>
<div>
<a href="#"><span class="fa fa-fw fa-random"></span><span>Manager API -> Manager Camel Routes</span></a>
</div>
</div>
</div>
<div id="api-page-body">
<div class="" style="background-color: white; float: left; width: 100%; border-bottom: 1px solid #ddd">
<div class="container-fluid api-breadcrumbs" style="float:left; border-bottom: 0px; margin-bottom: 0px">
<div class="row-fluid">
<ol class="breadcrumb">
<li><a href="dashboard.html"><span class="fa fa-fw fa-dashboard"></span><span>Dashboard</span></a></li>
<li><a href="my-apis.html"><span class="fa fa-fw fa-search"></span><span>My APIs</span></a></li>
<li class="active">
<a href="api-details.html">
<span class="fa fa-fw fa-bolt"></span>
<span>API:</span>
<strong>Gateway Configuration API</strong>
</a>
</li>
<li class="active">
<span class="fa fa-fw fa-pencil"></span>
<span>Editor</span>
</li>
</ol>
</div>
</div>
<div class="pull-right">
<button id="theme-toggle" class="btn btn-sm btn-default" style="margin-top: 7px; margin-right: 15px;">Use Dark Theme</button>
</div>
</div>
<div class="api-editor-container">
<div class="api-editor light" id="api-editor">
<div class="editor-master">
<div class="editor-main" onclick="window.location = 'editor-default.html'">
<h2>Gateway Configuration API</h2>
</div>
<div class="editor-search">
<span class="fa fa-fw fa-search"></span>
<input type="text" placeholder="Search everything...">
</div>
<div class="editor-outline">
<div class="section resource-section">
<div class="section-header">
<a data-toggle="collapse" data-target="#resource-section-body">
<span class="section-label">Resources</span>
</a>
<button class="btn btn-sm btn-default pull-right"><span class="fa fa-plus"></span></button>
</div>
<div class="section-body collapse in" id="resource-section-body">
<div class="api-resource">
<span>/apis/</span>
</div>
<div class="api-resource selected">
<span>/apis/</span><span class="path-param">{organizationId}</span><span>/</span><span class="path-param">{apiId}</span><span>/</span><span class="path-param">{version}</span>
<div class="api-operations">
<span class="label label-success selected" onclick="window.location = 'editor-resource.html'">GET</span>
<span class="label label-info" onclick="window.location = 'editor-resource-put.html'">PUT</span>
<span class="label label-danger" onclick="window.location = 'editor-resource-delete.html'">DELETE</span>
</div>
</div>
<div class="api-resource">
<span>/apis/</span><span class="path-param">{organizationId}</span><span>/</span><span class="path-param">{apiId}</span><span>/</span><span class="path-param">{version}</span><span>/path</span>
</div>
<div class="api-resource">
<span>/clients/</span>
</div>
<div class="api-resource">
<span>/clients/</span><span class="path-param">{organizationId}</span><span>/</span><span class="path-param">{apiId}</span><span>/</span><span class="path-param">{version}</span>
</div>
<div class="api-resource">
<span>/system/status</span>
</div>
</div>
</div>
<div class="section definition-section">
<div class="section-header">
<a data-toggle="collapse" data-target="#definition-section-body">
<span class="section-label">Definitions</span>
</a>
<button class="btn btn-sm btn-default pull-right"><span class="fa fa-plus"></span></button>
</div>
<div class="section-body collapse in" id="definition-section-body">
<div class="api-definition">
<span class="fa fa-fw fa-code"></span>
<span>Api</span>
</div>
<div class="api-definition" onclick="window.location = 'editor-definition.html'">
<span class="fa fa-fw fa-code"></span>
<span>NewApi</span>
</div>
<div class="api-definition">
<span class="fa fa-fw fa-code"></span>
<span>Client</span>
</div>
</div>
</div>
<!-- Responses Section -->
<div class="section response-section">
<div class="section-header">
<a class="collapsed" data-toggle="collapse" data-target="#response-section-body">
<span class="section-label">Responses</span>
</a>
<button class="btn btn-sm btn-default pull-right"><span class="fa fa-plus"></span></button>
</div>
<div class="section-body collapse" id="response-section-body">
<div class="api-response">
<span class="fa fa-fw fa-reply"></span>
<span>NotFound</span>
</div>
<div class="api-response">
<span class="fa fa-fw fa-reply"></span>
<span>IllegalInput</span>
</div>
<div class="api-response">
<span class="fa fa-fw fa-reply"></span>
<span>GeneralError</span>
</div>
</div>
</div>
</div>
</div>
<div class="editor-detail">
<div class="detail-title">
<div class="detail-label">
<span>/apis/</span><span class="path-param">{organizationId}</span><span>/</span><span class="path-param">{apiId}</span><span>/</span><span class="path-param">{version}</span>
<span class="label label-success selected">GET</span>
</div>
<div class="detail-actions">
<div class="dropdown">
<button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebab" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<span class="fa fa-ellipsis-v"></span>
</button>
<ul class="dropdown-menu " aria-labelledby="dropdownKebab">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
</div>
</div>
<div class="detail-tabs">
<ul class="nav nav-tabs nav-tabs-pf">
<li class="active"><a href="#">Design</a></li>
<li><a href="#">Source</a></li>
</ul>
</div>
<div class="detail-content">
<div class="api-resource-detail">
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="apipath-2-get">
<h1>
<span class="api-item-title">Get a Published API</span>
</h1>
<div class="resource-description api-item-description">
Returns information about a single published API. Required parameters include the organization id,
API id, and API version.
</div>
<div class="section query-paramters-section">
<div class="section-header">
<a data-toggle="collapse" data-target="#parameters-section-body">
<span class="section-label">QUERY PARAMETERS</span>
</a>
<button class="btn btn-sm btn-default pull-right"><span class="fa fa-plus"></span></button>
</div>
<div class="section-body collapse in" id="parameters-section-body">
<table class="table table-striped api-resource-parameters">
<tr>
<th>Parameter</th>
<th></th>
<th>Description</th>
<th>Type</th>
</tr>
<tr>
<td class="parameter">pretty</td>
<td class="icons">
<i class="fa fa-fw"></i> <!-- Not required -->
<i data-toggle="tooltip" title="Parameter found in: query" class="fa fa-fw fa-search-plus"></i>
</td>
<td class="description">Pretty print the response JSON.</td>
<td class="type">boolean</td>
</tr>
</table>
</div>
</div>
<div class="section responses-section">
<div class="section-header">
<a data-toggle="collapse" data-target="#responses-section-body">
<span class="section-label">RESPONSES</span>
</a>
<button class="btn btn-sm btn-default pull-right"><span class="fa fa-plus"></span></button>
</div>
<div class="section-body collapse in" id="responses-section-body">
<table class="table table-striped api-resource-responses">
<tr>
<th>Status Code</th>
<th>Description</th>
<th>Type</th>
</tr>
<tr>
<td class="parameter">200 OK</td>
<td class="description">Returns a published API.</td>
<td class="type"><a href="#">Api</a></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>