Is there some sort of maintenance going on right now?

Need help with your application? Ask here.
Post Reply
ramibitar96
Posts: 5
Joined: Thu Aug 02, 2018 12:19 am

Is there some sort of maintenance going on right now?

Post by ramibitar96 »

Hey so I was testing out some of code using the this api today but all I get as a result is this, whats going on?

Code: Select all

<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Swagger UI</title>
        <link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
        <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
        <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
        <style>
      html
      {
        box-sizing: border-box;
        overflow: -moz-scrollbars-vertical;
        overflow-y: scroll;
      }

      *,
      *:before,
      *:after
      {
        box-sizing: inherit;
      }

      body
      {
        margin:0;
        background: #fafafa;
      }
    </style>
    </head>
    <body>
        <div id="swagger-ui"></div>
        <script src="./swagger-ui-bundle.js"> </script>
        <script src="./swagger-ui-standalone-preset.js"> </script>
        <script>
    window.onload = function() {

      // Build a system
      const ui = SwaggerUIBundle({
        url: "https://api.thegamesdb.net/spec.json",
        dom_id: '#swagger-ui',
        deepLinking: true,
        presets: [
          SwaggerUIBundle.presets.apis,
          SwaggerUIStandalonePreset
        ],
        plugins: [
          SwaggerUIBundle.plugins.DownloadUrl
        ],
        layout: "StandaloneLayout"
      })

      window.ui = ui
    }
  </script>
    </body>
</html>

ramibitar96
Posts: 5
Joined: Thu Aug 02, 2018 12:19 am

Re: Is there some sort of maintenance going on right now?

Post by ramibitar96 »

The same code was working last night but here is the call I was making

Code: Select all

https://api.thegamesdb.net/Games/ByGameName?apikey=mykey&filter[platform]=0&include=boxart&fields=overview,rating,youtube&name=super&page=null

User avatar
Zer0xFF
Posts: 330
Joined: Fri Apr 20, 2018 9:18 am

Re: Is there some sort of maintenance going on right now?

Post by Zer0xFF »

Thanks for bring this to my attention, it should be working again now,
sorry, it was a mistake on my part, I was updating the documents and instead I pushed it over the api url instead.

Regards
Zer0xFF
Regards
Zer0xFF

Post Reply