Designing REST API

Foursquare App

  • What happens when
    • new user runs the app
    • existing user launches it
    • new user visits the web page
    • when a merchant logs into the web site #### NEST Thermostat
  • What happens when
    • A new thermostat is installed for the first time?
    • A thermostat runs day to day
    • A user changes the temperature on the thermostat
    • A user runs the NEST app