jellyfin/MediaBrowser.Server.Implementations/swagger-ui/index.html

81 lines
3.1 KiB
HTML
Raw Normal View History

2013-05-07 06:06:01 -07:00
<!DOCTYPE html>
2013-02-26 14:05:52 -07:00
<html>
<head>
<title>Swagger UI</title>
2013-05-07 06:06:01 -07:00
<link href='//fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'/>
<link href='css/hightlight.default.css' media='screen' rel='stylesheet' type='text/css'/>
2013-02-26 14:05:52 -07:00
<link href='css/screen.css' media='screen' rel='stylesheet' type='text/css'/>
2013-05-07 06:06:01 -07:00
<script src='lib/jquery-1.8.0.min.js' type='text/javascript'></script>
2013-02-26 14:05:52 -07:00
<script src='lib/jquery.slideto.min.js' type='text/javascript'></script>
<script src='lib/jquery.wiggle.min.js' type='text/javascript'></script>
<script src='lib/jquery.ba-bbq.min.js' type='text/javascript'></script>
2013-05-07 06:06:01 -07:00
<script src='lib/handlebars-1.0.rc.1.js' type='text/javascript'></script>
2013-02-26 14:05:52 -07:00
<script src='lib/underscore-min.js' type='text/javascript'></script>
<script src='lib/backbone-min.js' type='text/javascript'></script>
<script src='lib/swagger.js' type='text/javascript'></script>
<script src='swagger-ui.js' type='text/javascript'></script>
2013-05-07 06:06:01 -07:00
<script src='lib/highlight.7.3.pack.js' type='text/javascript'></script>
2013-02-26 14:05:52 -07:00
<script type="text/javascript">
2013-05-07 06:06:01 -07:00
$(function () {
window.swaggerUi = new SwaggerUi({
2013-06-18 02:48:49 -07:00
discoveryUrl:"../resources",
2013-05-07 06:06:01 -07:00
apiKey:"special-key",
2013-02-26 14:05:52 -07:00
dom_id:"swagger-ui-container",
supportHeaderParams: false,
2013-05-07 06:06:01 -07:00
supportedSubmitMethods: ['get', 'post', 'put'],
onComplete: function(swaggerApi, swaggerUi){
if(console) {
console.log("Loaded SwaggerUI")
console.log(swaggerApi);
console.log(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"
2013-02-26 14:05:52 -07:00
});
window.swaggerUi.load();
});
</script>
</head>
<body>
<div id='header'>
<div class="swagger-ui-wrap">
<a id="logo" href="http://swagger.wordnik.com">swagger</a>
<form id='api_selector'>
<div class='input icon-btn'>
<img id="show-pet-store-icon" src="images/pet_store_api.png" title="Show Swagger Petstore Example Apis">
</div>
<div class='input icon-btn'>
<img id="show-wordnik-dev-icon" src="images/wordnik_api.png" title="Show Wordnik Developer Apis">
</div>
<div class='input'><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl"
type="text"/></div>
<div class='input'><input placeholder="api_key" id="input_apiKey" name="apiKey" type="text"/></div>
<div class='input'><a id="explore" href="#">Explore</a></div>
</form>
</div>
</div>
<div id="message-bar" class="swagger-ui-wrap">
&nbsp;
</div>
<div id="swagger-ui-container" class="swagger-ui-wrap">
</div>
</body>
</html>