1<!DOCTYPE html> 2<html> 3<head> 4 <title>inwise</title> 5 <link rel="icon" type="image/png" href="images/favicon-32x32-png" sizes="32x32" /> 6 <link rel="icon" type="image/png" href="images/favicon-16x16-png" sizes="16x16" /> 7 <link href='css/typography-css' media='screen' rel='stylesheet' type='text/css'/> 8 <link href='css/reset-css' media='screen' rel='stylesheet' type='text/css'/> 9 <link href='css/screen-css' media='screen' rel='stylesheet' type='text/css'/> 10 <link href='css/reset-css' media='print' rel='stylesheet' type='text/css'/> 11 <link href='css/print-css' media='print' rel='stylesheet' type='text/css'/> 12 <link href='ext/Inwise-WebApi-SwaggerExtensions-iw-custom-css' media='screen' rel='stylesheet' type='text/css' /> 13 14
14<script src='lib/jquery-1-8-0-min-js' type='text/javascript'></script>
14 15
15<script src='lib/jsoneditor-min-js' type='text/javascript'></script>
15 16
16<script src='lib/jquery-slideto-min-js' type='text/javascript'></script>
16 17
17<script src='lib/jquery-wiggle-min-js' type='text/javascript'></script>
17 18
18<script src='lib/jquery-ba-bbq-min-js' type='text/javascript'></script>
18 19
19<script src='lib/handlebars-2-0-0-js' type='text/javascript'></script>
19 20
20<script src='lib/underscore-min-js' type='text/javascript'></script>
20 21
21<script src='lib/backbone-min-js' type='text/javascript'></script>
21 22
22<script src='swagger-ui-js' type='text/javascript'></script>
22 23
23<script src='lib/highlight-7-3-pack-js' type='text/javascript'></script>
23 24
24<script src='lib/marked-js' type='text/javascript'></script>
24 25 26
26<script src='lib/swagger-oauth-js' type='text/javascript'></script>
26 27 28
28<script type="text/javascript"> 29 $(function () { 30 var url = window.location.search.match(/url=([^&]+)/); 31 if (url && url.length > 1) { 32 url = decodeURIComponent(url[1]); 33 } else { 34 url = "http://petstore.swagger.io/v2/swagger.json"; 35 } 36 37 // Get Swashbuckle config into JavaScript 38 function arrayFrom(configString) { 39 return (configString !== "") ? configString.split('|') : []; 40 } 41 42 function stringOrNullFrom(configString) { 43 return (configString !== "null") ? configString : null; 44 } 45 46 window.swashbuckleConfig = { 47 rootUrl: 'https://api.inwise.com:443/rest/v1', 48 discoveryPaths: arrayFrom('v1'), 49 booleanValues: arrayFrom('true|false'), 50 validatorUrl: stringOrNullFrom(''), 51 customScripts: arrayFrom(''), 52 docExpansion: 'none', 53 oAuth2Enabled: ('false' == 'true'), 54 oAuth2ClientId: '', 55 oAuth2Realm: '', 56 oAuth2AppName: '' 57 }; 58 59 window.swaggerUi = new SwaggerUi({ 60 url: swashbuckleConfig.rootUrl + "/" + swashbuckleConfig.discoveryPaths[0], 61 dom_id: "swagger-ui-container", 62 booleanValues: swashbuckleConfig.booleanValues, 63 onComplete: function (swaggerApi, swaggerUi) { 64 if (typeof initOAuth == "function" && swashbuckleConfig.oAuth2Enabled) { 65 initOAuth({ 66 clientId: swashbuckleConfig.oAuth2ClientId, 67 realm: swashbuckleConfig.oAuth2Realm, 68 appName: swashbuckleConfig.oAuth2AppName 69 }); 70 } 71 $('pre code').each(function (i, e) { 72 hljs.highlightBlock(e) 73 }); 74 75 addApiKeyAuthorization(); 76 77 window.swaggerApi = swaggerApi; 78 _.each(swashbuckleConfig.customScripts, function (script) { 79 $.getScript(script); 80 }); 81 }, 82 onFailure: function (data) { 83 log("Unable to Load SwaggerUI"); 84 }, 85 docExpansion: swashbuckleConfig.docExpansion, 86 sorter: "alpha" 87 }); 88 89 if (window.swashbuckleConfig.validatorUrl !== '') 90 window.swaggerUi.options.validatorUrl = window.swashbuckleConfig.validatorUrl; 91 92 function addApiKeyAuthorization() { 93 var key = encodeURIComponent($('#input_apiKey')[0].value); 94 if (key && key.trim() != "") { 95 var apiKeyAuth = new SwaggerClient.ApiKeyAuthorization("X-API-Key", key, "header"); 96 window.swaggerUi.api.clientAuthorizations.add("X-API-Key", apiKeyAuth); 97 log("added key " + key); 98 } 99 } 100 101 $('#input_apiKey').change(addApiKeyAuthorization); 102 103 // if you have an apiKey you would like to pre-populate on the page for demonstration purposes... 104 /* 105 var apiKey = "myApiKeyXXXX123456789"; 106 $('#input_apiKey').val(apiKey); 107 addApiKeyAuthorization(); 108 */ 109 110 window.swaggerUi.load(); 111 112 function log() { 113 if ('console' in window) { 114 console.log.apply(console, arguments); 115 } 116 } 117 }); 118 </script>
118 119</head> 120 121<body class="swagger-section"> 122<div id='header'> 123 <div class="swagger-ui-wrap"> 124 <a id="logo" href="https://api.inwise.com/rest/v1/docs/index#!">inwise</a> 125 <form id='api_selector'> 126 <div class='input'><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl" type="text"/></div> 127 <div class='input'><input placeholder="X-API-Key" id="input_apiKey" name="apiKey" type="text"/></div> 128 <div class='input'><a id="explore" href="#">Explore</a></div> 129 </form> 130 </div> 131</div> 132 133<div id="message-bar" class="swagger-ui-wrap"> </div> 134<div id="swagger-ui-container" class="swagger-ui-wrap"></div> 135</body> 136</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.