forked from timlanedev/api-offices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (76 loc) · 4.47 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Offices API</title>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="http://api.gsa.apievangelist.com/templates/tactile/stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="http://api.gsa.apievangelist.com/templates/tactile/stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="http://api.gsa.apievangelist.com/templates/tactile/stylesheets/print.css" media="print" />
<link href="http://api.gsa.apievangelist.com/css/bootstrap-responsive.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="http://api.gsa.apievangelist.com/css/swagger.css" media="screen" />
<link rel="stylesheet" type="text/css" href="http://api.gsa.apievangelist.com/css/hightlight.default.css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script src='http://api.gsa.apievangelist.com/js/shred.bundle.js' type='text/javascript' /></script>
<script src='http://api.gsa.apievangelist.com/js/jquery-1.8.0.min.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/jquery.slideto.min.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/jquery.wiggle.min.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/jquery.ba-bbq.min.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/handlebars-1.0.rc.1.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/underscore-min.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/backbone-min.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/swagger.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/swagger-ui.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/highlight.7.3.pack.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/mustache.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/injector.js' type='text/javascript'></script>
<script src='http://api.gsa.apievangelist.com/js/utilities.js' type='text/javascript'></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">
var $Path = '/swagger/simple-api/api-offices/api.json';
$(function () {
window.swaggerUi = new SwaggerUi({
url: "http://api.gsa.apievangelist.com" + $Path,
dom_id: "swagger-ui-container",
supportedSubmitMethods: ['get', 'post', 'put', 'delete'],
onComplete: function(swaggerApi, swaggerUi){
if(console) {
console.log("Loaded SwaggerUI")
}
$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
},
onFailure: function(data) {
if(console) {
console.log("Unable to Load SwaggerUI");
console.log(data);
}
},
docExpansion: "none"
});
window.swaggerUi.load();
});
</script>
</head>
<body>
<div id="container">
<div class="inner">
<header>
<h1>Offices API</h1>
<h2>This is a <a href="http://simple-api.github.io/central/">simple api</a> for offices.</h2>
</header>
<section id="main_content">
<div class="swagger-shell" style="width: 600px;">
<div id="swagger-ui-container" class="swagger-ui-wrap"></div>
</div>
</section>
<footer>
Offices API is maintained by <a href="https://github.com/kinlane">kinlane</a><br>
This page was generated by <a href="http://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
</footer>
</div>
</div>
</body>
</html>