File manager - Edit - /opt/flussonic/wwwroot/flu/api.html
Back
<!DOCTYPE html> <html> <head> <title>Redoc</title> <!-- needed for adaptive design --> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet"> <!-- Redoc doesn't change outer page styles --> <style> body { margin: 0; padding: 0; } </style> </head> <body> <script> function auth_credentials() { if(!window.localStorage) return undefined; if(!window.localStorage.MediaServerAuth) return undefined; var auth = JSON.parse(window.localStorage.MediaServerAuth); return auth; } window.onload = function() { var auth = auth_credentials(); if(!auth) { document.location.href = "/admin"; return; } // Begin Swagger UI call region const urlSearchParams = new URLSearchParams(window.location.search); const params = Object.fromEntries(urlSearchParams.entries()); const url = "/streamer/api/v3/schema?t="+((new Date()).getTime()) + (params.private ? "&private=true" : ""); let r = document.createElement("redoc"); r.setAttribute("spec-url", url); document.body.appendChild(r); let s = document.createElement("script"); s.setAttribute("src", "https://cdn.jsdelivr.net/npm/redoc@latest/bundles/redoc.standalone.js"); document.body.appendChild(s); }; </script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings