Skip to content

Endpoints description

pangw edited this page Sep 19, 2014 · 4 revisions
    GET     /oauth2/authorize (com.hello.suripu.app.resources.OAuthResource)
    POST    /oauth2/token (com.hello.suripu.app.resources.OAuthResource)
    GET     /account (com.hello.suripu.app.resources.AccountResource)
    POST    /account (com.hello.suripu.app.resources.AccountResource)
    PUT     /account (com.hello.suripu.app.resources.AccountResource)
    GET     /history (com.hello.suripu.app.resources.HistoryResource)
    GET     /history/grouped/{num_days} (com.hello.suripu.app.resources.HistoryResource)
    GET     /history/{days} (com.hello.suripu.app.resources.HistoryResource)
    POST    /history (com.hello.suripu.app.resources.HistoryResource)
    GET     /applications/{dev_account_id} (com.hello.suripu.app.resources.ApplicationResource)
    POST    /applications (com.hello.suripu.app.resources.ApplicationResource)
    GET     /score (com.hello.suripu.app.resources.ScoreResource)
    GET     /score/recent (com.hello.suripu.app.resources.ScoreResource)
    GET     /score/{num_days} (com.hello.suripu.app.resources.ScoreResource)
    GET     /sleep/get (com.hello.suripu.app.resources.SleepLabelResource)
    POST    /sleep/save (com.hello.suripu.app.resources.SleepLabelResource)
    GET     /room/current (com.hello.suripu.app.resources.RoomConditionsResource)
    POST    /v1/timezone (com.hello.suripu.app.resources.v1.TimeZoneResource)