API Request -> Maintenance Notification

felixbfelixb Registered Users Posts: 2 Beginner grinner
Can you create an apt function which notifies when the site is in maintenance mode? Thanks

Comments

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009
    how about just subscribing to the maint blog :D
    http://smugmug.wordpress.com

    RSS Feed.
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited August 23, 2009
    When the site is actually feeding pages, I return either 98 (service unavailable) or 99 (read-only mode), but when our network or load balancers are down for maintenance there isn't anything I can really do.
    David Parry
    SmugMug API Developer
    My Photos
  • FuzzytekFuzzytek Registered Users Posts: 39 Big grins
    edited March 12, 2010
    Maintenance / Down Mode Indicator
    felixb wrote:
    Can you create an apt function which notifies when the site is in maintenance mode? Thanks

    I see how having a widget that would be thumb.gif when uploads can happen and ne_nau.gif when service is in read-only mode would help. Perhaps another icon when service isn't even able to offer read mode :cry

    Then when you want to know if uploads are going as planned the widget will be a first indicator.
    Stephen Boyle - Fuzzytek Photography, LLC
    Capturing and creating fashion, film, festivals around Detroit
    Wordpress-ed Fuzzytek
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited March 12, 2010
    we have an api method for this...smugmug.service.ping

    it return errors when we are in read-only mode or service unavailable
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.