Started documenting the API we now have swagger under ~/apidocs

#222 #205
This commit is contained in:
tidusjar 2016-05-19 13:15:46 +01:00
commit 9b4ae2c486
29 changed files with 31364 additions and 9 deletions

View file

@ -0,0 +1,20 @@
<script>
var qp = null;
if(window.location.hash) {
qp = location.hash.substring(1);
}
else {
qp = location.search.substring(1);
}
qp = qp ? JSON.parse('{"' + qp.replace(/&/g, '","').replace(/=/g,'":"') + '"}',
function(key, value) {
return key===""?value:decodeURIComponent(value) }
):{}
if (window.opener.swaggerUi.tokenUrl)
window.opener.processOAuthCode(qp);
else
window.opener.onOAuthComplete(qp);
window.close();
</script>