silverstripe/silverstripe-restfulserver — pull request #15 by hafriedlander (2013-07-04 21:59:56+00:00)
Title: FIX Defaulting to stage mode

If you exposed Page instances through RestfulServer, the default
Versioned stage would be Stage, rather than Live.

This isn't the cleanest possible way to do this, but it avoids introducing
new APIs into core. For 3.2 we should look into adding a general state
tracking API that includes some sort of initialisation hook.