Giter Site home page Giter Site logo

API version 2 about statuspage HOT 11 OPEN

TomasHurtz avatar TomasHurtz commented on July 18, 2024
API version 2

from statuspage.

Comments (11)

TomasHurtz avatar TomasHurtz commented on July 18, 2024

https://blog.uptimerobot.com/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017/

from statuspage.

TheModernFlash avatar TheModernFlash commented on July 18, 2024

Does API 1 currently work for you?

from statuspage.

TomasHurtz avatar TomasHurtz commented on July 18, 2024

Yes - the default install currently works fine for me - but what will happen when API v1 is retired?

from statuspage.

TheModernFlash avatar TheModernFlash commented on July 18, 2024

I was just wondering because API1 setup isn't working for me. You can see it at https://themodernflash.com/statuspage. P.S. Someone on here has created a statuspage.php file that is compatible with API2.

from statuspage.

TomasHurtz avatar TomasHurtz commented on July 18, 2024

not seen any api v2 reference - please elaborate.

edit - ah yes, now I see it here: #44

RE your page - is it vanilla instal ? If so, must be something on your server.

from statuspage.

TheModernFlash avatar TheModernFlash commented on July 18, 2024

What build are you using and what info did you have to change? I'm just gonna start all the way over, but I want to know what steps I need to take to make sure I do it correctly. Also, I'm glad you found it.

from statuspage.

TomasHurtz avatar TomasHurtz commented on July 18, 2024

I used public version here https://github.com/nerdbaggy/StatusPage/archive/v3.zip

I did not change anything - just add my API in config and it work for me.

from statuspage.

TheModernFlash avatar TheModernFlash commented on July 18, 2024

Which folder do I use or do I put that entire folder in the webserver? If I paste the entire folder in to my webserver, where is the location of the config file I need to change?

from statuspage.

TomasHurtz avatar TomasHurtz commented on July 18, 2024

I upload only the "build" folder to a hosting account on a server, then renamed the build folder to e.g. uptimestatus

Put uploaded folder in your public_html/ - example, in the root directory where your website index file is.

Then, modify config file to add your API key (get API key from UR settings page). Config file is in /build/statuspage/config.php

Save config file back to server then visit the statuspage index file via web browser.

Example, if you rename the "build" folder with uptimestatus, then point URL to yourdomain.com/uptimestatus/index.html

It should work.

from statuspage.

solaceten avatar solaceten commented on July 18, 2024

Anyone else still using this? It was good but now getting errors with phpfastcache

from statuspage.

solaceten avatar solaceten commented on July 18, 2024

OK - i found a fix for the PHP 8 issues:

In checks.php change the following:

$checks = $statusPage->getChecks ($_GET['action']));

to become:

if ($statusPage->getChecks ($_GET['action']) !== null){
    
    $checks = $statusPage->getChecks($_GET['action']);
    echo $statusPage->padIt(array('headers' => $tableHeaders, 'checks' => $checks));
} else {
    
    $checks = '';
    echo 'none';
}

Would be amazing to see this project updated... but I'm not a developer sadly.

from statuspage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.